<!-- WARNING: DO NOT CHANGE ANY ID ATTRIBUTES ASSOCIATED WITH MENU ITEMS. -->
<!-- Changing IDs will make it impossible for other developers to locate -->
<!-- menu items for installation purposes. -->
<shortcutlist id="DWConnectionsContext">
	<shortcut key="Cmd+I"  	domRequired="false"		command="clickedInsert(dw.databasePalette.getSelectedNode());"	enabled="insertEnabled(dw.databasePalette.getSelectedNode());"	id="DWShortcuts_ServerComponent_Insert" />
	<shortcut key="Del"		domRequired="false"		command="clickedDelete();"		enabled="(dw.databasePalette.getSelectedNode() != null && (dw.databasePalette.getSelectedNode().objectType=='Connection'))"		id="DWShortcuts_ServerComponent_Delete" /> 	
</shortcutlist>
<menubar name="" id="DWConnectionsContext">
	<menu name="" id="DWContext_Connections">
		<menuitem name="编辑连接..."			command="clickedEdit();"		enabled="(dw.databasePalette.getSelectedNode() != null && (dw.databasePalette.getSelectedNode().objectType=='Connection'))" 	id="DWContext_Connections_EditConnection" />
		<!-- for now, don't allow the user to delete connections from the UI. Instead have them go to the CF Admin page
		<menuitem name="删除连接..."		command="clickedDelete();"		enabled="(dw.databasePalette.getSelectedNode() != null && (dw.databasePalette.getSelectedNode().objectType=='Connection'))"		id="DWContext_Connections_DeleteConnection" />
		-->
		<menuitem name="测试连接..."			command="clickedTest();"		enabled="(dw.databasePalette.getSelectedNode() != null && (dw.databasePalette.getSelectedNode().objectType=='Connection'))"		id="DWContext_Connections_TestConnection" />
		<separator/>
		<menuitem name="查看数据(_V)..."				command="clickedViewData();"	enabled="(dw.databasePalette.getSelectedNode() != null && (dw.databasePalette.getSelectedNode().objectType=='Table' || dw.databasePalette.getSelectedNode().objectType=='View'))"	id="DWContext_Tables_ViewData" />
		<separator/>
		<menuitem name="插入代码"	domRequired="false"  enabled="insertEnabled(dw.databasePalette.getSelectedNode());" command="clickedInsert(dw.databasePalette.getSelectedNode());" id="DWShortcuts_ServerComponent_Insert" />
		<menuitem name="刷新"		command="clickedRefresh();"		id="DWContext_Connections_TestConnection" />
	</menu>
</menubar>
<menubar name="" id="DWConnectionsChoosersContext">
	<menu name="" id="DWContext_ConnectionsChooser">
		<menuitem dynamic name="选择器" file="Menus/MM/DB_Connections.htm" id="DWContext_Connections_Chooser_List" />
	</menu>
</menubar>
