提交 aa4aec5d 编写于 作者: S Serge Rider

ValueViewPanel fixes & actions

上级 bcc24179
......@@ -1261,11 +1261,6 @@
</enabledWhen>
</handler>
<handler commandId="org.jkiss.dbeaver.core.resultset.cell.save" class="org.jkiss.dbeaver.ui.controls.resultset.panel.ValueViewCommandHandler">
<activeWhen>
<with variable="activeFocusControlId">
<equals value="org.jkiss.dbeaver.ui.resultset.panel.valueView"/>
</with>
</activeWhen>
<enabledWhen>
<with variable="activePart">
<test property="org.jkiss.dbeaver.core.resultset.panel.valueView.active"/>
......
......@@ -335,7 +335,7 @@ public class ViewValuePanel implements IResultSetPanel {
}
contributionManager.add(
ActionUtils.makeCommandContribution(presentation.getController().getSite(), ITextEditorActionDefinitionIds.SMART_ENTER, "Save cell value", UIIcon.SAVE));
ActionUtils.makeCommandContribution(presentation.getController().getSite(), ValueViewCommandHandler.CMD_SAVE_VALUE));
contributionManager.add(
new Action("Auto-save value", Action.AS_CHECK_BOX) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册