diff options
author | ashatalin | 2006-02-24 18:45:47 +0000 |
---|---|---|
committer | ashatalin | 2006-02-24 18:45:47 +0000 |
commit | 2be9161ccc650a4482a5eb3d48a4625633db9ab3 (patch) | |
tree | ef0ca95208bb06819fce0246d546f5b1474a0427 | |
parent | 5dd1c8a1cbe009727d5dd8c085e6ae8fb6faedb7 (diff) | |
download | org.eclipse.gmf-tooling-2be9161ccc650a4482a5eb3d48a4625633db9ab3.tar.gz org.eclipse.gmf-tooling-2be9161ccc650a4482a5eb3d48a4625633db9ab3.tar.xz org.eclipse.gmf-tooling-2be9161ccc650a4482a5eb3d48a4625633db9ab3.zip |
Example updated with the latest changes in mapping model.
4 files changed, 244 insertions, 345 deletions
diff --git a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen index ea4bf4e3d..6c0b41e8f 100644 --- a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen +++ b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen @@ -8,31 +8,31 @@ <domainDiagramElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage"/> <childNodes visualID="2001" editPartClassName="EAttributeEditPart" itemSemanticEditPolicyClassName="EAttributeItemSemanticEditPolicy" notationViewFactoryClassName="EAttributeViewFactory" canonicalEditPolicyClassName="EAttributeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EAttributeGraphicalNodeEditPolicy" containers="//@diagram/@compartments.0"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAttribute"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass/eStructuralFeatures"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass/eAttributes"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4001" editPartClassName="EAttribute_nameEditPart" itemSemanticEditPolicyClassName="EAttribute_nameItemSemanticEditPolicy" notationViewFactoryClassName="EAttribute_nameViewFactory"> + <labels visualID="4001" editPartClassName="EAttribute_nameEditPart" itemSemanticEditPolicyClassName="EAttribute_nameItemSemanticEditPolicy" notationViewFactoryClassName="EAttribute_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" editPattern=""> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2002" editPartClassName="EOperationEditPart" itemSemanticEditPolicyClassName="EOperationItemSemanticEditPolicy" notationViewFactoryClassName="EOperationViewFactory" canonicalEditPolicyClassName="EOperationCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EOperationGraphicalNodeEditPolicy" containers="//@diagram/@compartments.1"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EOperation"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass/eOperations"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EClass/eOperations"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4002" editPartClassName="EOperation_nameEditPart" itemSemanticEditPolicyClassName="EOperation_nameItemSemanticEditPolicy" notationViewFactoryClassName="EOperation_nameViewFactory"> + <labels visualID="4002" editPartClassName="EOperation_nameEditPart" itemSemanticEditPolicyClassName="EOperation_nameItemSemanticEditPolicy" notationViewFactoryClassName="EOperation_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> @@ -40,15 +40,15 @@ </childNodes> <childNodes visualID="2003" editPartClassName="EAnnotationEditPart" itemSemanticEditPolicyClassName="EAnnotationItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotationViewFactory" canonicalEditPolicyClassName="EAnnotationCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EAnnotationGraphicalNodeEditPolicy" containers="//@diagram/@compartments.2"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4003" editPartClassName="EAnnotation_sourceEditPart" itemSemanticEditPolicyClassName="EAnnotation_sourceItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_sourceViewFactory"> + <labels visualID="4003" editPartClassName="EAnnotation_sourceEditPart" itemSemanticEditPolicyClassName="EAnnotation_sourceItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_sourceViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/> </modelFacet> @@ -56,79 +56,79 @@ </childNodes> <childNodes visualID="2004" editPartClassName="EClass2EditPart" itemSemanticEditPolicyClassName="EClass2ItemSemanticEditPolicy" notationViewFactoryClassName="EClass2ViewFactory" canonicalEditPolicyClassName="EClass2CanonicalEditPolicy" graphicalNodeEditPolicyClassName="EClass2GraphicalNodeEditPolicy" containers="//@diagram/@compartments.3"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <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="4005" editPartClassName="EClass_name2EditPart" itemSemanticEditPolicyClassName="EClass_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EClass_name2ViewFactory"> + <labels visualID="4005" editPartClassName="EClass_name2EditPart" itemSemanticEditPolicyClassName="EClass_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EClass_name2ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" editPattern=""> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2005" editPartClassName="EPackage3EditPart" itemSemanticEditPolicyClassName="EPackage3ItemSemanticEditPolicy" notationViewFactoryClassName="EPackage3ViewFactory" canonicalEditPolicyClassName="EPackage3CanonicalEditPolicy" graphicalNodeEditPolicyClassName="EPackage2GraphicalNodeEditPolicy" containers="//@diagram/@compartments.4"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eSubpackages"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EPackage/eSubpackages"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4006" editPartClassName="EPackage_nameEditPart" itemSemanticEditPolicyClassName="EPackage_nameItemSemanticEditPolicy" notationViewFactoryClassName="EPackage_nameViewFactory"> + <labels visualID="4006" editPartClassName="EPackage_nameEditPart" itemSemanticEditPolicyClassName="EPackage_nameItemSemanticEditPolicy" notationViewFactoryClassName="EPackage_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2006" editPartClassName="EDataTypeEditPart" itemSemanticEditPolicyClassName="EDataTypeItemSemanticEditPolicy" notationViewFactoryClassName="EDataTypeViewFactory" canonicalEditPolicyClassName="EDataTypeCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EDataTypeGraphicalNodeEditPolicy" containers="//@diagram/@compartments.5"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EDataType"/> <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="4007" editPartClassName="EDataType_nameEditPart" itemSemanticEditPolicyClassName="EDataType_nameItemSemanticEditPolicy" notationViewFactoryClassName="EDataType_nameViewFactory"> + <labels visualID="4007" editPartClassName="EDataType_nameEditPart" itemSemanticEditPolicyClassName="EDataType_nameItemSemanticEditPolicy" notationViewFactoryClassName="EDataType_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2007" editPartClassName="EEnumEditPart" itemSemanticEditPolicyClassName="EEnumItemSemanticEditPolicy" notationViewFactoryClassName="EEnumViewFactory" canonicalEditPolicyClassName="EEnumCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EEnumGraphicalNodeEditPolicy" containers="//@diagram/@compartments.6"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnum"/> <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="4008" editPartClassName="EEnum_nameEditPart" itemSemanticEditPolicyClassName="EEnum_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnum_nameViewFactory"> + <labels visualID="4008" editPartClassName="EEnum_nameEditPart" itemSemanticEditPolicyClassName="EEnum_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnum_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2008" editPartClassName="EAnnotation2EditPart" itemSemanticEditPolicyClassName="EAnnotation2ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation2ViewFactory" canonicalEditPolicyClassName="EAnnotation2CanonicalEditPolicy" graphicalNodeEditPolicyClassName="EAnnotation2GraphicalNodeEditPolicy" containers="//@diagram/@compartments.7"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4009" editPartClassName="EAnnotation_source2EditPart" itemSemanticEditPolicyClassName="EAnnotation_source2ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source2ViewFactory"> + <labels visualID="4009" editPartClassName="EAnnotation_source2EditPart" itemSemanticEditPolicyClassName="EAnnotation_source2ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source2ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/> </modelFacet> @@ -136,31 +136,31 @@ </childNodes> <childNodes visualID="2009" editPartClassName="EStringToStringMapEntryEditPart" itemSemanticEditPolicyClassName="EStringToStringMapEntryItemSemanticEditPolicy" notationViewFactoryClassName="EStringToStringMapEntryViewFactory" canonicalEditPolicyClassName="EStringToStringMapEntryCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EStringToStringMapEntryGraphicalNodeEditPolicy" containers="//@diagram/@compartments.8"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EStringToStringMapEntry"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/details"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/details"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4011" editPartClassName="EStringToStringMapEntry_keyEditPart" itemSemanticEditPolicyClassName="EStringToStringMapEntry_keyItemSemanticEditPolicy" notationViewFactoryClassName="EStringToStringMapEntry_keyViewFactory"> + <labels visualID="4011" editPartClassName="EStringToStringMapEntry_keyEditPart" itemSemanticEditPolicyClassName="EStringToStringMapEntry_keyItemSemanticEditPolicy" notationViewFactoryClassName="EStringToStringMapEntry_keyViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" editPattern=""> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EStringToStringMapEntry/key"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2010" editPartClassName="EAnnotation4EditPart" itemSemanticEditPolicyClassName="EAnnotation4ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation4ViewFactory" canonicalEditPolicyClassName="EAnnotation4CanonicalEditPolicy" graphicalNodeEditPolicyClassName="EAnnotation4GraphicalNodeEditPolicy" containers="//@diagram/@compartments.9"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4013" editPartClassName="EAnnotation_source4EditPart" itemSemanticEditPolicyClassName="EAnnotation_source4ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source4ViewFactory"> + <labels visualID="4013" editPartClassName="EAnnotation_source4EditPart" itemSemanticEditPolicyClassName="EAnnotation_source4ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source4ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/> </modelFacet> @@ -168,31 +168,31 @@ </childNodes> <childNodes visualID="2011" editPartClassName="EEnumLiteralEditPart" itemSemanticEditPolicyClassName="EEnumLiteralItemSemanticEditPolicy" notationViewFactoryClassName="EEnumLiteralViewFactory" canonicalEditPolicyClassName="EEnumLiteralCanonicalEditPolicy" graphicalNodeEditPolicyClassName="EEnumLiteralGraphicalNodeEditPolicy" containers="//@diagram/@compartments.10"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnum/eLiterals"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnum/eLiterals"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4015" editPartClassName="EEnumLiteral_nameEditPart" itemSemanticEditPolicyClassName="EEnumLiteral_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnumLiteral_nameViewFactory"> + <labels visualID="4015" editPartClassName="EEnumLiteral_nameEditPart" itemSemanticEditPolicyClassName="EEnumLiteral_nameItemSemanticEditPolicy" notationViewFactoryClassName="EEnumLiteral_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" editPattern=""> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> </childNodes> <childNodes visualID="2012" editPartClassName="EAnnotation5EditPart" itemSemanticEditPolicyClassName="EAnnotation5ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation5ViewFactory" canonicalEditPolicyClassName="EAnnotation5CanonicalEditPolicy" graphicalNodeEditPolicyClassName="EAnnotation5GraphicalNodeEditPolicy" containers="//@diagram/@compartments.11"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNodeRectangle" classBody="

