<?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"> | |
<diagram | |
visualID="1000" | |
editPartClassName="EPackageEditPart" | |
itemSemanticEditPolicyClassName="EPackageItemSemanticEditPolicy" | |
notationViewFactoryClassName="EPackageViewFactory" | |
canonicalEditPolicyClassName="EPackageCanonicalEditPolicy" | |
iconProviderPriority="Low"> | |
<diagramRunTimeClass | |
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="EPackageEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:FigureViewmap" | |
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> | |
<domainDiagramElement | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage"/> | |
<topLevelNodes | |
visualID="2001" | |
editPartClassName="EClassEditPart" | |
itemSemanticEditPolicyClassName="EClassItemSemanticEditPolicy" | |
notationViewFactoryClassName="EClassViewFactory" | |
canonicalEditPolicyClassName="EClassCanonicalEditPolicy" | |
graphicalNodeEditPolicyClassName="EClassGraphicalNodeEditPolicy"> | |
<diagramRunTimeClass | |
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="EClassEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
layoutType="TOOLBAR_LAYOUT" | |
className="NodeRectangle" | |
classBody="

/**
 * @generated
 */
public class NodeRectangle extends org.eclipse.draw2d.RectangleFigure {

	/**
	 * @generated
	 */
	public NodeRectangle() {	
		
		org.eclipse.draw2d.ToolbarLayout myGenLayoutManager = new org.eclipse.draw2d.ToolbarLayout();
				myGenLayoutManager.setStretchMinorAxis(true);
		myGenLayoutManager.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER);		
		myGenLayoutManager.setSpacing(0);
		myGenLayoutManager.setVertical(true);


	
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> | |
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> | |
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> | |
</viewmap> | |
<modelFacet> | |
<metaClass | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass"/> | |
<containmentMetaFeature | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eClassifiers"/> | |
<childMetaFeature | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eClassifiers"/> | |
</modelFacet> | |
<labels | |
xsi:type="gmfgen:GenExternalNodeLabel" | |
visualID="5001" | |
editPartClassName="EClassNameEditPart" | |
itemSemanticEditPolicyClassName="EClassNameItemSemanticEditPolicy" | |
notationViewFactoryClassName="EClassNameViewFactory" | |
elementIcon="true"> | |
<diagramRunTimeClass | |
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:FigureViewmap" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"> | |
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> | |
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet"> | |
<metaFeatures | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> | |
</modelFacet> | |
</labels> | |
<labels | |
xsi:type="gmfgen:GenExternalNodeLabel" | |
visualID="5002" | |
editPartClassName="EClassNameDefaultValueEditPart" | |
itemSemanticEditPolicyClassName="EClassNameDefaultValueItemSemanticEditPolicy" | |
notationViewFactoryClassName="EClassNameDefaultValueViewFactory" | |
elementIcon="true"> | |
<diagramRunTimeClass | |
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:FigureViewmap" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"> | |
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> | |
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
viewPattern="{0}:{1}" | |
editPattern="{0}:{1}"> | |
<metaFeatures | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> | |
<metaFeatures | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClassifier/defaultValue"/> | |
</modelFacet> | |
</labels> | |
<labels | |
xsi:type="gmfgen:GenExternalNodeLabel" | |
visualID="5003" | |
editPartClassName="LabelEditPart" | |
itemSemanticEditPolicyClassName="LabelItemSemanticEditPolicy" | |
notationViewFactoryClassName="LabelViewFactory" | |
elementIcon="true"> | |
<diagramRunTimeClass | |
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:FigureViewmap" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"> | |
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> | |
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> | |
</viewmap> | |
</labels> | |
</topLevelNodes> | |
<palette> | |
<groups | |
title="Nodes" | |
description="Generated node creation tools"> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="Create Node 1" | |
genNodes="//@diagram/@topLevelNodes.0"/> | |
</groups> | |
</palette> | |
</diagram> | |
<plugin/> | |
<editor/> | |
<domainGenModel | |
href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#/"/> | |
</gmfgen:GenEditorGenerator> |