| <?xml version="1.0" encoding="UTF-8"?> |
| <gmfgen:GenEditorGenerator |
| xmi:version="2.0" |
| xmlns:xmi="http://www.omg.org/XMI" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel" |
| packageNamePrefix="org.eclipse.gmf.examples.taipan.port.diagram" |
| modelID="Port" |
| diagramFileExtension="port_diagram" |
| domainFileExtension="taipan" |
| copyrightText="Copyright (c) 2007 Borland Software Corporation

All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html

Contributors:
 Dmitry Stadnik (Borland) - initial API and implementation"> |
| <diagram |
| visualID="1000" |
| editPartClassName="PortEditPart" |
| itemSemanticEditPolicyClassName="PortItemSemanticEditPolicy" |
| canonicalEditPolicyClassName="PortCanonicalEditPolicy" |
| iconProviderPriority="Low" |
| creationWizardIconPath="icons/PortDiagramFile.gif" |
| validationProviderClassName="PortValidationProvider" |
| validationProviderPriority="Low" |
| metricProviderClassName="PortMetricProvider" |
| validationDecoratorProviderClassName="PortValidationDecoratorProvider"> |
| <diagramRunTimeClass |
| href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> |
| <elementType |
| xsi:type="gmfgen:MetamodelType" |
| displayName="Port" |
| editHelperClassName="PortEditHelper"/> |
| <viewmap |
| xsi:type="gmfgen:ModeledViewmap"> |
| <figureModel |
| href="taipan.gmfgraph#taipan"/> |
| </viewmap> |
| <domainDiagramElement |
| href="taipan.genmodel#//taipan/Port"/> |
| <topLevelNodes |
| visualID="2001" |
| editPartClassName="BuildingEditPart" |
| itemSemanticEditPolicyClassName="BuildingItemSemanticEditPolicy" |
| notationViewFactoryClassName="BuildingViewFactory" |
| canonicalEditPolicyClassName="BuildingCanonicalEditPolicy" |
| graphicalNodeEditPolicyClassName="BuildingGraphicalNodeEditPolicy" |
| createCommandClassName="BuildingCreateCommand"> |
| <diagramRunTimeClass |
| href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> |
| <elementType |
| xsi:type="gmfgen:MetamodelType" |
| editHelperClassName="BuildingEditHelper"/> |
| <viewmap |
| xsi:type="gmfgen:ModeledViewmap"> |
| <figureModel |
| href="taipan.gmfgraph#Building"/> |
| </viewmap> |
| <modelFacet> |
| <metaClass |
| href="taipan.genmodel#//taipan/Building"/> |
| <containmentMetaFeature |
| href="taipan.genmodel#//taipan/Port/buildings"/> |
| <childMetaFeature |
| href="taipan.genmodel#//taipan/Port/buildings"/> |
| </modelFacet> |
| <labels |
| visualID="3001" |
| editPartClassName="BuildingInfoEditPart" |
| itemSemanticEditPolicyClassName="BuildingInfoItemSemanticEditPolicy" |
| notationViewFactoryClassName="BuildingInfoViewFactory"> |
| <diagramRunTimeClass |
| href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> |
| <viewmap |
| xsi:type="gmfgen:ModeledViewmap"> |
| <figureModel |
| href="taipan.gmfgraph#BuildingInfo"/> |
| </viewmap> |
| <modelFacet |
| xsi:type="gmfgen:FeatureLabelModelFacet" |
| parser="//@labelParsers/@implementations.0" |
| viewMethod="NATIVE" |
| editMethod="NATIVE"> |
| <metaFeatures |
| href="taipan.genmodel#//taipan/Building/info"/> |
| </modelFacet> |
| </labels> |
| </topLevelNodes> |
| <palette> |
| <groups |
| title="Port"> |
| <entries |
| xsi:type="gmfgen:ToolEntry" |
| title="Building" |
| description="Create new building" |
| genNodes="//@diagram/@topLevelNodes.0"/> |
| </groups> |
| </palette> |
| <preferences> |
| <defaultFont |
| xsi:type="gmfgen:GenCustomFont" |
| name="Lucida Grande" |
| height="12"/> |
| <fontColor |
| xsi:type="gmfgen:GenConstantColor" |
| name="darkGray"/> |
| <fillColor |
| xsi:type="gmfgen:GenConstantColor" |
| name="white"/> |
| <lineColor |
| xsi:type="gmfgen:GenConstantColor" |
| name="black"/> |
| </preferences> |
| <preferencePages |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.general" |
| name="Port Diagram"> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.appearance" |
| name="Appearance" |
| kind="Appearance"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.connections" |
| name="Connections" |
| kind="Connections"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.printing" |
| name="Printing" |
| kind="Printing"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.rulersAndGrid" |
| name="Rulers And Grid" |
| kind="RulersAndGrid"/> |
| </preferencePages> |
| </diagram> |
| <plugin |
| iD="org.eclipse.gmf.examples.taipan.port.diagram" |
| name="TaiPan Port Diagram" |
| provider="Eclipse.org" |
| activatorClassName="PortDiagramEditorPlugin"> |
| <requiredPlugins>org.eclipse.gmf.tooling.runtime</requiredPlugins> |
| <requiredPlugins>org.eclipse.draw2d</requiredPlugins> |
| <requiredPlugins>org.eclipse.gmf.examples.taipan</requiredPlugins> |
| </plugin> |
| <editor |
| className="PortDiagramEditor"/> |
| <diagramUpdater/> |
| <propertySheet |
| packageName="org.eclipse.gmf.examples.taipan.port.diagram.properties" |
| labelProviderClassName="PortPropertiesLabelProvider"> |
| <tabs |
| xsi:type="gmfgen:GenStandardPropertyTab" |
| iD="appearance"/> |
| <tabs |
| xsi:type="gmfgen:GenStandardPropertyTab" |
| iD="diagram" |
| label="Rulers & Grid"/> |
| <tabs |
| xsi:type="gmfgen:GenCustomPropertyTab" |
| iD="domain" |
| label="Core"> |
| <filter |
| xsi:type="gmfgen:TypeTabFilter"> |
| <types>org.eclipse.gmf.runtime.notation.View</types> |
| <types>org.eclipse.gef.EditPart</types> |
| <generatedTypes>abstractNavigatorItem</generatedTypes> |
| </filter> |
| </tabs> |
| </propertySheet> |
| <domainGenModel |
| href="taipan.genmodel#/"/> |
| <labelParsers |
| extensibleViaService="true"> |
| <implementations |
| xsi:type="gmfgen:PredefinedParser" |
| uses="//@diagram/@topLevelNodes.0/@labels.0/@modelFacet" |
| viewMethod="NATIVE" |
| editMethod="NATIVE"/> |
| </labelParsers> |
| <contextMenus |
| context="//@diagram"> |
| <items |
| xsi:type="gmfgen:LoadResourceAction"/> |
| </contextMenus> |
| </gmfgen:GenEditorGenerator> |