<?xml version="1.0" encoding="UTF-8"?> | |
<gmfgen:GenEditorGenerator | |
xmi:version="2.0" | |
xmlns:xmi="http://www.omg.org/XMI" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel" | |
copyrightText=""> | |
<diagram | |
visualID="1000" | |
editPartClassName="VocabularyEditPart" | |
itemSemanticEditPolicyClassName="VocabularyItemSemanticEditPolicy" | |
canonicalEditPolicyClassName="VocabularyCanonicalEditPolicy" | |
iconProviderPriority="Low" | |
validationProviderPriority="Low" | |
validationEnabled="true" | |
validationDecorators="true" | |
liveValidationUIFeedback="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="VocabularyEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:FigureViewmap" | |
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> | |
<containsShortcutsTo>vocabulary</containsShortcutsTo> | |
<shortcutsProvidedFor>vocabulary</shortcutsProvidedFor> | |
<domainDiagramElement | |
href="vocabulary.genmodel#//vocabulary/Vocabulary"/> | |
<topLevelNodes | |
visualID="2001" | |
editPartClassName="TermEditPart" | |
itemSemanticEditPolicyClassName="TermItemSemanticEditPolicy" | |
canonicalEditPolicyClassName="TermCanonicalEditPolicy" | |
graphicalNodeEditPolicyClassName="TermGraphicalNodeEditPolicy" | |
createCommandClassName="TermCreateCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="TermEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermFigure" | |
classBody="
/**
 * @generated
 */
public class TermFigure extends org.eclipse.draw2d.RoundedRectangle {


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


	/**
	 * @generated
	 */
	public TermFigure() {
				this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
	this.setBackgroundColor(THIS_BACK
);
this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureTermLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();

fFigureTermLabelFigure.setText("Term");

this.add(fFigureTermLabelFigure);



fFigureTermDefinitionsLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();

fFigureTermDefinitionsLabelFigure.setText("");

this.add(fFigureTermDefinitionsLabelFigure);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureTermLabelFigure() {
		return fFigureTermLabelFigure;
	}
	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureTermDefinitionsLabelFigure() {
		return fFigureTermDefinitionsLabelFigure;
	}


}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 245, 245, 245);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedBackground="true"/> | |
</viewmap> | |
<modelFacet> | |
<metaClass | |
href="vocabulary.genmodel#//vocabulary/Term"/> | |
<containmentMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/terms"/> | |
<childMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/terms"/> | |
</modelFacet> | |
<labels | |
visualID="5001" | |
editPartClassName="TermNameEditPart" | |
itemSemanticEditPolicyClassName="TermNameItemSemanticEditPolicy"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:ParentAssignedViewmap" | |
getterName="getFigureTermLabelFigure" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
parser="//@labelParsers/@implementations.0"> | |
<metaFeatures | |
href="vocabulary.genmodel#//vocabulary/VocabularyElement/name"/> | |
</modelFacet> | |
</labels> | |
<labels | |
visualID="5002" | |
editPartClassName="TermDefinitionsEditPart" | |
itemSemanticEditPolicyClassName="TermDefinitionsItemSemanticEditPolicy"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:ParentAssignedViewmap" | |
getterName="getFigureTermDefinitionsLabelFigure" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
parser="//@labelParsers/@implementations.0"> | |
<metaFeatures | |
href="vocabulary.genmodel#//vocabulary/Term/definitions"/> | |
</modelFacet> | |
</labels> | |
</topLevelNodes> | |
<topLevelNodes | |
visualID="2002" | |
editPartClassName="CategoryEditPart" | |
itemSemanticEditPolicyClassName="CategoryItemSemanticEditPolicy" | |
canonicalEditPolicyClassName="CategoryCanonicalEditPolicy" | |
graphicalNodeEditPolicyClassName="CategoryGraphicalNodeEditPolicy" | |
createCommandClassName="CategoryCreateCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="CategoryEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="CategoryFigure" | |
classBody="
/**
 * @generated
 */
