MySQL Workbench main_menu.xml 文件 可直接粘贴(下)

本文详细解析了MySQLWorkbench的主菜单配置,包括整理、模型、查询、工具和帮助等部分,涵盖了数据库连接、模型创建、SQL编辑、服务器管理和帮助资源等多个方面,揭示了MySQLWorkbench在数据库管理中的强大功能和便捷操作。
摘要由CSDN通过智能技术生成

MySQL Workbench main_menu.xml 文件 耗时2小时翻译可直接粘贴

由于字数限制本文章分为两篇上,下可以用notepad打开合并使用

<!-- Arrange Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange">
            <value type="string" key="name">arrange</value>
            <value type="string" key="caption">_整理</value>
            <value type="string" key="itemType">cascade</value>
            <value type="string" key="context">*model</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.grid_align">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">grid_align</value>
                    <value type="string" key="command">plugin:wb.edit.toggleGridAlign</value>
                    <value type="string" key="itemType">check</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.arrange.grid_align">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.raise_selection">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">raise_selection</value>
                    <value type="string" key="command">plugin:wb.edit.raiseSelection</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+F</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.lower_selection">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">lower_selection</value>
                    <value type="string" key="command">plugin:wb.edit.lowerSelection</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+B</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.arrange.lower">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.center">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">center</value>
                    <value type="string" key="command">plugin:wb.model.center</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.autolayout">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="caption">自动布局</value>
                    <value type="string" key="name">autolayout</value>
                    <value type="string" key="command">plugin:wb.model.autolayout</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.arrange.fit">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.fit">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">fitObjects</value>
                    <value type="string" key="command">plugin:wb.model.fitObjectsToContents</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.arrange.expand">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.expand">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">expandAllObjects</value>
                    <value type="string" key="caption">全部展开</value>
                    <value type="string" key="command">plugin:wb.model.expandAllObjects</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.arrange.collapse">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.arrange</link>
                    <value type="string" key="name">collapseAllObjects</value>
                    <value type="string" key="caption">全部折叠</value>
                    <value type="string" key="command">plugin:wb.model.collapseAllObjects</value>
                    <value type="string" key="itemType">action</value>
                </value>
            </value>
        </value>
         
        <!-- Model Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model">
            <value type="string" key="name">model</value>
            <value type="string" key="caption">_模型</value>
            <value type="string" key="itemType">cascade</value>
            <value type="string" key="context">*model</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.newdiag">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="caption">添加图</value>
                    <value type="string" key="name">wb.model.newDiagram</value>
                    <value type="string" key="command">plugin:wb.model.newDiagram</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+T</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.autoplace">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="caption">从目录对象创建图</value>
                    <value type="string" key="name">createDiagramWithCatalog</value>
                    <value type="string" key="command">plugin:wb.model.createDiagramWithCatalog</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.stuff">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.udt">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="caption">用户定义的类型...</value>
                    <value type="string" key="name">udtedit</value>
                    <value type="string" key="command">plugin:wb.form.showUserTypeEditor</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.templs">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="caption">表模板...</value>
                    <value type="string" key="name">tabletempls</value>
                    <value type="string" key="command">plugin:wb.table.util.openTableTemplateEditor</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.udt/SE">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.reporting/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="caption">DBDoc - 模型报告...</value>
                    <value type="string" key="name">report</value>
                    <value type="string" key="command">plugin:wb.model.plugin.reporting</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.valid/SE">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">validation</value>
                    <value type="string" key="caption">验证</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateAll/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">验证所有</value>
                            <value type="string" key="name">all_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:All</value>
                            <value type="string" key="itemType">action</value>
                            <value type="string" key="shortcut">Modifier+Alt+V</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.view.sep/SE">
                            <value type="string" key="itemType">separator</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateEmptyContent/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">检查空的内容</value>
                            <value type="string" key="name">empty_content_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:EmptyContent</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateTableEfficiency/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">检查表的效率</value>
                            <value type="string" key="name">empty_content_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:TableEfficiency</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateDuplicateIdentifiers/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">检查重复的标识符</value>
                            <value type="string" key="name">empty_content_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:DuplicateIdentifiers</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateConsistency/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">检查的一致性</value>
                            <value type="string" key="name">empty_content_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:Consistency</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateLogic/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation/SE</link>
                            <value type="string" key="caption">检查逻辑错误</value>
                            <value type="string" key="name">empty_content_validation</value>
                            <value type="string" key="command">plugin:db.plugin.wb.validate:Logic</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                    </value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation_mysql/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">validation_mysql</value>
                    <value type="string" key="caption">验证 (MySQL)</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validationmysql.validateAll/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation_mysql/SE</link>
                            <value type="string" key="caption">验证所有</value>
                            <value type="string" key="name">all_validation_mysql</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.wb.validate:All</value>
                            <value type="string" key="itemType">action</value>
                            <value type="string" key="shortcut">Modifier+Alt+B</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.view.sep/SE">
                            <value type="string" key="itemType">separator</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateIntegrity/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation_mysql/SE</link>
                            <value type="string" key="caption">检查完整性</value>
                            <value type="string" key="name">integrity_validation</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.wb.validate:Integrity</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateSyntax/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation_mysql/SE</link>
                            <value type="string" key="caption">检查语法</value>
                            <value type="string" key="name">syntax_validation</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.wb.validate:Syntax</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.validation.validateDuplicatesAdditions/SE">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.validation_mysql/SE</link>
                            <value type="string" key="caption">检查重复的标识符 (Additions)</value>
                            <value type="string" key="name">duplicate_identifiers_add_validation</value>
                            <value type="string" key="command">plugin:db.mysql.plugin.wb.validate:DuplicatesAdditions</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                    </value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.validation">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.fnotation">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">fnotation</value>
                    <value type="string" key="caption">评价</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.visualization.table_default">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.fnotation</link>
                            <value type="string" key="name">figure_notation_wb</value>
                            <value type="string" key="caption">Workbench (Default)</value>
                            <value type="string" key="command">plugin:wb.view.setFigureNotation:workbench/default</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.visualization.table_simple">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.fnotation</link>
                            <value type="string" key="caption">Workbench (Simplified)</value>
                            <value type="string" key="command">plugin:wb.view.setFigureNotation:workbench/simple</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.visualization.table_pkonly">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.fnotation</link>
                            <value type="string" key="caption">Workbench (PKs and FKs Only)</value>
                            <value type="string" key="command">plugin:wb.view.setFigureNotation:workbench/pkonly</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.visuwb">
                            <value type="string" key="itemType">separator</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.fnotation.classic">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.fnotation</link>
                            <value type="string" key="name">figure_notation_classic</value>
                            <value type="string" key="caption">Classic</value>
                            <value type="string" key="command">plugin:wb.view.setFigureNotation:classic</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.fnotation.idef1x">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.fnotation</link>
                            <value type="string" key="name">figure_notation_idef1x</value>
                            <value type="string" key="caption">IDEF1X</value>
                            <value type="string" key="command">plugin:wb.view.setFigureNotation:idef1x</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                    </value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">rnotation</value>
                    <value type="string" key="caption">Relationship Notation</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation.crows_feet">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.rnotation</link>
                            <value type="string" key="name">visualization_notation_crows_feet</value>
                            <value type="string" key="caption">Crow's Foot (IE)</value>
                            <value type="string" key="command">plugin:wb.view.setRelationshipNotation:crowsfoot</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation.classic">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.rnotation</link>
                            <value type="string" key="name">visualization_notation_classic</value>
                            <value type="string" key="caption">Classic</value>
                            <value type="string" key="command">plugin:wb.view.setRelationshipNotation:classic</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation.fromcolumn">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.rnotation</link>
                            <value type="string" key="name">visualization_notation_fromcolumn</value>
                            <value type="string" key="caption">Connect to Columns</value>
                            <value type="string" key="command">plugin:wb.view.setRelationshipNotation:fromcolumn</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation.uml">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.rnotation</link>
                            <value type="string" key="name">visualization_notation_uml</value>
                            <value type="string" key="caption">UML</value>
                            <value type="string" key="command">plugin:wb.view.setRelationshipNotation:uml</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.rnotation.idef1x">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model.rnotation</link>
                            <value type="string" key="name">visualization_notation_idef1x</value>
                            <value type="string" key="caption">IDEF1X</value>
                            <value type="string" key="command">plugin:wb.view.setRelationshipNotation:idef1x</value>
                            <value type="string" key="itemType">radio</value>
                        </value>
                    </value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.model.options">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.diagramoptions">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">diagram_size</value>
                    <value type="string" key="caption">图属性和大小...</value>
                    <value type="string" key="command">builtin:diagram_size</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.optionsmac">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">model_options</value>
                    <value type="string" key="caption">模型选项...</value>
                    <value type="string" key="command">plugin:wb.form.showModelOptions</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Command+Alternate+,</value>
                    <value type="string" key="platform">macosx</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.model.options">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.model</link>
                    <value type="string" key="name">model_options</value>
                    <value type="string" key="caption">模型选项...</value>
                    <value type="string" key="command">plugin:wb.form.showModelOptions</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="platform">windows,linux</value>
                </value>
            </value>
        </value>
         
        <!-- SQL Editor Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query">
            <value type="string" key="context">dbquery</value>
            <value type="string" key="name">query</value>
            <value type="string" key="caption">_查询</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.exec">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">执行全部或执行选中</value>
                    <value type="string" key="name">query.execute</value>
                    <value type="string" key="command">builtin:query.execute</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+Return</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.exec_to_text">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">执行全部或执行选中至文本</value>
                    <value type="string" key="name">wb.sqlide.executeToTextOutput</value>
                    <value type="string" key="command">plugin:wb.sqlide.executeToTextOutput</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.execute_current_statementwin">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">执行当前语句</value>
                    <value type="string" key="name">query.execute_current_statement</value>
                    <value type="string" key="command">builtin:query.execute_current_statement</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Return</value>
                    <value type="string" key="platform">windows</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.execute_current_statement">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">执行当前语句</value>
                    <value type="string" key="name">query.execute_current_statement</value>
                    <value type="string" key="command">builtin:query.execute_current_statement</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Return</value>
                    <value type="string" key="platform">macosx,linux</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.vertical_EditorBox">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">执行当前语句(垂直文本输出)</value>
                    <value type="string" key="name">query.vertical_EditorBox</value>
                    <value type="string" key="command">plugin:wb.sqlide.verticalOutput</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Alt+Return</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.explsep">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.explain_current_statement">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">解释当前语句</value>
                    <value type="string" key="name">query.explain_current_statement</value>
                    <value type="string" key="command">builtin:query.explain_current_statement</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Alt+X</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.stopsep">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.stop">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">_停止</value>
                    <value type="string" key="name">query.cancel</value>
                    <value type="string" key="command">builtin:query.cancel</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.stop_on_error">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">在错误处停止执行脚本</value>
                    <value type="string" key="name">query.continueOnError</value>
                    <value type="string" key="command">builtin:query.continueOnError</value>
                    <value type="string" key="itemType">check</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.run">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.limit">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="name">limit_rows</value>
                    <value type="string" key="caption">限行</value>
                    <value type="string" key="itemType">cascade</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.gather_ps_info">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.file</link>
                    <value type="string" key="name">query.gatherPSInfo</value>
                    <value type="string" key="caption">收集性能模式统计数据</value>
                    <value type="string" key="command">builtin:query.gatherPSInfo</value>
                    <value type="string" key="itemType">check</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.tx">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.reconnect">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">_重新连接服务器</value>
                    <value type="string" key="name">query.reconnect</value>
                    <value type="string" key="command">builtin:query.reconnect</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.new_tab">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">_新建当前服务器标签页</value>
                    <value type="string" key="name">query.newtab</value>
                    <value type="string" key="command">builtin:query.new_connection</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+T</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.rec">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.autocommit">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">自动提交事务</value>
                    <value type="string" key="name">query.autocommit</value>
                    <value type="string" key="command">builtin:query.autocommit</value>
                    <value type="string" key="itemType">check</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.commit">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">提交事务</value>
                    <value type="string" key="name">query.commit</value>
                    <value type="string" key="command">builtin:query.commit</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.rollback">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">_回滚事务</value>
                    <value type="string" key="name">query.rollback</value>
                    <value type="string" key="command">builtin:query.rollback</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.edit">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.save">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">提交结果编辑</value>
                    <value type="string" key="name">query.save_edits</value>
                    <value type="string" key="command">builtin:query.save_edits</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.revert">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">丢弃结果编辑</value>
                    <value type="string" key="name">query.discard_edits</value>
                    <value type="string" key="command">builtin:query.discard_edits</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.query.export">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.query.export">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.query</link>
                    <value type="string" key="caption">_导出结果...</value>
                    <value type="string" key="name">query.export</value>
                    <value type="string" key="command">builtin:query.export</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut"/>
                </value>
            </value>
        </value>
         
        <!-- Database Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database">
            <value type="string" key="name">database</value>
            <value type="string" key="caption">_数据库</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.query">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">连接数据库...</value>
                    <value type="string" key="name">db_sql_editor</value>
                    <value type="string" key="command">plugin:wb.form.showQueryConnectDialog</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+U</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.view.query">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.manage_connections">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">连接管理...</value>
                    <value type="string" key="name">manage_connections</value>
                    <value type="string" key="command">plugin:wb.form.showInstanceManager</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.view.dbedit">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.new_from_reverse_engineering">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">逆向工程...</value>
                    <value type="string" key="name">reverse_engineer_new_model</value>
                    <value type="string" key="command">plugin:wb.file.newDocumentFromDB</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+R</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.forward_engineering">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">正向工程...</value>
                    <value type="string" key="name">forward_engineering</value>
                    <value type="string" key="command">plugin:db.plugin.database.frw_eng</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+G</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.mig0">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.dbcopy">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">模式转换向导...</value>
                    <value type="string" key="name">dbcopy</value>
                    <value type="string" key="command">plugin:wb.db.copy.open</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.migrate">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">迁移向导...</value>
                    <value type="string" key="name">migration</value>
                    <value type="string" key="command">plugin:wb.migration.open</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.migtypemap">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">为泛型迁移编辑类型映射...</value>
                    <value type="string" key="name">typemap</value>
                    <value type="string" key="command">plugin:wb.migration.showTypeMapEditor</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.mig">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.sync_mysql_script_mac">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">同步模式...</value>
                    <value type="string" key="name">synchronization</value>
                    <value type="string" key="command">plugin:db.mysql.plugin.sync.db</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Control+Y</value>
                    <value type="string" key="platform">macosx</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.sync_mysql_script">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">同步模式...</value>
                    <value type="string" key="name">synchronization</value>
                    <value type="string" key="command">plugin:db.mysql.plugin.sync.db</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+Z</value>
                    <value type="string" key="platform">windows,linux</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.sync_alter">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">与任何来源同步...</value>
                    <value type="string" key="name">create_alter</value>
                    <value type="string" key="command">plugin:db.plugin.database.create_alter</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+Y</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.view.database.diff_report">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.diff_report">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="caption">比较模式...</value>
                    <value type="string" key="name">diff_reporting</value>
                    <value type="string" key="command">plugin:db.mysql.plugin.diff_report.catalog</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="context">*model</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.search">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="context">*query</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.database.search">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.database</link>
                    <value type="string" key="context">*query</value>
                    <value type="string" key="caption">搜索表数据...</value>
                    <value type="string" key="name">db_search</value>
                    <value type="string" key="command">plugin:com.mysql.wb.menu.database.search</value>
                    <value type="string" key="itemType">action</value>
                </value>
            </value>
        </value>
         
        <!-- Server Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server">
            <value type="string" key="name">server</value>
            <value type="string" key="context">*query</value>
            <value type="string" key="caption">_服务器</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.server_status">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">服务器状态</value>
                    <value type="string" key="name">admin_server_status</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_server_status</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.clients">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">客户端连接</value>
                    <value type="string" key="name">admin_connections</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_connections</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.users">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">用户和权限</value>
                    <value type="string" key="name">admin_manage_privs</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_manage_privs</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.variables">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">状态和系统变量</value>
                    <value type="string" key="name">admin_status_vars</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_status_vars</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.export">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">数据导出</value>
                    <value type="string" key="name">admin_export</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_export</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.import">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">数据导入</value>
                    <value type="string" key="name">admin_restore_data</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_restore_data</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.instance">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.startup">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">启动/关闭</value>
                    <value type="string" key="name">admin_start_stop</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_start_stop</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.logs">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">服务器日志</value>
                    <value type="string" key="name">admin_server_logs</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_server_logs</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.options">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">选项文件</value>
                    <value type="string" key="name">admin_option_file</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_option_file</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.performance">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.dashboard">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">仪表盘</value>
                    <value type="string" key="name">admin_dashboard</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_dashboard</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.pf.reports">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">性能报告</value>
                    <value type="string" key="name">admin_performance_reports</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_performance_reports</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.pf.reports.setup">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">性能模式设置</value>
                    <value type="string" key="name">admin_instrumentation_setup</value>
                    <value type="string" key="command">plugin:wb.admin.open_into:admin_instrumentation_setup</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.se/SE">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.audit/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">审计日志检查</value>
                    <value type="string" key="name">admin_audit_inspector</value>
                    <value type="string" key="command">plugin:wb.admin.open_into_se:admin_audit_inspector</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.firewall/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">防火墙</value>
                    <value type="string" key="name">admin_firewall</value>
                    <value type="string" key="command">plugin:wb.admin.open_into_se:admin_firewall</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.meb/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">MySQL企业备份</value>
                    <value type="string" key="name">admin_meb_backup</value>
                    <value type="string" key="command">plugin:wb.admin.open_into_se:admin_meb_backup</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.mebrec/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">备份恢复</value>
                    <value type="string" key="name">admin_meb_restore</value>
                    <value type="string" key="command">plugin:wb.admin.open_into_se:admin_meb_restore</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.settings">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.settings">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">访问管理设置...</value>
                    <value type="string" key="name">mg_settings</value>
                    <value type="string" key="command">plugin:wb.admin.settings</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.server.reset_passwords">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.server</link>
                    <value type="string" key="caption">重置保存的连接密码</value>
                    <value type="string" key="name">mg_reset_pwd</value>
                    <value type="string" key="command">plugin:wb.admin.reset_password_cache</value>
                    <value type="string" key="itemType">action</value>
                </value>
            </value>
        </value>
         
        <!-- Plugins Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.plugins">
            <value type="string" key="name">plugins</value>
            <value type="string" key="caption">_工具</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.plugins.browse_audit/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.plugins</link>
                    <value type="string" key="caption">浏览审计日志文件...</value>
                    <value type="string" key="name">browse_audit</value>
                    <value type="string" key="command">call:WbAdmin.openAuditFile</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.plugins.browse_audit/SE">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.plugins.configurationmenu">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.plugins</link>
                    <value type="string" key="caption">配置</value>
                    <value type="string" key="name">configurationmenu</value>
                    <value type="string" key="itemType">cascade</value>
                    <value type="list" content-type="object" content-struct-name="app.MenuItem" key="subItems">
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.plugins.backupconnections">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.plugins.configurationmenu</link>
                            <value type="string" key="caption">备份连接...</value>
                            <value type="string" key="name">backupconnections</value>
                            <value type="string" key="command">plugin:wb.tools.backupConnections</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.plugins.restoreconnections">
                            <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.plugins.configurationmenu</link>
                            <value type="string" key="caption">恢复连接...</value>
                            <value type="string" key="name">restoreconnections</value>
                            <value type="string" key="command">plugin:wb.tools.restoreConnections</value>
                            <value type="string" key="itemType">action</value>
                        </value>
                    </value>
                </value>
            </value>
        </value>
         
        <!-- Scripting (old Tools) Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools">
            <value type="string" key="name">tools</value>
            <value type="string" key="caption">_脚本</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.grt_shell">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">脚本 Shell</value>
                    <value type="string" key="name">advanced_grt_shell</value>
                    <value type="string" key="command">plugin:wb.form.showGRTShell</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+F3</value>
                    <value type="string" key="platform">windows,linux</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.grt_shellmac">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">脚本 Shell</value>
                    <value type="string" key="name">advanced_grt_shell</value>
                    <value type="string" key="command">plugin:wb.form.showGRTShell</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Option+3</value>
                    <value type="string" key="platform">macosx</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.grt_newfile">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">新建脚本...</value>
                    <value type="string" key="name">new_grt_script</value>
                    <value type="string" key="command">plugin:wb.form.newGRTFile</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.grt_openfile">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">打开脚本...</value>
                    <value type="string" key="name">open_grt_script</value>
                    <value type="string" key="command">plugin:wb.form.openGRTFile</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.runscriptlist">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">运行脚本文件</value>
                    <value type="string" key="name">run_script_list</value>
                    <value type="string" key="itemType">cascade</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.tools.shell">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.runscript">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">运行Workbench脚本文件...</value>
                    <value type="string" key="name">run_script</value>
                    <value type="string" key="command">plugin:wb.tools.runScriptFile</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Modifier+Shift+r</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.installmodule">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="caption">安装插件/模块...</value>
                    <value type="string" key="name">install_user_module</value>
                    <value type="string" key="command">plugin:wb.tools.installModuleFile</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.tools.pluginmanager">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.tools</link>
                    <value type="string" key="name">plugin_manager</value>
                    <value type="string" key="command">plugin:wb.form.showPluginManager</value>
                    <value type="string" key="itemType">action</value>
                </value>
            </value>
        </value>
         
        <!-- Help Menu -->
        <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help">
            <value type="string" key="name">help</value>
            <value type="string" key="caption">_帮助</value>
            <value type="string" key="itemType">cascade</value>
            <value type="list" key="subItems" content-type="object" content-struct-name="app.MenuItem">
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.index">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="name">help_index</value>
                    <value type="string" key="caption">帮助索引</value>
                    <value type="string" key="command">builtin:help_index</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">F1</value>
                    <value type="string" key="platform">windows,linux</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.index2">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="name">help_index</value>
                    <value type="string" key="caption">帮助索引</value>
                    <value type="string" key="command">builtin:help_index</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="shortcut">Command+Option+question</value>
                    <value type="string" key="platform">macosx</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.version_check">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.show-license">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">显示许可信息</value>
                    <value type="string" key="name">show-license</value>
                    <value type="string" key="command">builtin:show-license</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_mysql_docs">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">MySQL Workbench 文档</value>
                    <value type="string" key="name">web_mysql_docs</value>
                    <value type="string" key="command">builtin:web_mysql_docs</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_mysql_blog">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">MySQL Workbench 博客</value>
                    <value type="string" key="name">web_mysql_blog</value>
                    <value type="string" key="command">builtin:web_mysql_blog</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_mysql_forum">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">MySQL Workbench 论坛</value>
                    <value type="string" key="name">web_mysql_forum</value>
                    <value type="string" key="command">builtin:web_mysql_forum</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_mysql_home">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">MySQL.com 网站</value>
                    <value type="string" key="name">web_mysql_home</value>
                    <value type="string" key="command">builtin:web_mysql_home</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_home">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">Workbench 产品页面</value>
                    <value type="string" key="name">web_home</value>
                    <value type="string" key="command">builtin:web_home</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.web_standard_edition/SE">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_edelivery/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">Oracle eDelivery</value>
                    <value type="string" key="name">web_edelivery</value>
                    <value type="string" key="command">builtin:web_edelivery</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.web_support/SE">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">Oracle 支持</value>
                    <value type="string" key="name">web_support</value>
                    <value type="string" key="command">builtin:web_support</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.web_community">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.report_a_bug">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">报告问题</value>
                    <value type="string" key="name">report_a_bug</value>
                    <value type="string" key="command">plugin:wb.form.reportBug:from_menu</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.list_bugs">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">查看提交的错误</value>
                    <value type="string" key="name">list_bugs</value>
                    <value type="string" key="command">builtin:list_bugs</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.locate_log_file">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">定位日志文件</value>
                    <value type="string" key="name">locate_log_file</value>
                    <value type="string" key="command">builtin:locate_log_file</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.show_log_file">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">显示日志文件</value>
                    <value type="string" key="name">show_log_file</value>
                    <value type="string" key="command">builtin:show_log_file</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.checkver">
                    <value type="string" key="itemType">separator</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.check_update">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">检查更新</value>
                    <value type="string" key="name">checkUpdate</value>
                    <value type="string" key="command">plugin:wb.tools.checkForUpdates</value>
                    <value type="string" key="itemType">action</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.separator.help.report_a_bug">
                    <value type="string" key="itemType">separator</value>
                    <value type="string" key="platform">windows,linux</value>
                </value>
                <value type="object" struct-name="app.MenuItem" id="com.mysql.wb.menu.help.about_workbench">
                    <link type="object" key="owner" struct-name="app.MenuItem">com.mysql.wb.menu.help</link>
                    <value type="string" key="caption">关于 Workbench</value>
                    <value type="string" key="name">about</value>
                    <value type="string" key="command">builtin:show_about</value>
                    <value type="string" key="itemType">action</value>
                    <value type="string" key="platform">windows,linux</value>
                </value>
            </value>
        </value>
    </value>
