提交 99f626c2 编写于 作者: J jurgen

Txn toolbar visibility

上级 32cbc95f
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
</with> </with>
</definition> </definition>
<definition id="org.jkiss.dbeaver.core.ui.datasource.part"> <definition id="org.jkiss.dbeaver.core.ui.datasource.part">
<with variable="activePart"> <with variable="activeEditor">
<instanceof value="org.jkiss.dbeaver.model.DBPContextProvider"/> <instanceof value="org.jkiss.dbeaver.model.DBPContextProvider"/>
</with> </with>
</definition> </definition>
...@@ -1257,7 +1257,7 @@ ...@@ -1257,7 +1257,7 @@
<!-- Database menu --> <!-- Database menu -->
<menuContribution allPopups="false" locationURI="menu:org.eclipse.ui.main.menu?before=window"> <menuContribution allPopups="false" locationURI="menu:org.eclipse.ui.main.menu?before=window">
<menu id="dataSourceMenu" label="%menu.database"> <menu id="dataSourceMenu" label="%menu.database">
<visibleWhen><reference definitionId="DBeaverPerspectiveActive"/></visibleWhen> <!--<visibleWhen><reference definitionId="org.jkiss.dbeaver.core.ui.datasource.part"/></visibleWhen>-->
<separator name="driverGroup" visible="true"/> <separator name="driverGroup" visible="true"/>
<command commandId="org.jkiss.dbeaver.core.driver.manager"/> <command commandId="org.jkiss.dbeaver.core.driver.manager"/>
...@@ -1523,7 +1523,6 @@ ...@@ -1523,7 +1523,6 @@
<!-- SQL editor menu --> <!-- SQL editor menu -->
<menuContribution allPopups="false" locationURI="menu:org.eclipse.ui.main.menu?after=additions"> <menuContribution allPopups="false" locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu id="SQLEditorMenu" label="%menu.sqleditor"> <menu id="SQLEditorMenu" label="%menu.sqleditor">
<visibleWhen><reference definitionId="DBeaverPerspectiveActive"/></visibleWhen>
<command commandId="org.jkiss.dbeaver.core.sql.editor.open"/> <command commandId="org.jkiss.dbeaver.core.sql.editor.open"/>
<command commandId="org.jkiss.dbeaver.core.sql.editor.create"/> <command commandId="org.jkiss.dbeaver.core.sql.editor.create"/>
<separator name="execute" visible="true"/> <separator name="execute" visible="true"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册