public class CategoryFigure extends org.eclipse.draw2d.RoundedRectangle {


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


	/**
	 * @generated
	 */
	public CategoryFigure() {
				this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
	this.setBackgroundColor(THIS_BACK
);
this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureCategoryLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();

fFigureCategoryLabelFigure.setText("Category");

this.add(fFigureCategoryLabelFigure);


	}





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


}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 252, 252, 230);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedBackground="true"/> | |
</viewmap> | |
<modelFacet> | |
<metaClass | |
href="vocabulary.genmodel#//vocabulary/Category"/> | |
<containmentMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/categories"/> | |
<childMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/categories"/> | |
</modelFacet> | |
<labels | |
visualID="5003" | |
editPartClassName="CategoryNameEditPart" | |
itemSemanticEditPolicyClassName="CategoryNameItemSemanticEditPolicy"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:ParentAssignedViewmap" | |
getterName="getFigureCategoryLabelFigure" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
parser="//@labelParsers/@implementations.0"> | |
<metaFeatures | |
href="vocabulary.genmodel#//vocabulary/VocabularyElement/name"/> | |
</modelFacet> | |
</labels> | |
</topLevelNodes> | |
<topLevelNodes | |
visualID="2003" | |
editPartClassName="SourceOfDefinitionEditPart" | |
itemSemanticEditPolicyClassName="SourceOfDefinitionItemSemanticEditPolicy" | |
canonicalEditPolicyClassName="SourceOfDefinitionCanonicalEditPolicy" | |
graphicalNodeEditPolicyClassName="SourceOfDefinitionGraphicalNodeEditPolicy" | |
createCommandClassName="SourceOfDefinitionCreateCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<elementType | |
xsi:type="gmfgen:MetamodelType" | |
editHelperClassName="SourceOfDefinitionEditHelper"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="SourceOfDefinitionFigure" | |
classBody="
/**
 * @generated
 */
public class SourceOfDefinitionFigure extends org.eclipse.draw2d.RoundedRectangle {


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


	/**
	 * @generated
	 */
	public SourceOfDefinitionFigure() {
				this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)
, getMapMode().DPtoLP(8)
));
	this.setBackgroundColor(THIS_BACK
);
this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
, getMapMode().DPtoLP(5)
));
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureSourceOfDefinitionLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();

fFigureSourceOfDefinitionLabelFigure.setText("SourceOfDefinition");

this.add(fFigureSourceOfDefinitionLabelFigure);



fFigureSourceOfDefinitionUriLabelFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();

fFigureSourceOfDefinitionUriLabelFigure.setText("");

this.add(fFigureSourceOfDefinitionUriLabelFigure);


	}





	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureSourceOfDefinitionLabelFigure() {
		return fFigureSourceOfDefinitionLabelFigure;
	}
	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureSourceOfDefinitionUriLabelFigure() {
		return fFigureSourceOfDefinitionUriLabelFigure;
	}


}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 240, 252, 240);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedBackground="true"/> | |
</viewmap> | |
<modelFacet> | |
<metaClass | |
href="vocabulary.genmodel#//vocabulary/SourceOfDefinition"/> | |
<containmentMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/sourcesOfDefinition"/> | |
<childMetaFeature | |
href="vocabulary.genmodel#//vocabulary/Vocabulary/sourcesOfDefinition"/> | |
</modelFacet> | |
<labels | |
visualID="5004" | |
editPartClassName="SourceOfDefinitionNameEditPart" | |
itemSemanticEditPolicyClassName="SourceOfDefinitionNameItemSemanticEditPolicy"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:ParentAssignedViewmap" | |
getterName="getFigureSourceOfDefinitionLabelFigure" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
parser="//@labelParsers/@implementations.0"> | |
<metaFeatures | |
href="vocabulary.genmodel#//vocabulary/VocabularyElement/name"/> | |
</modelFacet> | |
</labels> | |
<labels | |
visualID="5005" | |
editPartClassName="SourceOfDefinitionUriEditPart" | |
itemSemanticEditPolicyClassName="SourceOfDefinitionUriItemSemanticEditPolicy"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:ParentAssignedViewmap" | |
getterName="getFigureSourceOfDefinitionUriLabelFigure" | |
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLabelModelFacet" | |
parser="//@labelParsers/@implementations.0"> | |
<metaFeatures | |
href="vocabulary.genmodel#//vocabulary/SourceOfDefinition/uri"/> | |
</modelFacet> | |
</labels> | |
</topLevelNodes> | |
<links | |
visualID="4001" | |
editPartClassName="CategoryTermsEditPart" | |
itemSemanticEditPolicyClassName="CategoryTermsItemSemanticEditPolicy" | |
createCommandClassName="CategoryTermsCreateCommand" | |
reorientCommandClassName="CategoryTermsReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="CategoryTermsFigure" | |
classBody="
/**
 * @generated
 */