/**
 * @generated
 */
public class ChildNodeRectangle extends org.eclipse.draw2d.RectangleFigure {
	/**
	 * @generated
	 */
	public ChildNodeRectangle() {	
		

		
		this.setOutline(false);
		
		org.eclipse.draw2d.IFigure childChildNode_NameLabelFigure = createFigureChildNode_NameLabelFigure();
		setFigureChildNode_NameLabelFigure(childChildNode_NameLabelFigure);
		add(childChildNode_NameLabelFigure);
		
		
	}


	private org.eclipse.draw2d.IFigure fChildNode_NameLabelFigure; 

	/**
	 * @generated
	 */
	public org.eclipse.draw2d.IFigure getFigureChildNode_NameLabelFigure() {
		return fChildNode_NameLabelFigure;
	}

	/**
	 * @generated
	 */
	protected void setFigureChildNode_NameLabelFigure(org.eclipse.draw2d.IFigure figure) {
		fChildNode_NameLabelFigure = figure;
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.IFigure createFigureChildNode_NameLabelFigure() {
org.eclipse.draw2d.Label rv = new org.eclipse.draw2d.Label();






		return rv;
	}

}
"/> <modelFacet> <metaClass href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation"/> <containmentMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> <childMetaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EModelElement/eAnnotations"/> </modelFacet> - <labels xsi:type="gmfgen:GenExternalNodeLabel" visualID="4016" editPartClassName="EAnnotation_source5EditPart" itemSemanticEditPolicyClassName="EAnnotation_source5ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source5ViewFactory"> + <labels visualID="4016" editPartClassName="EAnnotation_source5EditPart" itemSemanticEditPolicyClassName="EAnnotation_source5ItemSemanticEditPolicy" notationViewFactoryClassName="EAnnotation_source5ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> - <viewmap xsi:type="gmfgen:InnerClassViewmap" className="LabelFigure" classBody="

/**
 * @generated
 */
public class LabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public LabelFigure() {
		
		

	}
}
"/> + <viewmap xsi:type="gmfgen:InnerClassViewmap" className="ChildNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class ChildNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public ChildNode_NameLabelFigure() {
		
		

	}
}
"/> <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EAnnotation/source"/> </modelFacet> @@ -209,7 +209,7 @@ <labels visualID="4004" editPartClassName="EClass_nameEditPart" itemSemanticEditPolicyClassName="EClass_nameItemSemanticEditPolicy" notationViewFactoryClassName="EClass_nameViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> <viewmap xsi:type="gmfgen:InnerClassViewmap" className="NamedNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class NamedNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public NamedNode_NameLabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> @@ -225,7 +225,7 @@ <labels visualID="4010" editPartClassName="EPackage_name2EditPart" itemSemanticEditPolicyClassName="EPackage_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EPackage_name2ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> <viewmap xsi:type="gmfgen:InnerClassViewmap" className="NamedNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class NamedNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public NamedNode_NameLabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern="" editPattern=""> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> @@ -257,7 +257,7 @@ <labels visualID="4014" editPartClassName="EDataType_name2EditPart" itemSemanticEditPolicyClassName="EDataType_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EDataType_name2ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> <viewmap xsi:type="gmfgen:InnerClassViewmap" className="NamedNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class NamedNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public NamedNode_NameLabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> @@ -273,7 +273,7 @@ <labels visualID="4017" editPartClassName="EEnum_name2EditPart" itemSemanticEditPolicyClassName="EEnum_name2ItemSemanticEditPolicy" notationViewFactoryClassName="EEnum_name2ViewFactory"> <diagramRunTimeClass href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> <viewmap xsi:type="gmfgen:InnerClassViewmap" className="NamedNode_NameLabelFigure" classBody="

