提交 b1875f27 编写于 作者: E Evgeny Fradkin

#3219 Mock Data main menu item is restored


Former-commit-id: 75d61e94
上级 a95581e7
......@@ -2150,6 +2150,8 @@
<visibleWhen checkEnabled="true"/>
</command>
<separator name="generate" visible="false"/>
<menu label="%menu.database.sql.generate" icon="icons/misc/sql.png">
<visibleWhen>
<with variable="activePart">
......
......@@ -7,6 +7,17 @@
<extension point="org.eclipse.ui.handlers">
<handler commandId="org.jkiss.dbeaver.ext.mockdata.button" class="org.jkiss.dbeaver.ext.mockdata.handlers.MockDataHandler" />
<handler commandId="org.jkiss.dbeaver.ext.mockdata.forSelection" class="org.jkiss.dbeaver.ext.mockdata.handlers.MockDataHandler">
<enabledWhen>
<with variable="selection">
<count value="+"/>
<iterate operator="and">
<adapt type="org.jkiss.dbeaver.model.struct.DBSDataContainer"/>
</iterate>
</with>
</enabledWhen>
</handler>
</extension>
<extension point="org.jkiss.dbeaver.tools">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册