public class CategoryTermsFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public CategoryTermsFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Category/terms"/> | |
</modelFacet> | |
<labels | |
visualID="6001" | |
editPartClassName="CategoryTermsExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="CategoryTermsExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="CategoryTermsExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class CategoryTermsExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public CategoryTermsExternalLabelFigure() {
				this.setText("categorized term");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<links | |
visualID="4002" | |
editPartClassName="CategorySubCategoriesEditPart" | |
itemSemanticEditPolicyClassName="CategorySubCategoriesItemSemanticEditPolicy" | |
createCommandClassName="CategorySubCategoriesCreateCommand" | |
reorientCommandClassName="CategorySubCategoriesReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="CategorySubCategoriesFigure" | |
classBody="
/**
 * @generated
 */
public class CategorySubCategoriesFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public CategorySubCategoriesFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Category/subCategories"/> | |
</modelFacet> | |
<labels | |
visualID="6002" | |
editPartClassName="CategorySubCategoriesExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="CategorySubCategoriesExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="CategorySubCategoriesExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class CategorySubCategoriesExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public CategorySubCategoriesExternalLabelFigure() {
				this.setText("subcategory");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<links | |
visualID="4003" | |
editPartClassName="TermDefinedByEditPart" | |
itemSemanticEditPolicyClassName="TermDefinedByItemSemanticEditPolicy" | |
createCommandClassName="TermDefinedByCreateCommand" | |
reorientCommandClassName="TermDefinedByReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermDefinedByFigure" | |
classBody="
/**
 * @generated
 */
