| <?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="SystemEditPart" |
| itemSemanticEditPolicyClassName="SystemItemSemanticEditPolicy" |
| canonicalEditPolicyClassName="SystemCanonicalEditPolicy" |
| 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="SystemEditHelper"/> |
| <viewmap |
| xsi:type="gmfgen:FigureViewmap" |
| figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> |
| <containsShortcutsTo>widgets</containsShortcutsTo> |
| <shortcutsProvidedFor>widgets</shortcutsProvidedFor> |
| <domainDiagramElement |
| href="widgets.genmodel#//widgets/System"/> |
| <topLevelNodes |
| visualID="2001" |
| editPartClassName="WidgetEditPart" |
| itemSemanticEditPolicyClassName="WidgetItemSemanticEditPolicy" |
| canonicalEditPolicyClassName="WidgetCanonicalEditPolicy" |
| graphicalNodeEditPolicyClassName="WidgetGraphicalNodeEditPolicy" |
| createCommandClassName="WidgetCreateCommand"> |
| <diagramRunTimeClass |
| href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> |
| <elementType |
| xsi:type="gmfgen:MetamodelType" |
| editHelperClassName="WidgetEditHelper"/> |
| <viewmap |
| xsi:type="gmfgen:InnerClassViewmap" |
| className="WidgetFigure" |
| classBody="
/**
 * @generated
 */
public class WidgetFigure extends org.eclipse.draw2d.RoundedRectangle {


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


	/**
	 * @generated
	 */
	public WidgetFigure() {
		
	widgets.custom.layouts.CentredLayout layoutThis = new widgets.custom.layouts.CentredLayout();
	this.setLayoutManager(layoutThis);

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


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

fFigureWidgetLabelFigure.setText("Widget");

this.add(fFigureWidgetLabelFigure);


	}





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


}

"/> |
| <modelFacet> |
| <metaClass |
| href="widgets.genmodel#//widgets/Widget"/> |
| <containmentMetaFeature |
| href="widgets.genmodel#//widgets/System/widgets"/> |
| <childMetaFeature |
| href="widgets.genmodel#//widgets/System/widgets"/> |
| </modelFacet> |
| <labels |
| visualID="5001" |
| editPartClassName="WidgetNameEditPart" |
| itemSemanticEditPolicyClassName="WidgetNameItemSemanticEditPolicy"> |
| <diagramRunTimeClass |
| href="platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> |
| <viewmap |
| xsi:type="gmfgen:ParentAssignedViewmap" |
| getterName="getFigureWidgetLabelFigure" |
| figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> |
| <modelFacet |
| xsi:type="gmfgen:FeatureLabelModelFacet" |
| parser="//@labelParsers/@implementations.0"> |
| <metaFeatures |
| href="widgets.genmodel#//widgets/Widget/name"/> |
| </modelFacet> |
| </labels> |
| </topLevelNodes> |
| <palette> |
| <groups |
| title="Objects" |
| collapse="true"> |
| <entries |
| xsi:type="gmfgen:ToolEntry" |
| title="Widget" |
| description="Create new Widget" |
| genNodes="//@diagram/@topLevelNodes.0"/> |
| </groups> |
| </palette> |
| <preferencePages |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.epsilon.eugenia.examples.centred.diagram.general" |
| name="Widgets Diagram"> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.epsilon.eugenia.examples.centred.diagram.appearance" |
| name="Appearance" |
| kind="Appearance"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.epsilon.eugenia.examples.centred.diagram.connections" |
| name="Connections" |
| kind="Connections"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.epsilon.eugenia.examples.centred.diagram.printing" |
| name="Printing" |
| kind="Printing"/> |
| <children |
| xsi:type="gmfgen:GenStandardPreferencePage" |
| iD="org.eclipse.epsilon.eugenia.examples.centred.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> |
| </plugin> |
| <editor/> |
| <navigator> |
| <childReferences |
| child="//@diagram"/> |
| <childReferences |
| parent="//@diagram" |
| child="//@diagram/@topLevelNodes.0"/> |
| </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="widgets.genmodel#/"/> |
| <labelParsers |
| extensibleViaService="true"> |
| <implementations |
| xsi:type="gmfgen:PredefinedParser" |
| uses="//@diagram/@topLevelNodes.0/@labels.0/@modelFacet"/> |
| </labelParsers> |
| <contextMenus |
| context="//@diagram"> |
| <items |
| xsi:type="gmfgen:LoadResourceAction"/> |
| </contextMenus> |
| </gmfgen:GenEditorGenerator> |