| <?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/2008/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" |
| notationViewFactoryClassName="PortViewFactory" |
| 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:FigureViewmap" |
| figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> |
| <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:InnerClassViewmap" |
| className="BuildingFigure" |
| classBody="
/**
 * @generated
 */
public class BuildingFigure extends org.eclipse.gmf.examples.taipan.figures.BuildingShape {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureBuildingInfoLabel; 


	/**
	 * @generated
	 */
	public BuildingFigure() {
				

		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureBuildingInfoLabel = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureBuildingInfoLabel.setText("");

this.add(fFigureBuildingInfoLabel);


	}




	/**
	 * @generated
	 */
	private boolean myUseLocalCoordinates = false;

	/**
	 * @generated
	 */
	protected boolean useLocalCoordinates() {
		return myUseLocalCoordinates;
	}

	/**
	 * @generated
	 */
	protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
		myUseLocalCoordinates = useLocalCoordinates;
	}



	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureBuildingInfoLabel() {
		return fFigureBuildingInfoLabel;
	}


}

"> |
| <requiredPluginIDs>org.eclipse.gmf.examples.taipan</requiredPluginIDs> |
| <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> |
| </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:ParentAssignedViewmap" |
| getterName="getFigureBuildingInfoLabel" |
| figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> |
| <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"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.gmf.examples.taipan.diagram.pathmaps" |
| name="Pathmaps" |
| kind="Pathmaps"/> |
| </preferencePages> |
| </diagram> |
| <plugin |
| iD="org.eclipse.gmf.examples.taipan.port.diagram" |
| name="TaiPan Port Diagram" |
| provider="Eclipse.org" |
| activatorClassName="PortDiagramEditorPlugin"/> |
| <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> |
| </gmfgen:GenEditorGenerator> |