public class TermDefinedByFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public TermDefinedByFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Term/definedBy"/> | |
</modelFacet> | |
<labels | |
visualID="6003" | |
editPartClassName="TermDefinedByExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="TermDefinedByExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermDefinedByExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class TermDefinedByExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public TermDefinedByExternalLabelFigure() {
				this.setText("defined by");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<links | |
visualID="4004" | |
editPartClassName="TermIsAEditPart" | |
itemSemanticEditPolicyClassName="TermIsAItemSemanticEditPolicy" | |
createCommandClassName="TermIsACreateCommand" | |
reorientCommandClassName="TermIsAReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermIsAFigure" | |
classBody="
/**
 * @generated
 */
public class TermIsAFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public TermIsAFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Term/isA"/> | |
</modelFacet> | |
<labels | |
visualID="6004" | |
editPartClassName="TermIsAExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="TermIsAExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermIsAExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class TermIsAExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public TermIsAExternalLabelFigure() {
				this.setText("is a");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<links | |
visualID="4005" | |
editPartClassName="TermHasAEditPart" | |
itemSemanticEditPolicyClassName="TermHasAItemSemanticEditPolicy" | |
createCommandClassName="TermHasACreateCommand" | |
reorientCommandClassName="TermHasAReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermHasAFigure" | |
classBody="
/**
 * @generated
 */
public class TermHasAFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public TermHasAFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Term/hasA"/> | |
</modelFacet> | |
<labels | |
visualID="6005" | |
editPartClassName="TermHasAExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="TermHasAExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermHasAExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class TermHasAExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public TermHasAExternalLabelFigure() {
				this.setText("has a");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<links | |
visualID="4006" | |
editPartClassName="TermRefersToEditPart" | |
itemSemanticEditPolicyClassName="TermRefersToItemSemanticEditPolicy" | |
createCommandClassName="TermRefersToCreateCommand" | |
reorientCommandClassName="TermRefersToReorientCommand"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> | |
<elementType | |
xsi:type="gmfgen:SpecializationType"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermRefersToFigure" | |
classBody="
/**
 * @generated
 */
public class TermRefersToFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public TermRefersToFigure() {
			this.setForegroundColor(THIS_FORE
);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_FORE = new org.eclipse.swt.graphics.Color(null, 50, 50, 50);

"> | |
<attributes | |
xsi:type="gmfgen:StyleAttributes" | |
fixedForeground="true"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:FeatureLinkModelFacet"> | |
<metaFeature | |
href="vocabulary.genmodel#//vocabulary/Term/refersTo"/> | |
</modelFacet> | |
<labels | |
visualID="6006" | |
editPartClassName="TermRefersToExternalLabelEditPart" | |
itemSemanticEditPolicyClassName="TermRefersToExternalLabelItemSemanticEditPolicy" | |
readOnly="true"> | |
<diagramRunTimeClass | |
href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> | |
<viewmap | |
xsi:type="gmfgen:InnerClassViewmap" | |
className="TermRefersToExternalLabelFigure" | |
classBody="
/**
 * @generated
 */
public class TermRefersToExternalLabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {




	/**
	 * @generated
	 */
	public TermRefersToExternalLabelFigure() {
				this.setText("refers to");
	}







}

"> | |
<attributes | |
xsi:type="gmfgen:LabelOffsetAttributes" | |
y="40"/> | |
</viewmap> | |
<modelFacet | |
xsi:type="gmfgen:DesignLabelModelFacet" | |
parser="//@labelParsers/@implementations.1"/> | |
</labels> | |
</links> | |
<palette> | |
<groups | |
title="Objects" | |
collapse="true"> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="Category" | |
description="Create a category for terms." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/famfamfam_silk_icons_v013/icons/folder.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/famfamfam_silk_icons_v013/icons/folder.png" | |
genNodes="//@diagram/@topLevelNodes.1"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="Source of Definition" | |
description="Create a sorce of definitions where the terms were originally defined." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/famfamfam_silk_icons_v013/icons/book_next.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/famfamfam_silk_icons_v013/icons/book_next.png" | |
genNodes="//@diagram/@topLevelNodes.2"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="Term" | |
description="Create a term." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/gray_text.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/gray_text.png" | |
genNodes="//@diagram/@topLevelNodes.0"/> | |
</groups> | |
<groups | |
title="Connections" | |
collapse="true"> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="categorized term" | |
description="Create a connection between a category and a term." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.0"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="defined by" | |
description="Create a 'defined by' relationship between a term and its source of definition." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.2"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="has a" | |
description="Create a 'has a' relationship between two terms." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.4"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="is a" | |
description="Create a 'is a' relationship between two terms." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.3"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="refers to" | |
description="Create a 'refers to' relationship between two terms." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.5"/> | |
<entries | |
xsi:type="gmfgen:ToolEntry" | |
title="subcategory" | |
description="Create a subcategory relationship between two categories." | |
largeIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
smallIconPath="/org.eclipse.opencert.vocabulary/icons/link.png" | |
genLinks="//@diagram/@links.1"/> | |
</groups> | |
</palette> | |
<preferencePages | |
xsi:type="gmfgen:GenStandardPreferencePage" | |
iD="org.eclipse.opencert.vocabulary.diagram.general" | |
name="Vocabulary Diagram"> | |
<children | |
xsi:type="gmfgen:GenStandardPreferencePage" | |
iD="org.eclipse.opencert.vocabulary.diagram.appearance" | |
name="Appearance" | |
kind="Appearance"/> | |
<children | |
xsi:type="gmfgen:GenStandardPreferencePage" | |
iD="org.eclipse.opencert.vocabulary.diagram.connections" | |
name="Connections" | |
kind="Connections"/> | |
<children | |
xsi:type="gmfgen:GenStandardPreferencePage" | |
iD="org.eclipse.opencert.vocabulary.diagram.printing" | |
name="Printing" | |
kind="Printing"/> | |
<children | |
xsi:type="gmfgen:GenStandardPreferencePage" | |
iD="org.eclipse.opencert.vocabulary.diagram.rulersAndGrid" | |
name="Rulers And Grid" | |
kind="RulersAndGrid"/> | |
</preferencePages> | |
</diagram> | |
<plugin | |
printingEnabled="true"> | |
<requiredPlugins>org.eclipse.gmf.tooling.runtime</requiredPlugins> | |
<requiredPlugins>org.eclipse.draw2d</requiredPlugins> | |
<requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins> | |
</plugin> | |
<editor/> | |
<navigator> | |
<childReferences | |
child="//@diagram"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@topLevelNodes.0"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@topLevelNodes.1"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@topLevelNodes.2"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.0" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.0" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.0" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.0" | |
child="//@diagram/@topLevelNodes.1" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.1" | |
child="//@diagram/@links.0" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.1" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.1" | |
child="//@diagram/@topLevelNodes.1" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.1" | |
child="//@diagram/@links.1" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.1" | |
child="//@diagram/@topLevelNodes.1" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.1" | |
child="//@diagram/@links.1" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.2" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.2" | |
child="//@diagram/@topLevelNodes.2" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.2" | |
child="//@diagram/@links.2" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.2" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.2" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.3" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.3" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.3" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.3" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.3" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.4" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.4" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.4" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.4" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.4" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram" | |
child="//@diagram/@links.5" | |
groupName="links" | |
groupIcon="icons/linksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.5" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="out_target" | |
groupName="target" | |
groupIcon="icons/linkTargetNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.5" | |
referenceType="in_source" | |
groupName="incoming links" | |
groupIcon="icons/incomingLinksNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@links.5" | |
child="//@diagram/@topLevelNodes.0" | |
referenceType="in_source" | |
groupName="source" | |
groupIcon="icons/linkSourceNavigatorGroup.gif"/> | |
<childReferences | |
parent="//@diagram/@topLevelNodes.0" | |
child="//@diagram/@links.5" | |
referenceType="out_target" | |
groupName="outgoing links" | |
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> | |
</navigator> | |
<diagramUpdater/> | |
<propertySheet> | |
<tabs | |
xsi:type="gmfgen:GenStandardPropertyTab" | |
iD="appearance"/> | |
<tabs | |
xsi:type="gmfgen:GenStandardPropertyTab" | |
iD="diagram"/> | |
<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="vocabulary.genmodel#/"/> | |
<labelParsers | |
extensibleViaService="true"> | |
<implementations | |
xsi:type="gmfgen:PredefinedParser" | |
uses="//@diagram/@topLevelNodes.0/@labels.0/@modelFacet //@diagram/@topLevelNodes.0/@labels.1/@modelFacet //@diagram/@topLevelNodes.1/@labels.0/@modelFacet //@diagram/@topLevelNodes.2/@labels.0/@modelFacet //@diagram/@topLevelNodes.2/@labels.1/@modelFacet"/> | |
<implementations | |
xsi:type="gmfgen:ExternalParser" | |
uses="//@diagram/@links.0/@labels.0/@modelFacet //@diagram/@links.1/@labels.0/@modelFacet //@diagram/@links.2/@labels.0/@modelFacet //@diagram/@links.3/@labels.0/@modelFacet //@diagram/@links.4/@labels.0/@modelFacet //@diagram/@links.5/@labels.0/@modelFacet"/> | |
</labelParsers> | |
<contextMenus | |
context="//@diagram"> | |
<items | |
xsi:type="gmfgen:LoadResourceAction"/> | |
</contextMenus> | |
</gmfgen:GenEditorGenerator> |