Unable to render {include} The included page could not be found.

Plugin Configuration Schema

Prototype for XML configuration of plugins (menus and toolbars)

"Plugin.xml"
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="D:\projects\DelftTools\apps\DelftTools\modules\DelftTools.Gui\PluginConfiguration.xsd">
	<commands>
		<command class="ZoomInCommand" name="Zoom &amp;In ..." shortcutkey="CtrlC" image="zoomin.png" category="Map" tooltip="Zoom in using rectangle ..."/>
		<command class="ZoomOutCommand" name="Zoom &amp;Out" image="zoomout.png" category="Map"/>
		<command class="AddMapLayerCommand" name="&amp;Add Layer ..." image="addlayer.png" category="Map"/>
		<command class="RemoveAllLayersCommand" name="Remove All Layers" category="Map"/>
		<command class="ProjectLayerCommand" name="&amp;Project layer ..." category="Map"/>
		<command class="ExportLayerCommand" name="&amp;Export layer ..." category="Map"/>
		<command class="ZoomWorldCommand" name="Zoom world ..." category="Map"/>
	</commands>
	<ui>
		<menus>
			<menu name="Map" after="buttonMenuFile">
				<activeforviewtypes>
					<view class="MapView"/>
				</activeforviewtypes>
				<item commandclass="ZoomInCommand"/>
				<item commandclass="ZoomOutCommand"/>
				<separator/>
				<item name="Layers">
					<item commandclass="AddMapLayerCommand"/>
					<item commandclass="RemoveAllLayersCommand"/>
					<item commandclass="ProjectLayerCommand"/>
					<item commandclass="ExportLayerCommand"/>
				</item>
				<separator/>
				<item commandclass="ZoomWorldCommand"/>
			</menu>
			<menu name="buttonMenuFile">
				<item name="Layers" after="buttonMenuFileSaveProject">
					<item commandclass="AddMapLayerCommand"/>
					<item commandclass="RemoveAllLayersCommand"/>
					<item commandclass="ProjectLayerCommand"/>
					<item commandclass="ExportLayerCommand"/>
				</item>
			</menu>
			<menu name="buttonMenuFile">
				<item name="Layers" after="buttonMenuFileSaveProject">
					<item commandclass="AddMapLayerCommand" after="AddMapLayerCommand"/>
					<item commandclass="RemoveAllLayersCommand"/>
					<item commandclass="ProjectLayerCommand" after="ProjectLayerCommand"/>
					<item commandclass="ExportLayerCommand"/>
				</item>
			</menu>
			<menu name="LayerAttributes">
				<activeforviewtypes>
					<view class="LayerAttributesTable"/>
				</activeforviewtypes>
			</menu>
		</menus>
		<toolbars>
			<toolbar name="Map">
				<activeforviewtypes>
					<view class="DelftShell.Forms.HtmlPage.HtmlPageView"/>
				</activeforviewtypes>
				<item name="ComboItem">
					<item commandclass="ZoomInCommand"/>
				</item>
				<item commandclass="ZoomInCommand"/>
				<item commandclass="ZoomOutCommand"/>
			</toolbar>
		</toolbars>
	</ui>
</plugin>

Eclipse



 Overview Eclipse command architecture

 Andere Links

  • No labels