/**
 * @generated
 */
public class NamedNode_NameLabelFigure extends org.eclipse.draw2d.Label {
	/**
	 * @generated
	 */
	public NamedNode_NameLabelFigure() {
		
		

	}
}
"/> - <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>" viewPattern=""> + <modelFacet xsi:type="gmfgen:FeatureLabelModelFacet" defaultText="<...>"> <metaFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/ENamedElement/name"/> </modelFacet> </labels> diff --git a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfmap b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfmap index 0c3d747a5..48bfe2104 100644 --- a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfmap +++ b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfmap @@ -1,194 +1,213 @@ <?xml version="1.0" encoding="UTF-8"?> <gmfmap:Mapping xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings" xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition"> <nodes> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/> <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.0"/> - <childMappings compartment="//@nodes.0/@compartmentMappings.0"> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAttribute"/> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> - <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.0"/> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.0/@compartmentMappings.1"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eOperations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/> <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.1"/> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.0/@compartmentMappings.2"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> - <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> - </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <compartmentMappings childNodes="//@nodes.0/@childMappings.0"> - <compartment href="ecore.gmfgraph#attributes"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.0/@childMappings.1"> - <compartment href="ecore.gmfgraph#operations"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.0/@childMappings.2"> - <compartment href="ecore.gmfgraph#class annotations"/> - </compartmentMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.0"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <children compartment="//@nodes.0/@ownedChild/@compartments.0"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> + <childrenFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eAttributes"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAttribute"/> + <labelMappings editPattern=""> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.0"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.0/@ownedChild/@compartments.1"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eOperations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EOperation"/> + <labelMappings> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.1"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.0/@ownedChild/@compartments.2"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/> + <labelMappings> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> + </labelMappings> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <compartments children="//@nodes.0/@ownedChild/@children.0"> + <compartment href="ecore.gmfgraph#attributes"/> + </compartments> + <compartments children="//@nodes.0/@ownedChild/@children.1"> + <compartment href="ecore.gmfgraph#operations"/> + </compartments> + <compartments children="//@nodes.0/@ownedChild/@children.2"> + <compartment href="ecore.gmfgraph#class annotations"/> + </compartments> + </ownedChild> </nodes> <nodes> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage"/> <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eSubpackages"/> - <labelMappings text="" viewPattern="" editPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.1"/> - <childMappings compartment="//@nodes.1/@compartmentMappings.0"> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.1/@compartmentMappings.1"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eSubpackages"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.1/@compartmentMappings.2"> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EDataType"/> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.1/@compartmentMappings.3"> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum"/> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.1/@compartmentMappings.4"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage"/> <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <compartmentMappings childNodes="//@nodes.1/@childMappings.0"> - <compartment href="ecore.gmfgraph#classes"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.1/@childMappings.1"> - <compartment href="ecore.gmfgraph#packages"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.1/@childMappings.2"> - <compartment href="ecore.gmfgraph#data types"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.1/@childMappings.3"> - <compartment href="ecore.gmfgraph#enums"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.1/@childMappings.4"> - <compartment href="ecore.gmfgraph#package annotations"/> - </compartmentMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.1"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <children compartment="//@nodes.1/@ownedChild/@compartments.0"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass"/> + <labelMappings defaultText="" editPattern=""> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.1/@ownedChild/@compartments.1"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eSubpackages"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage"/> + <labelMappings> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.1/@ownedChild/@compartments.2"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EDataType"/> + <labelMappings> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.1/@ownedChild/@compartments.3"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum"/> + <labelMappings> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.1/@ownedChild/@compartments.4" referencedChild="//@nodes.0/@ownedChild/@children.2/@ownedChild"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + </children> + <compartments children="//@nodes.1/@ownedChild/@children.0"> + <compartment href="ecore.gmfgraph#classes"/> + </compartments> + <compartments children="//@nodes.1/@ownedChild/@children.1"> + <compartment href="ecore.gmfgraph#packages"/> + </compartments> + <compartments children="//@nodes.1/@ownedChild/@children.2"> + <compartment href="ecore.gmfgraph#data types"/> + </compartments> + <compartments children="//@nodes.1/@ownedChild/@children.3"> + <compartment href="ecore.gmfgraph#enums"/> + </compartments> + <compartments children="//@nodes.1/@ownedChild/@children.4"> + <compartment href="ecore.gmfgraph#package annotations"/> + </compartments> + </ownedChild> </nodes> <nodes> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/> <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> - <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.2"/> - <childMappings compartment="//@nodes.2/@compartmentMappings.0"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/details"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation"/> <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EStringToStringMapEntry/key"/> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.2"/> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <compartmentMappings childNodes="//@nodes.2/@childMappings.0"> - <compartment href="ecore.gmfgraph#details"/> - </compartmentMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.2"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <children compartment="//@nodes.2/@ownedChild/@compartments.0"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/details"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EStringToStringMapEntry"/> + <labelMappings editPattern=""> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EStringToStringMapEntry/key"/> + </labelMappings> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.2"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <compartments children="//@nodes.2/@ownedChild/@children.0"> + <compartment href="ecore.gmfgraph#details"/> + </compartments> + </ownedChild> </nodes> <nodes> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EDataType"/> <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.3"/> - <childMappings compartment="//@nodes.3/@compartmentMappings.0"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EDataType"/> <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <compartmentMappings childNodes="//@nodes.3/@childMappings.0"> - <compartment href="ecore.gmfgraph#data type annotations"/> - </compartmentMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.3"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <children compartment="//@nodes.3/@ownedChild/@compartments.0" referencedChild="//@nodes.0/@ownedChild/@children.2/@ownedChild"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + </children> + <compartments children="//@nodes.3/@ownedChild/@children.0"> + <compartment href="ecore.gmfgraph#data type annotations"/> + </compartments> + </ownedChild> </nodes> <nodes> - <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum"/> <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage/eClassifiers"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.4"/> - <childMappings compartment="//@nodes.4/@compartmentMappings.0"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum/eLiterals"/> - <labelMappings text="" viewPattern=""> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> - </labelMappings> - <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.3"/> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <childMappings compartment="//@nodes.4/@compartmentMappings.1"> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum"/> <labelMappings> - <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> - <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EAnnotation/source"/> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> - </childMappings> - <compartmentMappings childNodes="//@nodes.4/@childMappings.0"> - <compartment href="ecore.gmfgraph#literals"/> - </compartmentMappings> - <compartmentMappings childNodes="//@nodes.4/@childMappings.1"> - <compartment href="ecore.gmfgraph#enum annotations"/> - </compartmentMappings> - <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.0/@tools.4"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode"/> + <children compartment="//@nodes.4/@ownedChild/@compartments.0"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum/eLiterals"/> + <ownedChild> + <domainMetaElement href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EEnumLiteral"/> + <labelMappings defaultText="" editPattern=""> + <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#ChildNode_Name"/> + <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> + </labelMappings> + <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.1/@tools.3"/> + <diagramNode href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Child"/> + </ownedChild> + </children> + <children compartment="//@nodes.4/@ownedChild/@compartments.1" referencedChild="//@nodes.0/@ownedChild/@children.2/@ownedChild"> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement/eAnnotations"/> + </children> + <compartments children="//@nodes.4/@ownedChild/@children.0"> + <compartment href="ecore.gmfgraph#literals"/> + </compartments> + <compartments children="//@nodes.4/@ownedChild/@children.1"> + <compartment href="ecore.gmfgraph#enum annotations"/> + </compartments> + </ownedChild> </nodes> <links> <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.2/@tools.0"/> @@ -203,11 +222,11 @@ <feature xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EReference/containment"/> </initializers> </domainInitializer> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> <labelMappings text="" viewPattern=""> <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.2/@tools.1"/> <diagramLink href="../../../plugin/org.eclipse.gmf.graphdef/models/classDiagram.gmfgraph#SolidConnectionWDstArrow"/> <linkMetaFeature xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ETypedElement/eType"/> @@ -220,11 +239,11 @@ <feature xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EReference/containment"/> </initializers> </domainInitializer> - <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> <labelMappings text="" viewPattern=""> <diagramLabel href="../../../plugin/org.eclipse.gmf.graphdef/models/basic.gmfgraph#Label"/> <features href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ENamedElement/name"/> </labelMappings> + <containmentFeature href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EClass/eStructuralFeatures"/> <tool xsi:type="gmftool:CreationTool" href="ecore.gmftool#//@palette/@tools.2/@tools.2"/> <diagramLink href="../../../plugin/org.eclipse.gmf.graphdef/models/classDiagram.gmfgraph#SolidConnectionWSrcDiamond"/> <linkMetaFeature xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//ETypedElement/eType"/> diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/editor/EcoreVisualIDRegistry.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/editor/EcoreVisualIDRegistry.java index f1a07399d..499dccad3 100644 --- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/editor/EcoreVisualIDRegistry.java +++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/editor/EcoreVisualIDRegistry.java @@ -160,161 +160,101 @@ public class EcoreVisualIDRegistry { } return getUnrecognizedEEnum_1005ChildNodeID(domainElement); case 2001: - if (EcoreSemanticHints.EAttribute_2001Labels.EATTRIBUTENAME_4001_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EAttribute_2001Labels.EATTRIBUTENAME_4001_TEXT.equals(semanticHint)) { return 4001; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEAttribute_2001ChildNodeID(semanticHint); } return getUnrecognizedEAttribute_2001ChildNodeID(domainElement); - case 4001: - if (EcoreSemanticHints.EAttribute_2001Labels.EATTRIBUTENAME_4001_TEXT.equals(semanticHint)) { - return 4001; - } - return -1; case 2002: - if (EcoreSemanticHints.EOperation_2002Labels.EOPERATIONNAME_4002_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EOperation_2002Labels.EOPERATIONNAME_4002_TEXT.equals(semanticHint)) { return 4002; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEOperation_2002ChildNodeID(semanticHint); } return getUnrecognizedEOperation_2002ChildNodeID(domainElement); - case 4002: - if (EcoreSemanticHints.EOperation_2002Labels.EOPERATIONNAME_4002_TEXT.equals(semanticHint)) { - return 4002; - } - return -1; case 2003: - if (EcoreSemanticHints.EAnnotation_2003Labels.EANNOTATIONSOURCE_4003_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EAnnotation_2003Labels.EANNOTATIONSOURCE_4003_TEXT.equals(semanticHint)) { return 4003; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEAnnotation_2003ChildNodeID(semanticHint); } return getUnrecognizedEAnnotation_2003ChildNodeID(domainElement); - case 4003: - if (EcoreSemanticHints.EAnnotation_2003Labels.EANNOTATIONSOURCE_4003_TEXT.equals(semanticHint)) { - return 4003; - } - return -1; case 2004: - if (EcoreSemanticHints.EClass_2004Labels.ECLASSNAME_4005_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EClass_2004Labels.ECLASSNAME_4005_TEXT.equals(semanticHint)) { return 4005; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEClass_2004ChildNodeID(semanticHint); } return getUnrecognizedEClass_2004ChildNodeID(domainElement); - case 4005: - if (EcoreSemanticHints.EClass_2004Labels.ECLASSNAME_4005_TEXT.equals(semanticHint)) { - return 4005; - } - return -1; case 2005: - if (EcoreSemanticHints.EPackage_2005Labels.EPACKAGENAME_4006_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EPackage_2005Labels.EPACKAGENAME_4006_TEXT.equals(semanticHint)) { return 4006; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEPackage_2005ChildNodeID(semanticHint); } return getUnrecognizedEPackage_2005ChildNodeID(domainElement); - case 4006: - if (EcoreSemanticHints.EPackage_2005Labels.EPACKAGENAME_4006_TEXT.equals(semanticHint)) { - return 4006; - } - return -1; case 2006: - if (EcoreSemanticHints.EDataType_2006Labels.EDATATYPENAME_4007_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EDataType_2006Labels.EDATATYPENAME_4007_TEXT.equals(semanticHint)) { return 4007; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEDataType_2006ChildNodeID(semanticHint); } return getUnrecognizedEDataType_2006ChildNodeID(domainElement); - case 4007: - if (EcoreSemanticHints.EDataType_2006Labels.EDATATYPENAME_4007_TEXT.equals(semanticHint)) { - return 4007; - } - return -1; case 2007: - if (EcoreSemanticHints.EEnum_2007Labels.EENUMNAME_4008_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EEnum_2007Labels.EENUMNAME_4008_TEXT.equals(semanticHint)) { return 4008; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEEnum_2007ChildNodeID(semanticHint); } return getUnrecognizedEEnum_2007ChildNodeID(domainElement); - case 4008: - if (EcoreSemanticHints.EEnum_2007Labels.EENUMNAME_4008_TEXT.equals(semanticHint)) { - return 4008; - } - return -1; case 2008: - if (EcoreSemanticHints.EAnnotation_2008Labels.EANNOTATIONSOURCE_4009_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EAnnotation_2008Labels.EANNOTATIONSOURCE_4009_TEXT.equals(semanticHint)) { return 4009; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEAnnotation_2008ChildNodeID(semanticHint); } return getUnrecognizedEAnnotation_2008ChildNodeID(domainElement); - case 4009: - if (EcoreSemanticHints.EAnnotation_2008Labels.EANNOTATIONSOURCE_4009_TEXT.equals(semanticHint)) { - return 4009; - } - return -1; case 2009: - if (EcoreSemanticHints.EStringToStringMapEntry_2009Labels.ESTRINGTOSTRINGMAPENTRYKEY_4011_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EStringToStringMapEntry_2009Labels.ESTRINGTOSTRINGMAPENTRYKEY_4011_TEXT.equals(semanticHint)) { return 4011; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEStringToStringMapEntry_2009ChildNodeID(semanticHint); } return getUnrecognizedEStringToStringMapEntry_2009ChildNodeID(domainElement); - case 4011: - if (EcoreSemanticHints.EStringToStringMapEntry_2009Labels.ESTRINGTOSTRINGMAPENTRYKEY_4011_TEXT.equals(semanticHint)) { - return 4011; - } - return -1; case 2010: - if (EcoreSemanticHints.EAnnotation_2010Labels.EANNOTATIONSOURCE_4013_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EAnnotation_2010Labels.EANNOTATIONSOURCE_4013_TEXT.equals(semanticHint)) { return 4013; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEAnnotation_2010ChildNodeID(semanticHint); } return getUnrecognizedEAnnotation_2010ChildNodeID(domainElement); - case 4013: - if (EcoreSemanticHints.EAnnotation_2010Labels.EANNOTATIONSOURCE_4013_TEXT.equals(semanticHint)) { - return 4013; - } - return -1; case 2011: - if (EcoreSemanticHints.EEnumLiteral_2011Labels.EENUMLITERALNAME_4015_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EEnumLiteral_2011Labels.EENUMLITERALNAME_4015_TEXT.equals(semanticHint)) { return 4015; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEEnumLiteral_2011ChildNodeID(semanticHint); } return getUnrecognizedEEnumLiteral_2011ChildNodeID(domainElement); - case 4015: - if (EcoreSemanticHints.EEnumLiteral_2011Labels.EENUMLITERALNAME_4015_TEXT.equals(semanticHint)) { - return 4015; - } - return -1; case 2012: - if (EcoreSemanticHints.EAnnotation_2012Labels.EANNOTATIONSOURCE_4016_LABEL.equals(semanticHint)) { + if (EcoreSemanticHints.EAnnotation_2012Labels.EANNOTATIONSOURCE_4016_TEXT.equals(semanticHint)) { return 4016; } if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedEAnnotation_2012ChildNodeID(semanticHint); } return getUnrecognizedEAnnotation_2012ChildNodeID(domainElement); - case 4016: - if (EcoreSemanticHints.EAnnotation_2012Labels.EANNOTATIONSOURCE_4016_TEXT.equals(semanticHint)) { - return 4016; - } - return -1; case 5001: if (semanticHint != null && !"".equals(semanticHint)) { return getUnrecognizedAttributes_5001ChildNodeID(semanticHint); diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/providers/EcoreSemanticHints.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/providers/EcoreSemanticHints.java index 2ef29db0e..4a2166579 100644 --- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/providers/EcoreSemanticHints.java +++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/providers/EcoreSemanticHints.java @@ -25,11 +25,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EATTRIBUTENAME_4001_LABEL = "EAttributeName_4001Label"; - - /** - * @generated - */ public static final String EATTRIBUTENAME_4001_TEXT = "EAttributeName_4001Text"; } @@ -47,11 +42,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EOPERATIONNAME_4002_LABEL = "EOperationName_4002Label"; - - /** - * @generated - */ public static final String EOPERATIONNAME_4002_TEXT = "EOperationName_4002Text"; } @@ -69,11 +59,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EANNOTATIONSOURCE_4003_LABEL = "EAnnotationSource_4003Label"; - - /** - * @generated - */ public static final String EANNOTATIONSOURCE_4003_TEXT = "EAnnotationSource_4003Text"; } @@ -91,11 +76,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String ECLASSNAME_4005_LABEL = "EClassName_4005Label"; - - /** - * @generated - */ public static final String ECLASSNAME_4005_TEXT = "EClassName_4005Text"; } @@ -113,11 +93,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EPACKAGENAME_4006_LABEL = "EPackageName_4006Label"; - - /** - * @generated - */ public static final String EPACKAGENAME_4006_TEXT = "EPackageName_4006Text"; } @@ -135,11 +110,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EDATATYPENAME_4007_LABEL = "EDataTypeName_4007Label"; - - /** - * @generated - */ public static final String EDATATYPENAME_4007_TEXT = "EDataTypeName_4007Text"; } @@ -157,11 +127,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EENUMNAME_4008_LABEL = "EEnumName_4008Label"; - - /** - * @generated - */ public static final String EENUMNAME_4008_TEXT = "EEnumName_4008Text"; } @@ -179,11 +144,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EANNOTATIONSOURCE_4009_LABEL = "EAnnotationSource_4009Label"; - - /** - * @generated - */ public static final String EANNOTATIONSOURCE_4009_TEXT = "EAnnotationSource_4009Text"; } @@ -201,11 +161,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String ESTRINGTOSTRINGMAPENTRYKEY_4011_LABEL = "EStringToStringMapEntryKey_4011Label"; - - /** - * @generated - */ public static final String ESTRINGTOSTRINGMAPENTRYKEY_4011_TEXT = "EStringToStringMapEntryKey_4011Text"; } @@ -223,11 +178,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EANNOTATIONSOURCE_4013_LABEL = "EAnnotationSource_4013Label"; - - /** - * @generated - */ public static final String EANNOTATIONSOURCE_4013_TEXT = "EAnnotationSource_4013Text"; } @@ -245,11 +195,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EENUMLITERALNAME_4015_LABEL = "EEnumLiteralName_4015Label"; - - /** - * @generated - */ public static final String EENUMLITERALNAME_4015_TEXT = "EEnumLiteralName_4015Text"; } @@ -267,11 +212,6 @@ public class EcoreSemanticHints { /** * @generated */ - public static final String EANNOTATIONSOURCE_4016_LABEL = "EAnnotationSource_4016Label"; - - /** - * @generated - */ public static final String EANNOTATIONSOURCE_4016_TEXT = "EAnnotationSource_4016Text"; } |