</data>
MySQL Workbench是一款广泛使用的数据库管理工具,可以通过图形界面来管理数据库、设计数据模型、进行查询和调优等。其中的main_menu.xmlMySQL Workbench菜单配置文件main_menu.xml文件定义了MySQL Workbench菜单栏的内容和布局,包括菜单项、子菜单和快捷键等。通过编辑该文件,我们可以自定义菜单栏的内容,添加新的菜单项或修改已有的菜单项。 在main_menu.xml文件中,每个菜单项都由标签来表示,标签的属性定义了菜单项的名称、图标和对应的动作。例如,<menu name="File" action="">定义了一个名为"File"的菜单项,可以通过action属性来指定点击该菜单项时要执行的动作。 除了菜单项之外,还可以在main_menu.xml文件中添加子菜单。子菜单同样使用标签来表示,通过给菜单项添加<submenu>标签的方式来定义子菜单。例如,<submenu name="Edit">...</submenu>定义了一个名为"Edit"的子菜单。 另外,main_menu.xml文件中还包含了快捷键的定义,用于通过键盘快速执行某些菜单项的操作。可以通过shortcut属性来设置快捷键,例如<menu name="File" action="" shortcut="Ctrl+F"/>定义了一个快捷键为Ctrl+F的菜单项。 总结来说,main_menu.xmlMySQL Workbench菜单配置文件,通过编辑该文件可以自定义菜单栏的内容和快捷键。这样可以根据个人的需求和习惯来定制MySQL Workbench的界面,提高工作效率。
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值