Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 62857 Details for
Bug 173499
Enhance org.eclipse.gmf.graphdef.editor with other figures, colors support and more usable properties organization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Provided joint metamodel for describing property sheets, styles and layout (!) property tabs completed with this concept
org.eclipse.gmf.graphdef.editor.model.txt (text/plain), 514.92 KB, created by
Anna Karjakina
on 2007-04-03 22:16:22 EDT
(
hide
)
Description:
Provided joint metamodel for describing property sheets, styles and layout (!) property tabs completed with this concept
Filename:
MIME Type:
Creator:
Anna Karjakina
Created:
2007-04-03 22:16:22 EDT
Size:
514.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.graphdef.editor >Index: templates/aspects/xpt/propsheet/Utils.ext >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.graphdef.editor/templates/aspects/xpt/propsheet/Utils.ext,v >retrieving revision 1.1 >diff -u -r1.1 Utils.ext >--- templates/aspects/xpt/propsheet/Utils.ext 2 Mar 2007 15:39:20 -0000 1.1 >+++ templates/aspects/xpt/propsheet/Utils.ext 4 Apr 2007 02:10:23 -0000 >@@ -10,23 +10,295 @@ > * Anna Karjakina (Borland) - initial API and implementation > */ > >+import "http://www.eclipse.org/gmf/2007/GmfGraph/PropSheet"; > import "http://www.eclipse.org/gmf/2005/GraphicalDefinition"; > import "http://www.eclipse.org/gmf/2005/GenModel/2.0"; > import "http://www.eclipse.org/emf/2002/GenModel"; > import "http://www.eclipse.org/emf/2002/Ecore"; > >-boolean isLayoutTab(gmfgen::GenCustomPropertyTab tab) : >-"layout" == tab.iD >-; >+extension xpt::GenModelUtils; > > boolean isPointTab(gmfgen::GenCustomPropertyTab tab) : > "points" == tab.iD > ; > >-boolean isViewTab(gmfgen::GenCustomPropertyTab tab) : >-"view" == tab.iD >+boolean isGeneratedTab(gmfgen::GenCustomPropertyTab tab) : >+"genLayout" == tab.iD || "genStyles" == tab.iD >+; >+ >+cached List[propsheet::Sectionable] collectAllParents(propsheet::Sectionable sectionable) : >+sectionable.parent == null ? {sectionable} : collectAllParents(sectionable.parent, {sectionable}) >+; >+ >+private List[propsheet::Sectionable] collectAllParents(propsheet::Group target, List[propsheet::Sectionable] parents) : >+parents.add(target) -> (target.parent == null ? parents : collectAllParents(target.parent, parents)) >+; >+ >+private String concatReverse(Collection[Object] coll) : >+let list = coll.toList() : >+ list.isEmpty() ? "" : (((String) list.last()) + concatReverse(list.withoutLast())) >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::Group modelElementOwner) : >+modelElementOwner.modelMediator >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::Radio modelElementOwner) : >+modelElementOwner.modelElement >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::Checkbox modelElementOwner) : >+modelElementOwner.modelElement >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::Spin modelElementOwner) : >+modelElementOwner.modelElement >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::TextField modelElementOwner) : >+modelElementOwner.modelElement >+; >+ >+cached propsheet::FeatureReference getModelElement(propsheet::Sectionable modelElementOwner) : >+null >+; >+ >+cached String getQualifiedInterfaceName(genmodel::GenClassifier classifier) : >+classifier.genPackage.basePackage+"."+classifier.genPackage.ecorePackage.name+(classifier.genPackage.interfacePackageSuffix != "" ? "."+classifier.genPackage.interfacePackageSuffix : "")+"."+getName(classifier) >+; >+ >+cached String getQualifiedClassifierCreaterName(genmodel::GenClassifier classifier) : >+classifier == null ? "null" : getQualifiedFactoryInterfaceName(classifier.genPackage) + ".eINSTANCE.create" + getName(classifier) + "()" >+; >+ >+cached String getName(genmodel::GenClass genClass) : >+getEClassifierName(genClass.ecoreClass) >+; >+ >+cached String getName(genmodel::GenEnum enum) : >+getEClassifierName(enum.ecoreEnum) >+; >+ >+cached String getName(genmodel::GenDataType dataType) : >+getEClassifierName(dataType.ecoreDataType) >+; >+ >+cached String getName(genmodel::GenClassifier abstract) : >+"AAA"+abstract.toString()+"AAA" >+; >+ >+private cached String getFeatureName(genmodel::GenFeature genFeature) : >+genFeature.ecoreFeature.name >+; >+ >+private cached String getEClassifierName(ecore::EClassifier classifier) : >+ switch (classifier.name) { >+ case "Class" : "Class_" >+ case "Name" : "Name_" >+ default : classifier.name >+ } >+; >+ >+// TODO: completely rewrite this very bad-styled function!!! >+cached String getSetterAccessor(genmodel::GenFeature feature) : >+feature == null ? "" : ( >+let getAccessor = feature.getGetAccessor() : >+getAccessor.startsWith("get|is") ? getAccessor.replaceFirst("get|is", "set") : "set" + feature.ecoreFeature.name.toFirstUpper() >+) >+; >+ >+// TODO: completely rewrite this very bad-styled function!!! >+cached String getSetterAccessor(String getAccessor, String accessorName) : >+getAccessor.replaceFirst("[.](get|is)" + accessorName + "[(][)]", ".set" + accessorName) >+; >+ >+// TODO: add Java5 check: @see GenEnumLiteralImpl.getEnumLiteralInstanceConstantName() >+cached String getEnumLiteralInstanceConstantName(genmodel::GenEnumLiteral genLiteral) : >+genLiteral.getEnumLiteral().replaceAll(" ", "_").toUpperCase() + "_LITERAL" >+; >+ >+cached propsheet::CustomPropertySection getCustomPropertySection(propsheet::Sectionable sectionable) : >+sectionable.parent == null ? ((propsheet::CustomPropertySection) sectionable) : getCustomPropertySection(sectionable.parent) >+; >+ >+boolean createLabel(propsheet::Text text) : >+text != null ? text.createLabel : true >+; >+ >+boolean isVisibleOnlyForTargets(propsheet::Group group) : >+group.modelMediator != null ? group.modelMediator.visibleOnlyForTargets : false >+; >+ >+String name(propsheet::Sectionable sectionable) : >+sectionable != null ? generateVarName(sectionable) : "" >+; >+ >+// TODO: implement generation of variable names >+private cached String generateVarName(propsheet::Sectionable sectionable) : >+((sectionable.name == null || "" == sectionable.name) && getModelElement(sectionable) == null && getText(sectionable) == null) ? >+ "UnableToGenerateName" : composeVarName(buildMiddlePart(sectionable), sectionable) >+; >+ >+private cached propsheet::Text getText(propsheet::Sectionable sectionable) : >+null >+; >+ >+private cached propsheet::Text getText(propsheet::Labeled sectionable) : >+sectionable.text >+; >+ >+private getTextValueForVar(propsheet::Text text) : >+((String)text.overridedItemProviderText).replaceAll(" ", "") >+; >+ >+private cached String composeVarName(String middlePart, propsheet::Sectionable sectionable) : >+getVarPrefix()+middlePart.toFirstUpper()+getSectionableKindSuffix(sectionable) >+; >+ >+private cached String buildMiddlePart(propsheet::Sectionable sectionable) : >+getMiddlePart(sectionable).toFirstUpper().replaceAll("[ _]", "") + (sectionable.parent != null && sectionable.parent.parent != null ? buildMiddlePart(sectionable.parent) : "") >+; >+ >+private cached String getMiddlePart(propsheet::Sectionable sectionable) : >+(sectionable.name == null || "" == sectionable.name || sectionable.name.matches("^\\d+$")) ? >+ (getModelElement(sectionable) == null ? >+ (getText(sectionable) == null ? >+ (sectionable.name == null || "" == sectionable.name ? "UnableToGenerateName" : sectionable.name) : >+ getTextValueForVar(getText(sectionable))) : >+ getModelElementNameForVar(getModelElement(sectionable))) : >+ sectionable.name >+; >+ >+private cached String getVarPrefix() : >+"my" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Sectionable sectionable) : >+"" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Group sectionable) : >+createLabel(sectionable.text) ? (isExpandable(sectionable) ? "ExpandableComposite" : "Group") : "Composite" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Radio sectionable) : >+"Radio" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Checkbox sectionable) : >+"Checkbox" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Spin sectionable) : >+"Spin" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::TextField sectionable) : >+"Text" >+; >+ >+private cached String getSectionableKindSuffix(propsheet::Label sectionable) : >+"Label" >+; >+ >+private cached String getModelElementNameForVar(propsheet::IsFeatureOfTypeReference featureRef) : >+getName(featureRef.isOfType) >+; >+ >+private cached String getModelElementNameForVar(propsheet::IsFeatureIsOfKindReference featureRef) : >+featureRef.isOfValue.getEnumLiteral().toFirstUpper() >+; >+ >+private cached String getModelElementNameForVar(propsheet::ModelMediatorFeature featureRef) : >+(featureRef.cast != null ? getName(featureRef.cast) : "") + >+(featureRef.feature != null ? getFeatureName(featureRef.feature).toFirstUpper() : "") >+; >+ >+private cached String getModelElementNameForVar(propsheet::FeatureReference featureRef) : >+getFeatureName(featureRef.feature).toFirstUpper() >+; >+ >+cached String getFormattedName(genmodel::GenFeature genFeature) : >+getFeatureName(genFeature) == null ? "" : format(getFeatureName(genFeature).toFirstUpper()) >+; >+ >+cached String getFormattedName(genmodel::GenClassifier genClassifier) : >+getName(genClassifier) == null ? "" : format(getName(genClassifier)) >+; >+ >+//TODO: invoke CodeGenUtil.format(mixedCaseName, ' ', null, false, false), like GenFeatureImpl does >+private String format(String mixedCaseString) : >+mixedCaseString >+; >+ >+cached String getEnumLiteral(genmodel::GenEnumLiteral genLiteral) : >+genLiteral.ecoreEnumLiteral.literal >+; >+ >+cached String getEnumLiteralFriendlyName(genmodel::GenEnumLiteral genLiteral) : >+getEnumLiteral(genLiteral).toLowerCase().toFirstUpper() >+; >+ >+cached String composeModelCall(propsheet::Sectionable sectionable, String targetVar) : >+targetVar >+; >+ >+cached genmodel::GenClassifier getTarget(propsheet::Group group) : >+group.getModelMediator().cast >+; >+ >+cached List[propsheet::Group] collectAllParentGroups(propsheet::Sectionable sectionable) : >+sectionable.parent == null ? {} : collectAllParentGroups(sectionable.parent, {}) >+; >+ >+private cached List[propsheet::Group] collectAllParentGroups(propsheet::Group group, List[propsheet::Group] collected) : >+group.parent == null ? collected : collectAllParentGroups(group.parent, collected).add(group) >+; >+ >+cached propsheet::ModelMediatorFeature findModelMediator(propsheet::Group group) : >+group.modelMediator == null ? (group.parent == null ? null : getModelMediator(group.parent)) : group.modelMediator >+; >+ >+cached propsheet::ModelMediatorFeature getModelMediator(propsheet::Group group) : >+group.modelMediator >+; >+ >+cached genmodel::GenClassifier expectedType(propsheet::ModelMediatorFeature modelElement) : >+modelElement.cast != null ? modelElement.cast : (modelElement.feature != null ? modelElement.feature.getTypeGenClassifier() : null) >+; >+ >+cached genmodel::GenClassifier getTypeGenClassifier(genmodel::GenFeature genFeature) : >+findGenClassifier(genFeature.genClass.genPackage.genModel, genFeature.ecoreFeature.eType) >+; >+ >+cached String expectedTypeName(propsheet::ModelMediatorFeature modelElement) : >+modelElement.expectedType() != null ? modelElement.expectedType().getQualifiedInterfaceName() : "/* XXX: Error: Useless ModelMediator with no feature or cast reference found*/ Object" >+; >+ >+cached String expectedTypeVar(propsheet::ModelMediatorFeature modelElement) : >+modelElement.expectedType() != null ? modelElement.expectedType().getName().toFirstLower() : "unknownTypeVar" >+; >+ >+cached String castedVarCall(propsheet::ModelMediatorFeature modelElement, String elementName) : >+modelElement.cast == null ? elementName : "(("+modelElement.cast.getQualifiedInterfaceName()+")"+elementName+")" >+; >+ >+cached String castedVarFeatureCall(propsheet::ModelMediatorFeature modelElement, String varName) : >+modelElement.castedVarCall(varName) + modelElement.addFeatureCall() >+; >+ >+cached String addFeatureCall(propsheet::FeatureReference modelElement) : >+modelElement.feature != null ? "."+modelElement.feature.getGetAccessor()+"()" : "" >+; >+ >+boolean isExpandable(propsheet::Group group) : >+group.expandable >+; >+ >+boolean isNullCheck(propsheet::IsFeatureOfTypeReference ofType) : >+ofType.feature == null && ofType.isOfType == null > ; > >-boolean isCustomTab(gmfgen::GenCustomPropertyTab tab) : >-"custom" == tab.iD >+boolean isNullCheck(propsheet::Reference ofType) : >+false > ; >Index: templates/aspects/xpt/propsheet/PropertySection.xpt >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.graphdef.editor/templates/aspects/xpt/propsheet/PropertySection.xpt,v >retrieving revision 1.2 >diff -u -r1.2 PropertySection.xpt >--- templates/aspects/xpt/propsheet/PropertySection.xpt 2 Mar 2007 15:39:20 -0000 1.2 >+++ templates/aspects/xpt/propsheet/PropertySection.xpt 4 Apr 2007 02:10:23 -0000 >@@ -9,33 +9,25 @@ > * Contributors: > * Anna Karjakina (Borland) - initial API and implementation > */ >+«IMPORT "http://www.eclipse.org/gmf/2007/GmfGraph/PropSheet"» >+«IMPORT "http://www.eclipse.org/gmf/2005/GraphicalDefinition"» > «IMPORT "http://www.eclipse.org/gmf/2005/GenModel/2.0"» >+«IMPORT "http://www.eclipse.org/emf/2002/GenModel"» > «IMPORT "http://www.eclipse.org/emf/2002/Ecore"» > >+«EXTENSION xpt::EMFUtils» >+«EXTENSION xpt::GenModelUtils» > «EXTENSION aspects::xpt::propsheet::Utils» > >-«AROUND extendsList FOR gmfgen::GenCustomPropertyTab»«IF isCustomTab()»org.eclipse.gmf.graphdef.editor.sheet.AbstractCustomPropertySection«ELSE»«targetDef.proceed()»«ENDIF»«ENDAROUND» >+«AROUND ext endsList FOR gmfgen::GenCustomPropertyTab»«IF isGeneratedTab()»org.eclipse.gmf.graphdef.editor.sheet.AbstractCustomSectionParent >+«ELSE»«targetDef.proceed()»«ENDIF»«ENDAROUND» > >-«AROUND implementsClause FOR gmfgen::GenCustomPropertyTab»«IF isCustomTab()»«ELSE»«targetDef.proceed()»«ENDIF»«ENDAROUND» >+«AROUND implementsClause FOR gmfgen::GenCustomPropertyTab»«IF isGeneratedTab()»«ELSE»«targetDef.proceed()»«ENDIF»«ENDAROUND» > > «AROUND transfromSelectionMethod FOR gmfgen::GenCustomPropertyTab» >-«IF isLayoutTab() || isViewTab() || isPointTab() || isCustomTab()» >+«IF isPointTab() || isGeneratedTab()» > «EXPAND xpt::Common::generatedMemberComment("Modify/unwrap selection.")» > protected Object transformSelection(Object selected) { >-«IF isViewTab() -» >- if (selected instanceof org.eclipse.gef.EditPart) { >- return ((org.eclipse.gef.EditPart) selected).getModel(); >- } >- if (selected instanceof org.eclipse.gmf.runtime.notation.View || selected instanceof org.eclipse.gmf.runtime.notation.Style) { >- return selected; >- } >- if (selected instanceof org.eclipse.core.runtime.IAdaptable) { >- org.eclipse.gmf.runtime.notation.View view = (org.eclipse.gmf.runtime.notation.View) ((org.eclipse.core.runtime.IAdaptable) selected).getAdapter(org.eclipse.gmf.runtime.notation.View.class); >- if (view != null) { >- return view; >- } >- } >-«ELSE-» > if (selected instanceof org.eclipse.gef.EditPart) { > Object model = ((org.eclipse.gef.EditPart) selected).getModel(); > return model instanceof org.eclipse.gmf.runtime.notation.View ? ((org.eclipse.gmf.runtime.notation.View) model).getElement() : null; >@@ -49,7 +41,6 @@ > return view.getElement(); > } > } >-«ENDIF-» > return selected; > } > «ELSE-» >@@ -58,45 +49,26 @@ > «ENDAROUND» > > «AROUND getPropertySourceMethod FOR gmfgen::GenCustomPropertyTab-» >-«IF isLayoutTab() || isViewTab() || isPointTab()» >+«IF isPointTab()» > «EXPAND xpt::Common::generatedMemberComment» > public org.eclipse.ui.views.properties.IPropertySource getPropertySource(Object object) { >- «IF isLayoutTab()-» >- «EXPAND createLayoutSources» >- «ELSEIF isPointTab()-» > «EXPAND createTemplatePointSources» >- «ELSE-» >- if (object instanceof org.eclipse.ui.views.properties.IPropertySource) { >- return (org.eclipse.ui.views.properties.IPropertySource) object; >- } >- org.eclipse.emf.common.notify.AdapterFactory af = getAdapterFactory(object); >- if (af != null) { >- org.eclipse.emf.edit.provider.IItemPropertySource ips = (org.eclipse.emf.edit.provider.IItemPropertySource) af.adapt(object, org.eclipse.emf.edit.provider.IItemPropertySource.class); >- if (ips != null) { >- return createPropertySource(object, ips); >- } >- } >- if (object instanceof org.eclipse.core.runtime.IAdaptable) { >- return (org.eclipse.ui.views.properties.IPropertySource) ((org.eclipse.core.runtime.IAdaptable) object).getAdapter(org.eclipse.ui.views.properties.IPropertySource.class); >- } >- return null; >- «ENDIF-» > } >-«ELSEIF isCustomTab()» >+«ELSEIF isGeneratedTab()» > «ELSE-» > «targetDef.proceed()» > «ENDIF-» > «ENDAROUND» > > «AROUND getPropertySourceProviderMethod FOR gmfgen::GenCustomPropertyTab» >-«IF isCustomTab()» >+«IF isGeneratedTab()» > «ELSE-» > «targetDef.proceed()» > «ENDIF-» > «ENDAROUND» > > «AROUND getAdapterFactoryMethod FOR gmfgen::GenCustomPropertyTab» >-«IF isLayoutTab() || isViewTab() || isPointTab()» >+«IF isPointTab()» > «EXPAND xpt::Common::generatedMemberComment» > protected org.eclipse.emf.common.notify.AdapterFactory getAdapterFactory(Object object) { > if (getEditingDomain() instanceof org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain) { >@@ -108,27 +80,12 @@ > } > return null; > } >-«ELSEIF isCustomTab()» >+«ELSEIF isGeneratedTab()» > «ELSE-» > «targetDef.proceed()» > «ENDIF-» > «ENDAROUND» > >-«DEFINE createLayoutSources FOR gmfgen::GenCustomPropertyTab-» >-if (object instanceof org.eclipse.gmf.gmfgraph.Layoutable) { >- org.eclipse.gmf.runtime.common.ui.services.properties.ICompositePropertySource compositeSource = new org.eclipse.gmf.runtime.common.ui.services.properties.descriptors.CompositePropertySource(object); >- >- org.eclipse.emf.edit.provider.IItemPropertyDescriptor layoutPropertyDescriptor = new LayoutItemPropertyDescriptor(«this.sheet.editorGen.plugin.getActivatorQualifiedClassName()».getInstance().getItemProvidersAdapterFactory(), "Layout Manager", "Layout Manager", org.eclipse.gmf.gmfgraph.GMFGraphPackage.eINSTANCE.getLayoutable_Layout(), true, new org.eclipse.emf.ecore.EObject[] {org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createBorderLayout(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createCustomLayout(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createFlowLayout(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createGridLayout(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createStackLayout(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createXYLayout()}); >- compositeSource.addPropertySource(new org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositePropertySource(object, new SingleDescriptorPropertySource(layoutPropertyDescriptor), "EMF")); //$NON-NLS-1$ >- >- org.eclipse.emf.edit.provider.IItemPropertyDescriptor layoutDataPropertyDescriptor = new LayoutItemPropertyDescriptor(«this.sheet.editorGen.plugin.getActivatorQualifiedClassName()».getInstance().getItemProvidersAdapterFactory(), "Layout Data", "Layout Data", org.eclipse.gmf.gmfgraph.GMFGraphPackage.eINSTANCE.getLayoutable_LayoutData(), true, new org.eclipse.emf.ecore.EObject[] {org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createBorderLayoutData(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createCustomLayoutData(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createGridLayoutData(), org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createXYLayoutData()}); >- compositeSource.addPropertySource(new org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositePropertySource(object, new SingleDescriptorPropertySource(layoutDataPropertyDescriptor), "EMF")); //$NON-NLS-1$ >- >- return compositeSource; >-} >-return null; >-«ENDDEFINE» >- > «DEFINE createTemplatePointSources FOR gmfgen::GenCustomPropertyTab-» > if (object instanceof org.eclipse.gmf.gmfgraph.Polyline) { > org.eclipse.gmf.runtime.common.ui.services.properties.ICompositePropertySource compositeSource = new org.eclipse.gmf.runtime.common.ui.services.properties.descriptors.CompositePropertySource(object); >@@ -167,27 +124,19 @@ > «ENDDEFINE» > > «AROUND additions FOR gmfgen::GenCustomPropertyTab-» >- «IF isLayoutTab() || isPointTab()» >+ «IF isPointTab()» > «EXPAND SingleDescriptorPropertySourceClass-» >- «IF isLayoutTab()» >- «EXPAND LayoutItemPropertyDescriptorClass-» >- «ENDIF» >- «ELSEIF isCustomTab()» >- «EXPAND getImageRegistry-» >+ «ELSEIF isGeneratedTab()» > «ELSE» > «EXPAND createPropertySource» > «ENDIF» >+ «EXPAND modelExtensionExample-» > «ENDAROUND» > >- > «DEFINE createPropertySource FOR gmfgen::GenCustomPropertyTab-» > «EXPAND xpt::Common::generatedMemberComment» > protected org.eclipse.ui.views.properties.IPropertySource createPropertySource(Object object, org.eclipse.emf.edit.provider.IItemPropertySource itemPropertySource) { >-«IF isViewTab()-» >- return new org.eclipse.gmf.runtime.diagram.ui.properties.descriptors.NotationPropertySource(object, itemPropertySource, "View"); >-«ELSE-» > return new org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositePropertySource(object, itemPropertySource, "EMF"); >-«ENDIF-» > } > «ENDDEFINE» > >@@ -224,83 +173,8 @@ > } > «ENDDEFINE» > >-«DEFINE LayoutItemPropertyDescriptorClass FOR gmfgen::GenCustomPropertyTab» >-«EXPAND xpt::Common::generatedMemberComment» >-public static class LayoutItemPropertyDescriptor extends org.eclipse.emf.edit.provider.ItemPropertyDescriptor { >- >- «EXPAND xpt::Common::generatedMemberComment» >- private org.eclipse.emf.ecore.EObject[] myValues; >- >- «EXPAND xpt::Common::generatedMemberComment» >- LayoutItemPropertyDescriptor(org.eclipse.emf.common.notify.AdapterFactory adapterFactory, String displayName, String description, org.eclipse.emf.ecore.EStructuralFeature feature, boolean isSettable, org.eclipse.emf.ecore.EObject[] valueInstances) { >- super(adapterFactory, displayName, description, feature, isSettable); >- myValues = valueInstances; >- } >- >- «EXPAND xpt::Common::generatedMemberComment» >- protected java.util.Collection getComboBoxObjects(Object object) { >- if (object instanceof org.eclipse.emf.ecore.EObject) { >- org.eclipse.emf.ecore.EObject eObject = (org.eclipse.emf.ecore.EObject) object; >- Object currentValue = getValue(eObject, feature); >- java.util.Collection result = new java.util.ArrayList(); >- result.add(currentValue); >- org.eclipse.emf.ecore.EClass valueEClass = currentValue instanceof org.eclipse.emf.ecore.EObject ? ((org.eclipse.emf.ecore.EObject) currentValue).eClass() : null; >- for (int i = 0; i < myValues.length; i++) { >- if (myValues[i].eClass() == valueEClass) { >- continue; >- } >- result.add(myValues[i]); >- } >- if (currentValue != null) { >- result.add(null); >- } >- return result; >- } >- return null; >- } >- >- «EXPAND xpt::Common::generatedMemberComment» >- public void setPropertyValue(Object object, Object value) { >- if (value instanceof org.eclipse.emf.ecore.EObject) { >- org.eclipse.emf.ecore.EClass eClass = ((org.eclipse.emf.ecore.EObject) value).eClass(); >- value = eClass.getEPackage().getEFactoryInstance().create(eClass); >- if (value instanceof org.eclipse.gmf.gmfgraph.XYLayoutData) { >- org.eclipse.gmf.gmfgraph.XYLayoutData xyLayoutData = (org.eclipse.gmf.gmfgraph.XYLayoutData) value; >- xyLayoutData.setTopLeft(org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createPoint()); >- xyLayoutData.getTopLeft().setX(0); >- xyLayoutData.getTopLeft().setY(0); >- xyLayoutData.setSize(org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createDimension()); >- xyLayoutData.getSize().setDx(40); >- xyLayoutData.getSize().setDy(40); >- } >- } >- super.setPropertyValue(object, value); >- } >-} >-«ENDDEFINE» >- >-«DEFINE getImageRegistry FOR gmfgen::GenCustomPropertyTab-» >- «EXPAND xpt::Common::generatedMemberComment» >- private static org.eclipse.jface.resource.ImageRegistry ourImageRegistry = new org.eclipse.jface.resource.ImageRegistry(); >- >- «EXPAND xpt::Common::generatedMemberComment» >- static { >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_SOLID_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_solid.png")); >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASH_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_dash.png")); >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_DOT_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_dot.png")); >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASHDOT_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_dashdot.png")); >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASHDOTDOT_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_dashdotdot.png")); >- ourImageRegistry.put(org.eclipse.gmf.gmfgraph.LineKind.LINE_CUSTOM_LITERAL.getLiteral(), «sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("icons/line_custom.png")); >- } >- >- «EXPAND xpt::Common::generatedMemberComment» >- public org.eclipse.jface.resource.ImageRegistry getImageRegistry() { >- return ourImageRegistry; >- } >-«ENDDEFINE» >- > «AROUND setInputMethod FOR gmfgen::GenCustomPropertyTab» >-«IF isCustomTab()-» >+«IF isGeneratedTab()-» > «EXPAND xpt::Common::generatedMemberComment» > private java.util.Collection mySavedSelection = new java.util.ArrayList(); > >@@ -332,3 +206,686 @@ > «targetDef.proceed()» > «ENDIF-» > «ENDAROUND» >+ >+«REM» >+///////////////////////////////// Model Customization Example ///////////////////////////////// >+«ENDREM» >+ >+«DEFINE modelExtensionExample FOR gmfgen::GenCustomPropertyTab-» >+ «EXPAND processModelExtensionExample FOREACH getReferencingObjects(this).typeSelect(propsheet::CustomPropertySection)» >+«ENDDEFINE» >+ >+«DEFINE processModelExtensionExample FOR propsheet::CustomPropertySection-» >+ «EXPAND xpt::Common::generatedMemberComment» >+ private ModelHelper myModelHelper; >+ >+ «EXPAND initVars FOREACH contents-» >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public void doCreateControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage tabbedPropertySheetPage) { >+ org.eclipse.swt.widgets.Composite mainComposite = createMainWidget(parent); >+ «EXPAND createControls("mainComposite") FOREACH contents-» >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public void doDispose() { >+ «EXPAND disposeControl FOREACH contents-» >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public void refresh() { >+ getListener().startNonUserChange(); >+ for (java.util.Iterator it = getSavedSelection().iterator(); it.hasNext();) { >+ Object next = it.next(); >+ if (next instanceof «getTarget().getQualifiedInterfaceName()») { >+ final «getTarget().getQualifiedInterfaceName()» target = («getTarget().getQualifiedInterfaceName()»)next; >+ executeAsReadAction(new Runnable() { >+ public void run() { >+ updateFromModel(target); >+ } >+ }); >+ } >+ } >+ getListener().finishNonUserChange(); >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public void updateFromModel(«getTarget().getQualifiedInterfaceName()» target) { >+ boolean needToRelayoutExpandBar = false; >+ «EXPAND updateFromModel("target") FOREACH contents-» >+ if (needToRelayoutExpandBar) { >+ relayoutExpandBar(null); >+ } >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public ModelUpdater createModelUpdater() { >+ return new ModelUpdater() { >+ public void applyChangesFrom(org.eclipse.swt.widgets.Widget widget, int kind) { >+ «genTab.className».this.applyChangesFrom(widget, kind); >+ } >+ }; >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public void applyChangesFrom(final org.eclipse.swt.widgets.Widget widget, int kind) { >+ String commandName = "Modifying model with ui data from "+widget.toString(); >+ java.util.ArrayList commands = new java.util.ArrayList(getSavedSelection().size()); >+ for (java.util.Iterator it = getSavedSelection().iterator(); it.hasNext();) { >+ Object next = it.next(); >+ if (next instanceof «getTarget().getQualifiedInterfaceName()») { >+ final «getTarget().getQualifiedInterfaceName()» target = («getTarget().getQualifiedInterfaceName()»)next; >+ commands.add(createCommand(commandName, target, getModelModifierFor(target, widget, kind))); >+ } >+ } >+ executeAsCompositeCommand(commandName, commands); >+ //refresh(); >+ } >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ public Runnable getModelModifierFor(final «getTarget().getQualifiedInterfaceName()» target, final org.eclipse.swt.widgets.Widget widget, int kind) { >+ «EXPAND wrapModelHelperWithRunnable("target", "widget") FOREACH contents-» >+ // default: >+ return new Runnable() { >+ public void run() { >+ // does nothing >+ } >+ }; >+ } >+ >+ >+ «EXPAND xpt::Common::generatedMemberComment» >+ protected ModelHelper getModelHelper() { >+ if (myModelHelper == null) { >+ myModelHelper = new ModelHelper(); >+ } >+ return myModelHelper; >+ } >+ >+ «EXPAND modelHelperInnerClass» >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Radio-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.widgets.Button «name()»; >+«IF null != iconPath»«EXPAND initImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Checkbox-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.widgets.Button «name()»; >+«IF null != iconPath»«EXPAND initImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Spin-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.widgets.Spinner «name()»; >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::TextField-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.widgets.Text «name()»; >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Label-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.custom.CLabel «name()»; >+«IF null != iconPath»«EXPAND initImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Group-» >+«EXPAND xpt::Common::generatedMemberComment» >+private «IF createLabel(text)»«IF isExpandable()»org.eclipse.ui.forms.widgets.ExpandableComposite«ELSE»org.eclipse.swt.widgets.Group«ENDIF»«ELSE»org.eclipse.swt.widgets.Composite«ENDIF» «name()»; >+«EXPAND initVars FOREACH contents-» >+«ENDDEFINE» >+ >+«DEFINE initVars FOR propsheet::Sectionable-» >+«ERROR "Unsupported Graphical Control"» >+«ENDDEFINE» >+ >+«DEFINE initImage FOR propsheet::Sectionable-» >+«EXPAND xpt::Common::generatedMemberComment» >+private org.eclipse.swt.graphics.Image «name()»_image; >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Group-» >+«IF createLabel(text)-» >+ «IF isExpandable()-» >+«name()» = createExpandableComposite(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+org.eclipse.swt.widgets.Composite «name()»Control = createCompositeWidget(«name()», "", «EXPAND layoutArgs»); >+ «ELSE-» >+«name()» = createGroupWidget(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+ «ENDIF» >+«ELSE-» >+«name()» = createCompositeWidget(«parentVar», "", «EXPAND layoutArgs»); >+«ENDIF» >+«IF createLabel(text) && isExpandable()-» >+ «EXPAND createControls(name()+"Control") FOREACH contents-» >+ «name()».setClient(«name()»Control); >+ «name()».addExpansionListener(getExpansionListener(«parentVar»)); >+«ELSE-» >+ «EXPAND createControls(name()) FOREACH contents-» >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Radio-» >+«name()» = createRadioButton(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+«IF null != iconPath»«EXPAND createImage(iconPath)»«ENDIF» >+«IF null != modelElement»«EXPAND installListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Checkbox-» >+«name()» = createCheckboxButton(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+«IF null != iconPath»«EXPAND createImage(iconPath)»«ENDIF» >+«IF null != modelElement»«EXPAND installListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Spin-» >+«name()» = createSpinnerWidget(«parentVar», «EXPAND createLabel», «min», «max», «inc», 100, «EXPAND layoutArgs»); >+«IF null != modelElement»«EXPAND installListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::TextField-» >+«name()» = createTextWidget(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+«IF null != modelElement»«EXPAND installListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Label-» >+«name()» = createLabelWidget(«parentVar», «EXPAND createLabel», «EXPAND layoutArgs»); >+«IF null != iconPath»«EXPAND createImage(iconPath)»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createControls(String parentVar) FOR propsheet::Sectionable-» >+«ERROR "Cannot create Abstract Graphical Control"» >+«ENDDEFINE» >+ >+«DEFINE createLabel FOR propsheet::Labeled-» >+«IF createLabel(text)»«IF null != text && null != text.overridedItemProviderText && "" != text.overridedItemProviderText»"«text.overridedItemProviderText»"«ELSE»«EXPAND callStringsAccessor»«ENDIF»«ELSE»""«ENDIF»«ENDDEFINE» >+ >+«DEFINE createImage(String iconPath) FOR propsheet::Sectionable-» >+«name()»_image = «getCustomPropertySection().genTab.sheet.editorGen.plugin.getActivatorQualifiedClassName()».findImageDescriptor("«iconPath»").createImage(); >+«name()».setImage(«name()»_image); >+«ENDDEFINE» >+ >+«DEFINE installListener FOR propsheet::Sectionable-» >+getListener().startListeningTo(«name()»); >+«ENDDEFINE» >+ >+«DEFINE layoutArgs FOR Sectionable-» >+«IF null != layoutConstraints-» >+«EXPAND processLeftAndTopLayoutConstraints FOR layoutConstraints-» >+«ELSE-» >+null, null, null, null, true, true, false, false >+«ENDIF-» >+«ENDDEFINE» >+ >+«DEFINE processLeftAndTopLayoutConstraints FOR propsheet::LayoutConstraints-» >+«ERROR "Abstract definition"» >+«ENDDEFINE» >+ >+«DEFINE processLeftAndTopLayoutConstraints FOR propsheet::FormLayoutConstraints-» >+«IF null != anchorControl-» >+ «IF Positions::LEFT.value == relativePosition.value-» >+«anchorControl.name()», null, null, null, true, false, «lowermost», «rightmost» >+ «ELSEIF Positions::RIGHT.value == relativePosition.value-» >+null, null, «anchorControl.name()», null, false, false, «lowermost», «rightmost» >+ «ELSEIF Positions::TOP.value == relativePosition.value-» >+null, «anchorControl.name()», null, null, false, true, «lowermost», «rightmost» >+ «ELSEIF Positions::BOTTOM.value == relativePosition.value-» >+null, null, null, «anchorControl.name()», false, false, «lowermost», «rightmost» >+ «ENDIF-» >+«ELSE-» >+null, null, null, null, false, false, «lowermost», «rightmost» >+«ENDIF-» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Group-» >+«EXPAND disposeControl FOREACH contents-» >+«IF createLabel(text) && isExpandable()-» >+«name()».removeExpansionListener(getExpansionListener(null));«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Radio-» >+«IF null != modelElement»«EXPAND deinstallListener»«ENDIF» >+«IF null != iconPath-»«EXPAND disposeImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Checkbox-» >+«IF null != modelElement»«EXPAND deinstallListener»«ENDIF» >+«IF null != iconPath-»«EXPAND disposeImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Spin-» >+«IF null != modelElement»«EXPAND deinstallListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::TextField-» >+«IF null != modelElement»«EXPAND deinstallListener»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Label-» >+«IF null != iconPath-»«EXPAND disposeImage»«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE disposeControl FOR propsheet::Sectionable-» >+«ERROR "Cannot dispose Abstract Graphical Control"» >+«ENDDEFINE» >+ >+«DEFINE disposeImage FOR propsheet::Sectionable-» >+«name()»_image.dispose(); >+«name()»_image = null; >+«ENDDEFINE» >+ >+«DEFINE deinstallListener FOR propsheet::Sectionable-» >+getListener().stopListeningTo(«name()»); >+«ENDDEFINE» >+ >+«DEFINE wrapModelHelperWithRunnable(String modelVar, String widgetVar) FOR propsheet::Sectionable-» >+«IF null != getModelElement()-» >+if («widgetVar» == «name()» && «name()».isVisible()) { >+ return new Runnable() { >+ public void run() { >+ «EXPAND applyChanges(modelVar, widgetVar)-» >+ } >+ }; >+} >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE wrapModelHelperWithRunnable(String modelVar, String widgetVar) FOR propsheet::Group-» >+«EXPAND wrapModelHelperWithRunnable(modelVar, widgetVar) FOREACH contents-»«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Sectionable-» >+«ERROR "Cannot make appliance of changes for Abstract control"» >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Group-» >+«EXPAND applyChanges(modelVar, widgetVar) FOREACH contents-» >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Label-» >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Radio-» >+final boolean value = «name()».getSelection(); >+if (value) { >+ «EXPAND callSetterForModelProperty(modelVar, "value")»; >+} >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Checkbox-» >+final boolean value = «name()».getSelection(); >+«EXPAND callSetterForModelProperty(modelVar, "value")»; >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::Spin-» >+final int value = «name()».getSelection(); >+«EXPAND callSetterForModelProperty(modelVar, "value")»; >+«ENDDEFINE» >+ >+«DEFINE applyChanges(String modelVar, String widgetVar) FOR propsheet::TextField-» >+final String value = «name()».getText(); >+«EXPAND callSetterForModelProperty(modelVar, "value")»; >+«ENDDEFINE» >+ >+«DEFINE callSetterForModelProperty(String targetVar, String valueVar) FOR propsheet::Sectionable»getModelHelper().setValueFor«name().toFirstUpper()»(«targetVar», «valueVar»)«ENDDEFINE» >+ >+«DEFINE callGetterForModelProperty(String targetVar) FOR propsheet::Sectionable»getModelHelper().getValueFor«name().toFirstUpper()»(«targetVar»)«ENDDEFINE» >+ >+«DEFINE callVisibilityTester(String targetVar) FOR propsheet::Group»getModelHelper().isVisible«name().toFirstUpper()»(«targetVar»)«ENDDEFINE» >+ >+«DEFINE callStringsAccessor FOR propsheet::Labeled»getModelHelper().getName«name().toFirstUpper()»FromMetamodel()«ENDDEFINE» >+ >+«DEFINE updateFromModel(String targetVar) FOR propsheet::Sectionable-» >+{ >+ «EXPAND updateUIValue(targetVar)-» >+}«ENDDEFINE» >+ >+«DEFINE updateFromModel(String targetVar) FOR propsheet::Group» >+«IF isVisibleOnlyForTargets()-» >+boolean is«name().toFirstUpper()»Visible = «EXPAND callVisibilityTester(targetVar)»; >+«IF expandable-» >+if («name()».isExpanded() != is«name().toFirstUpper()»Visible) { >+ needToRelayoutExpandBar = true; >+} >+«ENDIF» >+«name()».«IF expandable»setExpanded«ELSE»setVisible«ENDIF»(is«name().toFirstUpper()»Visible); >+if (is«name().toFirstUpper()»Visible)«ENDIF» { >+ «EXPAND updateUIValue(targetVar)-» >+}«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Group-» >+«EXPAND updateFromModel(targetVar) FOREACH contents-» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Radio-» >+«IF null != modelElement-» >+«name()».setSelection(«EXPAND callGetterForModelProperty(targetVar)»);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Checkbox-» >+«IF null != modelElement-» >+«name()».setSelection(«EXPAND callGetterForModelProperty(targetVar)»);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Spin-» >+«IF null != modelElement-» >+«name()».setSelection(«EXPAND callGetterForModelProperty(targetVar)»);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::TextField-» >+«IF null != modelElement-» >+String modelText = «EXPAND callGetterForModelProperty(targetVar)»; >+if (modelText == null) { >+ modelText = EMPTY_STRING; >+} >+«name()».setText(modelText);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Label-» >+«IF createLabel(text)-» >+String modelText = «EXPAND createLabel»; >+if (modelText == null) { >+ modelText = EMPTY_STRING; >+} >+«name()».setText(modelText);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE updateUIValue(String targetVar) FOR propsheet::Sectionable» >+«ERROR "Cannot update Abstract UI Definition"» >+«ENDDEFINE» >+ >+«DEFINE modelHelperInnerClass FOR propsheet::CustomPropertySection-» >+«EXPAND xpt::Common::generatedMemberComment» >+public final class ModelHelper { >+«EXPAND createAccessors-» >+«EXPAND modelHelperAdditions-» >+} >+«ENDDEFINE» >+ >+«DEFINE modelHelperAdditions FOR propsheet::CustomPropertySection-» >+«EXPAND xpt::Common::generatedMemberComment» >+protected org.eclipse.emf.ecore.EObject cloneVars(org.eclipse.emf.ecore.EObject target) { >+ return target; >+} >+«ENDDEFINE» >+ >+«DEFINE createAccessors FOR propsheet::Group-» >+«IF isVisibleOnlyForTargets()»«EXPAND createVisibilityTesters»«ENDIF-» >+«EXPAND createMetamodelNameGetter(this) FOR getModelElement()-» >+«EXPAND createAccessors FOREACH contents-» >+«ENDDEFINE» >+ >+«DEFINE createAccessors FOR propsheet::Sectionable-» >+«EXPAND createGetterForModelProperty(this) FOR getModelElement()-» >+«EXPAND createSetterForModelProperty(this) FOR getModelElement()-» >+«ENDDEFINE» >+ >+«DEFINE createAccessors FOR propsheet::Labeled-» >+«EXPAND createGetterForModelProperty(this) FOR getModelElement()-» >+«EXPAND createSetterForModelProperty(this) FOR getModelElement()-» >+«EXPAND createMetamodelNameGetter(this) FOR getModelElement()-» >+«ENDDEFINE» >+ >+«DEFINE createVisibilityTesters FOR propsheet::Group-» >+«EXPAND xpt::Common::generatedMemberComment» >+public boolean isVisible«name().toFirstUpper()»(«getCustomPropertySection().getTarget().getQualifiedInterfaceName()» targetVar) { >+ boolean value = false; >+ «EXPAND isVisibleModelElement("targetVar", "value")-» >+ return value; >+} >+«ENDDEFINE» >+ >+«DEFINE createMetamodelNameGetter(propsheet::Labeled sectionable) FOR propsheet::FeatureReference-» >+«IF createLabel(sectionable.text) && (null == sectionable.text || null == sectionable.text.overridedItemProviderText || "" == sectionable.text.overridedItemProviderText)» >+«EXPAND xpt::Common::generatedMemberComment» >+public String getName«sectionable.name().toFirstUpper()»FromMetamodel() { >+ return "«EXPAND createNameFromMetamodelElement(sectionable)»"; >+} >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE createNameFromMetamodelElement(propsheet::Sectionable sectionable) FOR propsheet::FeatureReference-» >+«getFormattedName(feature)»«ENDDEFINE» >+ >+«DEFINE createNameFromMetamodelElement(propsheet::Sectionable sectionable) FOR propsheet::IsFeatureIsOfKindReference-» >+«getEnumLiteralFriendlyName(isOfValue)»«ENDDEFINE» >+ >+«DEFINE createNameFromMetamodelElement(propsheet::Sectionable sectionable) FOR propsheet::IsFeatureOfTypeReference-» >+«getFormattedName(isOfType)»«ENDDEFINE» >+ >+«DEFINE createNameFromMetamodelElement(propsheet::Sectionable sectionable) FOR propsheet::ModelMediatorFeature-» >+«IF null != cast»«getFormattedName(cast)»«ELSEIF null != feature»«getFormattedName(feature)»«ENDIF»«ENDDEFINE» >+ >+«DEFINE createGetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::FeatureReference-» >+«ERROR "Unexpected getter model reference kind"» >+«ENDDEFINE» >+ >+«DEFINE createSetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::FeatureReference-» >+«ERROR "Unexpected setter model reference kind"» >+«ENDDEFINE» >+ >+«DEFINE createGetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::BooleanCondition-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public boolean getValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar») { >+ boolean value = false; >+ «EXPAND extractModelElement(targetVar, "value") FOR sectionable-» >+ return value; >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE createSetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::BooleanCondition-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public void setValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar», boolean value) { >+ «EXPAND intractModelElement(targetVar, "value") FOR sectionable-» >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE createGetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::IntValue-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public int getValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar») { >+ int value = 0; >+ «EXPAND extractModelElement(targetVar, "value") FOR sectionable-» >+ return value; >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE createSetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::IntValue-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public void setValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar», int value) { >+ «EXPAND intractModelElement(targetVar, "value") FOR sectionable-» >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE createGetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::StringValue-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public String getValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar») { >+ String value = EMPTY_STRING; >+ «EXPAND extractModelElement(targetVar, "value") FOR sectionable-» >+ return value; >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE createSetterForModelProperty(propsheet::Sectionable sectionable) FOR propsheet::StringValue-» >+«LET sectionable.getCustomPropertySection().getTarget().getName().toFirstLower() AS targetVar-» >+«EXPAND xpt::Common::generatedMemberComment» >+public void setValueFor«sectionable.name().toFirstUpper()»(«sectionable.getCustomPropertySection().getTarget().getQualifiedInterfaceName()» «targetVar», String value) { >+ «EXPAND intractModelElement(targetVar, "value") FOR sectionable-» >+} >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE isVisibleModelElement(String varName, String valueVarName) FOR propsheet::Group-» >+«EXPAND isVisibleModelVar(varName, valueVarName, this) FOR collectAllParentGroups().select(e| e.modelMediator != null)-» >+«ENDDEFINE» >+ >+«DEFINE isVisibleModelVar(String varName, String valueVarName, propsheet::Sectionable sectionable) FOR List[propsheet::Group]-» >+«LET sectionable.getModelElement() AS valueElement-» >+«IF size() == 1 && null == valueElement» >+ «EXPAND makeModelCall(varName, valueVarName) FOR ((propsheet::Group)get(0)).modelMediator-» >+«ELSEIF size() > 0-» >+ «LET ((propsheet::Group)get(0)).modelMediator AS modelElement-» >+ if («EXPAND instanceofOrNullCheck(varName) FOR modelElement») { >+ «EXPAND castedVarDeclaration(varName, modelElement.expectedTypeVar()) FOR modelElement-» >+ «EXPAND isVisibleModelVar(modelElement.expectedTypeVar(), valueVarName, sectionable) FOR (List[propsheet::Group])withoutFirst()-» >+ } >+ «ENDLET» >+«ELSE-» >+ «EXPAND makeModelCall(varName, valueVarName) FOR valueElement-» >+«ENDIF» >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE extractModelElement(String varName, String valueVarName) FOR propsheet::Sectionable-» >+«EXPAND extractModelVar(varName, valueVarName, this) FOR collectAllParentGroups().select(e| e.modelMediator != null)-» >+«ENDDEFINE» >+ >+«DEFINE extractModelVar(String varName, String valueVarName, propsheet::Sectionable sectionable) FOR List[propsheet::Group]-» >+«IF size() > 0-» >+ «LET ((propsheet::Group)get(0)).modelMediator AS modelElement-» >+ «IF size() == 1 && isNullCheck(sectionable.getModelElement())»«ELSE-» >+ if («EXPAND instanceofOrNullCheck(varName) FOR modelElement») { «ENDIF» >+ «EXPAND castedVarDeclaration(varName, modelElement.expectedTypeVar()) FOR modelElement-» >+ «EXPAND extractModelVar(modelElement.expectedTypeVar(), valueVarName, sectionable) FOR (List[propsheet::Group])withoutFirst()-» >+ «IF size() == 1 && isNullCheck(sectionable.getModelElement())»«ELSE-» >+ }«ENDIF» >+ «ENDLET» >+«ELSE-» >+ «LET sectionable.getModelElement() AS valueElement-» >+ «IF null != valueElement-» >+ «EXPAND makeModelCall(varName, valueVarName) FOR valueElement-» >+ «ELSE-» >+ «ERROR "Cannot make a model call for abstract Sectionable item"» >+ «ENDIF» >+ «ENDLET» >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE castedVarDeclaration(String varName, String newVarName) FOR propsheet::ModelMediatorFeature-» >+«expectedTypeName()» «newVarName» = «castedVarCall(varName)»«addFeatureCall()»; >+«ENDDEFINE» >+ >+«DEFINE castedVarModification(String elementName, String newVarName) FOR propsheet::ModelMediatorFeature-» >+«IF null != feature-» >+«elementName».«feature.getSetterAccessor()»((«expectedTypeName()»)cloneVars(«newVarName»))»);«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE instanceofOrNullCheck(String varName) FOR propsheet::ModelMediatorFeature-» >+«varName»«addFeatureCall()» «IF null != cast»instanceof «cast.getQualifiedInterfaceName()»«ELSEIF feature != null»!= null«ELSE»== null«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::FeatureReference-» >+«ERROR "Cannot make a model call for this type of FeatureReference"» >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::ModelMediatorFeature-» >+«valueVarName» = («varName»«addFeatureCall()» «IF null != cast»instanceof «cast.getQualifiedInterfaceName()»«ELSE»!= null«ENDIF»); >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::IntValue-» >+«valueVarName» = «varName».«feature.getGetAccessor()»(); >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::StringValue-» >+«valueVarName» = «varName».«feature.getGetAccessor()»(); >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::BooleanCondition-» >+«valueVarName» = «IF null != feature»«varName».«feature.getGetAccessor()»()«ELSE»«varName»«ENDIF»; >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::IsFeatureOfTypeReference-» >+«valueVarName» = («varName»«addFeatureCall()» «IF null != isOfType» instanceof «isOfType.getQualifiedInterfaceName()»«ELSE» == null«ENDIF»); >+«ENDDEFINE» >+ >+«DEFINE makeModelCall(String varName, String valueVarName) FOR propsheet::IsFeatureIsOfKindReference-» >+«valueVarName» = («varName»«addFeatureCall()» «IF null != isOfValue» == «getQualifiedInterfaceName(isOfValue.genEnum)».«isOfValue.ecoreEnumLiteral.name»«ELSE»«ERROR "Found no type definition for model element reference of "+varName»«ENDIF»); >+«ENDDEFINE» >+ >+«DEFINE intractModelElement(String elementName, String valueName) FOR propsheet::Sectionable-» >+«EXPAND intractModelVar(elementName, valueName, this) FOR collectAllParentGroups().select(e| e.modelMediator != null)-» >+«ENDDEFINE» >+ >+«DEFINE intractModelVar(String elementName, String valueName, propsheet::Sectionable sectionable) FOR List[propsheet::Group]-» >+«IF size() > 1-» >+ «LET (propsheet::Group)first() AS element» >+ «LET element.modelMediator AS modelElement-» >+ if («EXPAND instanceofOrNullCheck(elementName) FOR modelElement») { >+ «EXPAND castedVarDeclaration(elementName, modelElement.expectedTypeVar()) FOR modelElement-» >+ «EXPAND intractModelVar(modelElement.expectedTypeVar(), valueName, sectionable) FOR (List[propsheet::Group])withoutFirst()-» >+ } >+ «ENDLET» >+ «ENDLET» >+«ELSE-» >+ «IF null != sectionable.getModelElement()-» >+ «EXPAND prepareModelCall(elementName, valueName, (propsheet::Group)get(0)) FOR sectionable.getModelElement()-» >+ «ELSE-» >+ «ERROR "Cannot make a model call for abstract Sectionable item"» >+ «ENDIF» >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE prepareModelCall(String elementName, String valueName, propsheet::Group parent) FOR propsheet::FeatureReference» >+«LET parent.getModelMediator() AS modelElement» >+ «IF null != modelElement.feature» >+ if («elementName».«modelElement.feature.getGetAccessor()»() == null) { >+ «elementName».«modelElement.feature.getSetterAccessor()»(«modelElement.expectedType().getQualifiedClassifierCreaterName()»); >+ } >+ «ENDIF» >+ «IF parent != parent.getCustomPropertySection()-» >+ if («EXPAND instanceofOrNullCheck(elementName) FOR modelElement») { >+ «EXPAND castedVarDeclaration(elementName, modelElement.expectedTypeVar()) FOR modelElement-» >+ «EXPAND saveModelCall(modelElement.expectedTypeVar(), valueName, modelElement)-» >+ «EXPAND castedVarModification(elementName, modelElement.expectedTypeVar()) FOR modelElement-» >+ }«ELSE-» >+ «EXPAND saveModelCall(elementName, valueName, modelElement)-» >+ «ENDIF» >+«ENDLET» >+«ENDDEFINE» >+ >+«DEFINE prepareModelCall(String elementName, String valueName, propsheet::Group parent) FOR propsheet::IsFeatureIsOfKindReference» >+«EXPAND saveModelCall(elementName, valueName, parent.getModelMediator())-» >+«ENDDEFINE» >+ >+«DEFINE prepareModelCall(String elementName, String valueName, propsheet::Group parent) FOR propsheet::IsFeatureOfTypeReference» >+«EXPAND saveModelCall(elementName, valueName, parent.getModelMediator())-» >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::FeatureReference-» >+«ERROR "Cannot make a model call for this type of FeatureReference"» >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::IntValue-» >+«elementName».«feature.getSetterAccessor()»(«valueName»); >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::StringValue-» >+«elementName».«feature.getSetterAccessor()»(«valueName»); >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::BooleanCondition-» >+«elementName».«feature.getSetterAccessor()»(«valueName»); >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::IsFeatureOfTypeReference-» >+«IF null != isOfType-» >+ «isOfType.getQualifiedInterfaceName()» newInstance = «isOfType.getQualifiedClassifierCreaterName()»; >+ «elementName».«parentModelElement.feature.getSetterAccessor()»(newInstance); >+«ELSE-» >+ «elementName».«parentModelElement.feature.getSetterAccessor()»(null); >+«ENDIF» >+«ENDDEFINE» >+ >+«DEFINE saveModelCall(String elementName, String valueName, propsheet::ModelMediatorFeature parentModelElement) FOR propsheet::IsFeatureIsOfKindReference-» >+«elementName».«parentModelElement.feature.getSetterAccessor()»(«isOfValue.genEnum.getQualifiedInterfaceName()».«getEnumLiteralInstanceConstantName(isOfValue)»); >+«ENDDEFINE» >Index: .project >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.graphdef.editor/.project,v >retrieving revision 1.1 >diff -u -r1.1 .project >--- .project 14 Apr 2006 12:33:35 -0000 1.1 >+++ .project 4 Apr 2007 02:10:19 -0000 >@@ -3,6 +3,7 @@ > <name>org.eclipse.gmf.graphdef.editor</name> > <comment></comment> > <projects> >+ <project>org.eclipse.gmf.codegen</project> > </projects> > <buildSpec> > <buildCommand> >@@ -20,6 +21,11 @@ > <arguments> > </arguments> > </buildCommand> >+ <buildCommand> >+ <name>org.eclipse.gmf.xpand.oawBuilder</name> >+ <arguments> >+ </arguments> >+ </buildCommand> > </buildSpec> > <natures> > <nature>org.eclipse.pde.PluginNature</nature> >Index: src/org/eclipse/gmf/graphdef/editor/sheet/LayoutPropertySection.java >=================================================================== >RCS file: src/org/eclipse/gmf/graphdef/editor/sheet/LayoutPropertySection.java >diff -N src/org/eclipse/gmf/graphdef/editor/sheet/LayoutPropertySection.java >--- src/org/eclipse/gmf/graphdef/editor/sheet/LayoutPropertySection.java 2 Mar 2007 15:39:20 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,246 +0,0 @@ >-/* >- * Copyright (c) 2007 Borland Software Corporation and others. >- * All rights reserved. This program and the accompanying materials >- * are made available under the terms of the Eclipse Public License v1.0 >- * which accompanies this distribution, and is available at >- * http://www.eclipse.org/legal/epl-v10.html >- * >- * Contributors: >- * Borland Software Corporation - initial API and implementation >- */ >-package org.eclipse.gmf.graphdef.editor.sheet; >- >-import java.util.ArrayList; >-import java.util.Collection; >-import java.util.Iterator; >-import java.util.LinkedList; >-import java.util.List; >- >-import org.eclipse.core.runtime.IAdaptable; >-import org.eclipse.emf.common.notify.AdapterFactory; >-import org.eclipse.emf.ecore.EClass; >-import org.eclipse.emf.ecore.EObject; >-import org.eclipse.emf.ecore.EStructuralFeature; >-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; >-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; >-import org.eclipse.emf.edit.provider.IItemPropertySource; >-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; >-import org.eclipse.emf.transaction.TransactionalEditingDomain; >-import org.eclipse.emf.transaction.util.TransactionUtil; >-import org.eclipse.gef.EditPart; >-import org.eclipse.gmf.gmfgraph.GMFGraphFactory; >-import org.eclipse.gmf.gmfgraph.GMFGraphPackage; >-import org.eclipse.gmf.gmfgraph.Layoutable; >-import org.eclipse.gmf.gmfgraph.XYLayoutData; >-import org.eclipse.gmf.graphdef.editor.part.GMFGraphDiagramEditorPlugin; >-import org.eclipse.gmf.runtime.common.ui.services.properties.ICompositePropertySource; >-import org.eclipse.gmf.runtime.common.ui.services.properties.descriptors.CompositePropertySource; >-import org.eclipse.gmf.runtime.diagram.ui.properties.sections.AdvancedPropertySection; >-import org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositePropertySource; >-import org.eclipse.gmf.runtime.notation.View; >-import org.eclipse.jface.viewers.ISelection; >-import org.eclipse.jface.viewers.StructuredSelection; >-import org.eclipse.ui.IWorkbenchPart; >-import org.eclipse.ui.views.properties.IPropertySource; >-import org.eclipse.ui.views.properties.IPropertySourceProvider; >- >-/** >- * @generated >- */ >-public class LayoutPropertySection extends AdvancedPropertySection implements IPropertySourceProvider { >- >- /** >- * @generated >- */ >- public IPropertySource getPropertySource(Object object) { >- if (object instanceof Layoutable) { >- ICompositePropertySource compositeSource = new CompositePropertySource(object); >- >- IItemPropertyDescriptor layoutPropertyDescriptor = new LayoutItemPropertyDescriptor(GMFGraphDiagramEditorPlugin.getInstance().getItemProvidersAdapterFactory(), "Layout Manager", >- "Layout Manager", GMFGraphPackage.eINSTANCE.getLayoutable_Layout(), true, new EObject[] { GMFGraphFactory.eINSTANCE.createBorderLayout(), >- GMFGraphFactory.eINSTANCE.createCustomLayout(), GMFGraphFactory.eINSTANCE.createFlowLayout(), GMFGraphFactory.eINSTANCE.createGridLayout(), >- GMFGraphFactory.eINSTANCE.createStackLayout(), GMFGraphFactory.eINSTANCE.createXYLayout() }); >- compositeSource.addPropertySource(new EMFCompositePropertySource(object, new SingleDescriptorPropertySource(layoutPropertyDescriptor), "EMF")); //$NON-NLS-1$ >- >- IItemPropertyDescriptor layoutDataPropertyDescriptor = new LayoutItemPropertyDescriptor(GMFGraphDiagramEditorPlugin.getInstance().getItemProvidersAdapterFactory(), "Layout Data", >- "Layout Data", GMFGraphPackage.eINSTANCE.getLayoutable_LayoutData(), true, new EObject[] { GMFGraphFactory.eINSTANCE.createBorderLayoutData(), >- GMFGraphFactory.eINSTANCE.createCustomLayoutData(), GMFGraphFactory.eINSTANCE.createGridLayoutData(), GMFGraphFactory.eINSTANCE.createXYLayoutData() }); >- compositeSource.addPropertySource(new EMFCompositePropertySource(object, new SingleDescriptorPropertySource(layoutDataPropertyDescriptor), "EMF")); //$NON-NLS-1$ >- >- return compositeSource; >- } >- return null; >- >- } >- >- /** >- * @generated >- */ >- protected IPropertySourceProvider getPropertySourceProvider() { >- return this; >- } >- >- /** >- * Modify/unwrap selection. >- * >- * @generated >- */ >- protected Object transformSelection(Object selected) { >- if (selected instanceof EditPart) { >- Object model = ((EditPart) selected).getModel(); >- return model instanceof View ? ((View) model).getElement() : null; >- } >- if (selected instanceof View) { >- return ((View) selected).getElement(); >- } >- if (selected instanceof IAdaptable) { >- View view = (View) ((IAdaptable) selected).getAdapter(View.class); >- if (view != null) { >- return view.getElement(); >- } >- } >- return selected; >- } >- >- /** >- * @generated >- */ >- public void setInput(IWorkbenchPart part, ISelection selection) { >- if (selection.isEmpty() || false == selection instanceof StructuredSelection) { >- super.setInput(part, selection); >- return; >- } >- final StructuredSelection structuredSelection = ((StructuredSelection) selection); >- ArrayList transformedSelection = new ArrayList(structuredSelection.size()); >- for (Iterator it = structuredSelection.iterator(); it.hasNext();) { >- Object r = transformSelection(it.next()); >- if (r != null) { >- transformedSelection.add(r); >- } >- } >- super.setInput(part, new StructuredSelection(transformedSelection)); >- } >- >- /** >- * @generated >- */ >- protected AdapterFactory getAdapterFactory(Object object) { >- if (getEditingDomain() instanceof AdapterFactoryEditingDomain) { >- return ((AdapterFactoryEditingDomain) getEditingDomain()).getAdapterFactory(); >- } >- TransactionalEditingDomain editingDomain = TransactionUtil.getEditingDomain(object); >- if (editingDomain != null) { >- return ((AdapterFactoryEditingDomain) editingDomain).getAdapterFactory(); >- } >- return null; >- } >- >- /** >- * @generated >- */ >- private static class SingleDescriptorPropertySource implements IItemPropertySource { >- >- /** >- * @generated >- */ >- private IItemPropertyDescriptor myPropertyDescriptor; >- >- /** >- * @generated >- */ >- private List myDescriptors = new LinkedList(); >- >- /** >- * @generated >- */ >- SingleDescriptorPropertySource(IItemPropertyDescriptor propertyDescriptor) { >- myPropertyDescriptor = propertyDescriptor; >- myDescriptors.add(myPropertyDescriptor); >- } >- >- /** >- * @generated >- */ >- public List getPropertyDescriptors(Object object) { >- return myDescriptors; >- } >- >- /** >- * @generated >- */ >- public IItemPropertyDescriptor getPropertyDescriptor(Object object, Object propertyID) { >- return myPropertyDescriptor; >- } >- >- /** >- * @generated >- */ >- public Object getEditableValue(Object object) { >- return object; >- } >- } >- >- /** >- * @generated >- */ >- public static class LayoutItemPropertyDescriptor extends ItemPropertyDescriptor { >- >- /** >- * @generated >- */ >- private EObject[] myValues; >- >- /** >- * @generated >- */ >- LayoutItemPropertyDescriptor(AdapterFactory adapterFactory, String displayName, String description, EStructuralFeature feature, boolean isSettable, EObject[] valueInstances) { >- super(adapterFactory, displayName, description, feature, isSettable); >- myValues = valueInstances; >- } >- >- /** >- * @generated >- */ >- protected Collection getComboBoxObjects(Object object) { >- if (object instanceof EObject) { >- EObject eObject = (EObject) object; >- Object currentValue = getValue(eObject, feature); >- Collection result = new ArrayList(); >- result.add(currentValue); >- EClass valueEClass = currentValue instanceof EObject ? ((EObject) currentValue).eClass() : null; >- for (int i = 0; i < myValues.length; i++) { >- if (myValues[i].eClass() == valueEClass) { >- continue; >- } >- result.add(myValues[i]); >- } >- if (currentValue != null) { >- result.add(null); >- } >- return result; >- } >- return null; >- } >- >- /** >- * @generated >- */ >- public void setPropertyValue(Object object, Object value) { >- if (value instanceof EObject) { >- EClass eClass = ((EObject) value).eClass(); >- value = eClass.getEPackage().getEFactoryInstance().create(eClass); >- if (value instanceof XYLayoutData) { >- XYLayoutData xyLayoutData = (XYLayoutData) value; >- xyLayoutData.setTopLeft(GMFGraphFactory.eINSTANCE.createPoint()); >- xyLayoutData.getTopLeft().setX(0); >- xyLayoutData.getTopLeft().setY(0); >- xyLayoutData.setSize(GMFGraphFactory.eINSTANCE.createDimension()); >- xyLayoutData.getSize().setDx(40); >- xyLayoutData.getSize().setDy(40); >- } >- } >- super.setPropertyValue(object, value); >- } >- } >- >-} >Index: src/org/eclipse/gmf/graphdef/editor/sheet/CustomPropertySection.java >=================================================================== >RCS file: src/org/eclipse/gmf/graphdef/editor/sheet/CustomPropertySection.java >diff -N src/org/eclipse/gmf/graphdef/editor/sheet/CustomPropertySection.java >--- src/org/eclipse/gmf/graphdef/editor/sheet/CustomPropertySection.java 2 Mar 2007 15:39:20 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,113 +0,0 @@ >-/* >- * Copyright (c) 2007 Borland Software Corporation and others. >- * All rights reserved. This program and the accompanying materials >- * are made available under the terms of the Eclipse Public License v1.0 >- * which accompanies this distribution, and is available at >- * http://www.eclipse.org/legal/epl-v10.html >- * >- * Contributors: >- * Borland Software Corporation - initial API and implementation >- */ >-package org.eclipse.gmf.graphdef.editor.sheet; >- >-import java.util.ArrayList; >-import java.util.Collection; >-import java.util.Iterator; >- >-import org.eclipse.core.runtime.IAdaptable; >-import org.eclipse.gef.EditPart; >-import org.eclipse.gmf.gmfgraph.LineKind; >-import org.eclipse.gmf.graphdef.editor.part.GMFGraphDiagramEditorPlugin; >-import org.eclipse.gmf.runtime.notation.View; >-import org.eclipse.jface.resource.ImageRegistry; >-import org.eclipse.jface.viewers.ISelection; >-import org.eclipse.jface.viewers.StructuredSelection; >-import org.eclipse.ui.IWorkbenchPart; >- >-/** >- * @generated >- */ >-public class CustomPropertySection extends AbstractCustomPropertySection { >- >- /** >- * Modify/unwrap selection. >- * >- * @generated >- */ >- protected Object transformSelection(Object selected) { >- if (selected instanceof EditPart) { >- Object model = ((EditPart) selected).getModel(); >- return model instanceof View ? ((View) model).getElement() : null; >- } >- if (selected instanceof View) { >- return ((View) selected).getElement(); >- } >- if (selected instanceof IAdaptable) { >- View view = (View) ((IAdaptable) selected).getAdapter(View.class); >- if (view != null) { >- return view.getElement(); >- } >- } >- return selected; >- } >- >- /** >- * @generated >- */ >- private Collection mySavedSelection = new ArrayList(); >- >- /** >- * @generated >- */ >- public Collection getSavedSelection() { >- // StructuredSelection structured = (StructuredSelection) >- // super.getSelection(); >- // return structured.toList(); >- return mySavedSelection; >- } >- >- /** >- * @generated >- */ >- public void setInput(IWorkbenchPart part, ISelection selection) { >- if (selection.isEmpty() || false == selection instanceof StructuredSelection) { >- super.setInput(part, selection); >- return; >- } >- final StructuredSelection structuredSelection = ((StructuredSelection) selection); >- ArrayList transformedSelection = new ArrayList(structuredSelection.size()); >- for (Iterator it = structuredSelection.iterator(); it.hasNext();) { >- Object r = transformSelection(it.next()); >- if (r != null) { >- transformedSelection.add(r); >- } >- } >- mySavedSelection = transformedSelection; >- super.setInput(part, new StructuredSelection(transformedSelection)); >- } >- >- /** >- * @generated >- */ >- private static ImageRegistry ourImageRegistry = new ImageRegistry(); >- >- /** >- * @generated >- */ >- static { >- ourImageRegistry.put(LineKind.LINE_SOLID_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_solid.png")); >- ourImageRegistry.put(LineKind.LINE_DASH_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_dash.png")); >- ourImageRegistry.put(LineKind.LINE_DOT_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_dot.png")); >- ourImageRegistry.put(LineKind.LINE_DASHDOT_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_dashdot.png")); >- ourImageRegistry.put(LineKind.LINE_DASHDOTDOT_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_dashdotdot.png")); >- ourImageRegistry.put(LineKind.LINE_CUSTOM_LITERAL.getLiteral(), GMFGraphDiagramEditorPlugin.findImageDescriptor("icons/line_custom.png")); >- } >- >- /** >- * @generated >- */ >- public ImageRegistry getImageRegistry() { >- return ourImageRegistry; >- } >- >-} >Index: src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomPropertySection.java >=================================================================== >RCS file: src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomPropertySection.java >diff -N src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomPropertySection.java >--- src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomPropertySection.java 2 Mar 2007 18:36:49 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,624 +0,0 @@ >-/* >- * Copyright (c) 2007 Borland Software Corporation and others. >- * All rights reserved. This program and the accompanying materials >- * are made available under the terms of the Eclipse Public License v1.0 >- * which accompanies this distribution, and is available at >- * http://www.eclipse.org/legal/epl-v10.html >- * >- * Contributors: >- * Borland Software Corporation - initial API and implementation >- */ >-package org.eclipse.gmf.graphdef.editor.sheet; >- >-public abstract class AbstractCustomPropertySection extends org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection { >- >- public abstract java.util.Collection getSavedSelection(); >- >- public abstract org.eclipse.jface.resource.ImageRegistry getImageRegistry(); >- >- private static final String KIND_KEY = "kind"; //$NON-NLS-1$ >- >- private static final int FILL = 101; >- >- private static final int OUTLINE = 102; >- >- private static final int XOR_FILL = 103; >- >- private static final int XOR_OUTLINE = 104; >- >- private static final int CORNER_WIDTH = 201; >- >- private static final int CORNER_HEIGHT = 202; >- >- private static final int LINE_WIDTH = 203; >- >- private ModelUpdater myListener; >- >- private org.eclipse.swt.widgets.Group myLineStyleGroup; >- >- private org.eclipse.swt.widgets.Group myLineWidthGroup; >- >- private org.eclipse.swt.widgets.Group myFillOutlineGroup; >- >- private org.eclipse.swt.widgets.Group myCornerGroup; >- >- private org.eclipse.swt.widgets.Spinner myLineWidthSpinner; >- >- private org.eclipse.swt.widgets.Button myLineStyle_Solid; >- >- private org.eclipse.swt.widgets.Button myLineStyle_Dash; >- >- private org.eclipse.swt.widgets.Button myLineStyle_Dot; >- >- private org.eclipse.swt.widgets.Button myLineStyle_DashDot; >- >- private org.eclipse.swt.widgets.Button myLineStyle_DashDotDot; >- >- private org.eclipse.swt.widgets.Button myLineStyle_Custom; >- >- private org.eclipse.swt.widgets.Button myFillCheckbox; >- >- private org.eclipse.swt.widgets.Button myOutlineCheckbox; >- >- private org.eclipse.swt.widgets.Button myXorFillCheckbox; >- >- private org.eclipse.swt.widgets.Button myXorOutlineCheckbox; >- >- private org.eclipse.swt.widgets.Spinner myCornerWidthSpinner; >- >- private org.eclipse.swt.widgets.Spinner myCornerHeightSpinner; >- >- private org.eclipse.swt.widgets.Composite mySectionComposite; >- >- protected org.eclipse.emf.ecore.EObject getEObject() { >- if (getSavedSelection() != null && !getSavedSelection().isEmpty()) { >- return (org.eclipse.emf.ecore.EObject) getSavedSelection().iterator().next(); >- } >- return super.getEObject(); >- } >- >- public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage tabbedPropertySheetPage) { >- super.createControls(parent, tabbedPropertySheetPage); >- mySectionComposite = getWidgetFactory().createFlatFormComposite(parent); >- >- myLineStyleGroup = createLineStyleGroup(mySectionComposite, getLineStyleLabel()); >- myLineStyle_Solid = createLineStyleRadio(myLineStyleGroup, null, false, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_SOLID_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_SOLID); >- myLineStyle_Dash = createLineStyleRadio(myLineStyleGroup, myLineStyle_Solid, false, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASH_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_DASH); >- myLineStyle_Dot = createLineStyleRadio(myLineStyleGroup, myLineStyle_Dash, false, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_DOT_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_DOT); >- myLineStyle_DashDot = createLineStyleRadio(myLineStyleGroup, myLineStyle_Dot, false, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASHDOT_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_DASHDOT); >- myLineStyle_DashDotDot = createLineStyleRadio(myLineStyleGroup, myLineStyle_DashDot, false, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_DASHDOTDOT_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_DASHDOTDOT); >- myLineStyle_Custom = createLineStyleRadio(myLineStyleGroup, myLineStyle_DashDotDot, true, getImageRegistry().get(org.eclipse.gmf.gmfgraph.LineKind.LINE_CUSTOM_LITERAL.getLiteral()), >- org.eclipse.swt.SWT.LINE_CUSTOM); >- >- myLineWidthGroup = createLineWidthGroup(mySectionComposite, getLineWidthLabel()); >- // org.eclipse.swt.custom.CLabel lineWidthLabel = >- // createLabelWidget(myLineWidthGroup, getLineWidthLabel(), null); >- myLineWidthSpinner = createSpinnerWidget(myLineWidthGroup, null, LINE_WIDTH); >- >- myFillOutlineGroup = createFillOutlineGroup(mySectionComposite, getFillOutlineLabel()); >- myFillCheckbox = createCheckbox(myFillOutlineGroup, getFillPropertyNameLabel(), null, null, FILL); >- myOutlineCheckbox = createCheckbox(myFillOutlineGroup, getOutlinePropertyNameLabel(), myFillCheckbox, null, OUTLINE); >- myXorFillCheckbox = createCheckbox(myFillOutlineGroup, getXorFillPropertyNameLabel(), null, myFillCheckbox, XOR_FILL); >- myXorOutlineCheckbox = createCheckbox(myFillOutlineGroup, getXorOutlinePropertyNameLabel(), myXorFillCheckbox, myOutlineCheckbox, XOR_OUTLINE); >- >- myCornerGroup = createCornerGroup(mySectionComposite, getCornerDimensionsLabel()); >- org.eclipse.swt.custom.CLabel cornerWidthLabel = createLabelWidget(myCornerGroup, getCornerWidthLabel(), null); >- myCornerWidthSpinner = createSpinnerWidget(myCornerGroup, cornerWidthLabel, CORNER_WIDTH); >- org.eclipse.swt.custom.CLabel cornerHeigthLabel = createLabelWidget(myCornerGroup, getCornerHeightLabel(), myCornerWidthSpinner); >- myCornerHeightSpinner = createSpinnerWidget(myCornerGroup, cornerHeigthLabel, CORNER_HEIGHT); >- >- getListener().startListeningTo(myLineWidthSpinner); >- getListener().startListeningTo(myLineStyle_Solid); >- getListener().startListeningTo(myLineStyle_Dash); >- getListener().startListeningTo(myLineStyle_Dot); >- getListener().startListeningTo(myLineStyle_DashDot); >- getListener().startListeningTo(myLineStyle_DashDotDot); >- getListener().startListeningTo(myLineStyle_Custom); >- getListener().startListeningTo(myFillCheckbox); >- getListener().startListeningTo(myOutlineCheckbox); >- getListener().startListeningTo(myXorFillCheckbox); >- getListener().startListeningTo(myXorOutlineCheckbox); >- getListener().startListeningTo(myCornerWidthSpinner); >- getListener().startListeningTo(myCornerHeightSpinner); >- } >- >- public void dispose() { >- getListener().stopListeningTo(myLineWidthSpinner); >- getListener().stopListeningTo(myLineStyle_Solid); >- getListener().stopListeningTo(myLineStyle_Dash); >- getListener().stopListeningTo(myLineStyle_Dot); >- getListener().stopListeningTo(myLineStyle_DashDot); >- getListener().stopListeningTo(myLineStyle_DashDotDot); >- getListener().stopListeningTo(myLineStyle_Custom); >- getListener().stopListeningTo(myFillCheckbox); >- getListener().stopListeningTo(myOutlineCheckbox); >- getListener().stopListeningTo(myXorFillCheckbox); >- getListener().stopListeningTo(myXorOutlineCheckbox); >- getListener().stopListeningTo(myCornerWidthSpinner); >- getListener().stopListeningTo(myCornerHeightSpinner); >- super.dispose(); >- } >- >- protected org.eclipse.swt.widgets.Button createLineStyleRadio(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control topControl, boolean last, >- org.eclipse.swt.graphics.Image image, int kind) { >- org.eclipse.swt.widgets.Button radio = getWidgetFactory().createButton(parent, "", org.eclipse.swt.SWT.RADIO); >- radio.setImage(image); >- radio.setData(KIND_KEY, Integer.valueOf(kind)); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- if (topControl == null) { >- data.top = new org.eclipse.swt.layout.FormAttachment(0); >- } else { >- data.top = new org.eclipse.swt.layout.FormAttachment(topControl, 5); >- } >- data.left = new org.eclipse.swt.layout.FormAttachment(0); >- if (last) { >- data.bottom = new org.eclipse.swt.layout.FormAttachment(100); >- } >- radio.setLayoutData(data); >- return radio; >- } >- >- protected org.eclipse.swt.widgets.Group createLineWidthGroup(org.eclipse.swt.widgets.Composite parent, String label) { >- org.eclipse.swt.widgets.Group group = getWidgetFactory().createGroup(parent, label); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- data.top = new org.eclipse.swt.layout.FormAttachment(0, 0); >- data.left = new org.eclipse.swt.layout.FormAttachment(myLineStyleGroup); >- group.setLayoutData(data); >- group.setLayout(createStandardFormLayout()); >- return group; >- } >- >- protected org.eclipse.swt.widgets.Group createLineStyleGroup(org.eclipse.swt.widgets.Composite parent, String label) { >- org.eclipse.swt.widgets.Group group = getWidgetFactory().createGroup(parent, label); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- data.top = new org.eclipse.swt.layout.FormAttachment(0, 0); >- data.left = new org.eclipse.swt.layout.FormAttachment(0); >- group.setLayoutData(data); >- group.setLayout(createStandardFormLayout()); >- return group; >- } >- >- protected org.eclipse.swt.widgets.Group createFillOutlineGroup(org.eclipse.swt.widgets.Composite parent, String label) { >- org.eclipse.swt.widgets.Group group = getWidgetFactory().createGroup(parent, label); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- data.top = new org.eclipse.swt.layout.FormAttachment(myLineWidthGroup); >- data.left = new org.eclipse.swt.layout.FormAttachment(myLineStyleGroup); >- group.setLayoutData(data); >- group.setLayout(createStandardFormLayout()); >- return group; >- } >- >- protected org.eclipse.swt.widgets.Group createCornerGroup(org.eclipse.swt.widgets.Composite parent, String label) { >- org.eclipse.swt.widgets.Group group = getWidgetFactory().createGroup(parent, label); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- data.top = new org.eclipse.swt.layout.FormAttachment(myFillOutlineGroup); >- data.left = new org.eclipse.swt.layout.FormAttachment(myLineStyleGroup); >- data.bottom = new org.eclipse.swt.layout.FormAttachment(100); >- group.setLayoutData(data); >- group.setLayout(createStandardFormLayout()); >- return group; >- } >- >- protected org.eclipse.swt.widgets.Layout createStandardFormLayout() { >- org.eclipse.swt.layout.FormLayout layout = new org.eclipse.swt.layout.FormLayout(); >- layout.marginWidth = org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants.HSPACE + 2; >- layout.marginHeight = org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants.VSPACE; >- layout.spacing = org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants.VMARGIN + 1; >- return layout; >- } >- >- protected org.eclipse.swt.widgets.Button createCheckbox(org.eclipse.swt.widgets.Group parent, String label, org.eclipse.swt.widgets.Control topControl, >- org.eclipse.swt.widgets.Control leftControl, int kind) { >- org.eclipse.swt.widgets.Button checkbox = getWidgetFactory().createButton(parent, label, org.eclipse.swt.SWT.CHECK); >- checkbox.setData(KIND_KEY, Integer.valueOf(kind)); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- if (topControl == null) { >- data.top = new org.eclipse.swt.layout.FormAttachment(0); >- } else { >- data.top = new org.eclipse.swt.layout.FormAttachment(topControl); >- } >- if (leftControl == null) { >- data.left = new org.eclipse.swt.layout.FormAttachment(0); >- } else { >- data.right = new org.eclipse.swt.layout.FormAttachment(100, -org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants.HSPACE); >- data.left = new org.eclipse.swt.layout.FormAttachment(50); >- } >- checkbox.setLayoutData(data); >- return checkbox; >- } >- >- private String getCornerDimensionsLabel() { >- return "Corner Dimensions"; >- } >- >- private String getCornerWidthLabel() { >- return "Corner Width"; >- } >- >- private String getCornerHeightLabel() { >- return "Corner Height"; >- } >- >- private String getFillPropertyNameLabel() { >- return "Fill"; >- } >- >- private String getOutlinePropertyNameLabel() { >- return "Outline"; >- } >- >- private String getXorFillPropertyNameLabel() { >- return "XOR Fill"; >- } >- >- private String getXorOutlinePropertyNameLabel() { >- return "XOR Outline"; >- } >- >- private String getFillOutlineLabel() { >- return "Mix Styles"; >- } >- >- private String getLineStyleLabel() { >- return "Line Style"; >- } >- >- private String getLineWidthLabel() { >- return "Line Width"; >- } >- >- protected void setLineWidth(final int lineWidth) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setLineWidth(lineWidth); >- } >- }, "Setting line width"); >- } >- >- protected void setLineKind(final int lineKind) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setLineKind(org.eclipse.gmf.gmfgraph.LineKind.get(lineKind)); >- } >- }, "Setting line style"); >- } >- >- protected void setFill(final boolean value) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setFill(value); >- } >- }, "Setting shape fill"); >- } >- >- protected void setOutline(final boolean value) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setOutline(value); >- } >- }, "Setting shape outline"); >- } >- >- protected void setXorFill(final boolean value) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setXorFill(value); >- } >- }, "Setting shape XOR fill"); >- } >- >- protected void setXorOutline(final boolean value) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- getShape().setXorOutline(value); >- } >- }, "Setting shape XOR outline"); >- } >- >- protected void setCornerWidth(final int cornerWidth) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- ((org.eclipse.gmf.gmfgraph.RoundedRectangle) getShape()).setCornerWidth(cornerWidth); >- } >- }, "Setting corner width"); >- } >- >- protected void setCornerHeight(final int cornerHeight) { >- modifyModel(new RunnableWithShape() { >- >- public void run() { >- ((org.eclipse.gmf.gmfgraph.RoundedRectangle) getShape()).setCornerHeight(cornerHeight); >- } >- }, "Setting corner height"); >- } >- >- public static abstract class RunnableWithShape implements Runnable { >- >- private org.eclipse.gmf.gmfgraph.Shape myShape; >- >- public org.eclipse.gmf.gmfgraph.Shape getShape() { >- return myShape; >- } >- >- public void setTargetShape(org.eclipse.gmf.gmfgraph.Shape shape) { >- myShape = shape; >- } >- } >- >- protected void modifyModel(RunnableWithShape runnable, String commandName) { >- java.util.ArrayList commands = new java.util.ArrayList(); >- for (java.util.Iterator it = getSavedSelection().iterator(); it.hasNext();) { >- final org.eclipse.emf.ecore.EObject next = (org.eclipse.emf.ecore.EObject) it.next(); >- if (next instanceof org.eclipse.gmf.gmfgraph.Shape) { >- final org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) next; >- runnable.setTargetShape(shape); >- commands.add(createCommand(commandName, next, runnable)); >- } >- } >- executeAsCompositeCommand(commandName, commands); >- refresh(); >- } >- >- private ModelUpdater getListener() { >- if (myListener == null) { >- myListener = new ModelUpdater(); >- } >- return myListener; >- } >- >- private class ModelUpdater implements org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener { >- >- private boolean nonUserChange; >- >- public boolean isNonUserChange() { >- return nonUserChange; >- } >- >- private void applyChangesFrom(org.eclipse.swt.widgets.Widget widget) { >- if (!isNonUserChange()) { >- if (widget instanceof org.eclipse.swt.widgets.Spinner) { >- Integer kind = (Integer) widget.getData(KIND_KEY); >- int value = ((org.eclipse.swt.widgets.Spinner) widget).getSelection(); >- switch (kind.intValue()) { >- case CORNER_WIDTH: { >- setCornerWidth(value); >- break; >- } >- case CORNER_HEIGHT: { >- setCornerHeight(value); >- break; >- } >- case LINE_WIDTH: { >- setLineWidth(value); >- break; >- } >- } >- } else if (widget instanceof org.eclipse.swt.widgets.Button) { >- boolean turnedOn = ((org.eclipse.swt.widgets.Button) widget).getSelection(); >- Integer kind = (Integer) widget.getData(KIND_KEY); >- switch (kind.intValue()) { >- case org.eclipse.swt.SWT.LINE_SOLID: >- case org.eclipse.swt.SWT.LINE_DASH: >- case org.eclipse.swt.SWT.LINE_DOT: >- case org.eclipse.swt.SWT.LINE_DASHDOT: >- case org.eclipse.swt.SWT.LINE_DASHDOTDOT: >- case org.eclipse.swt.SWT.LINE_CUSTOM: { >- setLineKind(kind.intValue()); >- break; >- } >- case FILL: { >- setFill(turnedOn); >- break; >- } >- case OUTLINE: { >- setOutline(turnedOn); >- break; >- } >- case XOR_FILL: { >- setXorFill(turnedOn); >- break; >- } >- case XOR_OUTLINE: { >- setXorOutline(turnedOn); >- break; >- } >- } >- } >- } >- } >- >- public void modifyText(org.eclipse.swt.events.ModifyEvent e) { >- applyChangesFrom(e.widget); >- } >- >- public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e) { >- widgetSelected(e); >- } >- >- public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) { >- applyChangesFrom(e.widget); >- } >- >- public void startListeningTo(org.eclipse.swt.widgets.Spinner spinner) { >- spinner.addModifyListener(this); >- spinner.addSelectionListener(this); >- } >- >- public void stopListeningTo(org.eclipse.swt.widgets.Spinner spinner) { >- spinner.removeModifyListener(this); >- spinner.removeSelectionListener(this); >- } >- >- public void startListeningTo(org.eclipse.swt.widgets.Button button) { >- button.addSelectionListener(this); >- } >- >- public void stopListeningTo(org.eclipse.swt.widgets.Button button) { >- button.removeSelectionListener(this); >- } >- >- public void startNonUserChange() { >- nonUserChange = true; >- } >- >- public void finishNonUserChange() { >- nonUserChange = false; >- } >- } >- >- protected org.eclipse.swt.custom.CLabel createLabelWidget(org.eclipse.swt.widgets.Composite parent, String labelText, org.eclipse.swt.widgets.Control leftWidget) { >- org.eclipse.swt.custom.CLabel label = getWidgetFactory().createCLabel(parent, labelText); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- data.top = new org.eclipse.swt.layout.FormAttachment(0); >- if (leftWidget != null) { >- data.left = new org.eclipse.swt.layout.FormAttachment(leftWidget); >- } else { >- data.left = new org.eclipse.swt.layout.FormAttachment(0); >- } >- label.setLayoutData(data); >- return label; >- } >- >- protected org.eclipse.swt.widgets.Spinner createSpinnerWidget(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control leftWidget, int kind) { >- org.eclipse.swt.widgets.Spinner spinner = new org.eclipse.swt.widgets.Spinner(parent, org.eclipse.swt.SWT.BORDER); >- spinner.setMinimum(1); >- spinner.setMaximum(999); >- spinner.setSelection(100); >- spinner.setIncrement(1); >- spinner.setPageIncrement(100); >- spinner.setBackground(parent.getBackground()); >- spinner.setForeground(parent.getForeground()); >- spinner.setData(KIND_KEY, Integer.valueOf(kind)); >- org.eclipse.swt.layout.FormData data = new org.eclipse.swt.layout.FormData(); >- if (leftWidget != null) { >- data.left = new org.eclipse.swt.layout.FormAttachment(leftWidget); >- } else { >- data.left = new org.eclipse.swt.layout.FormAttachment(0); >- } >- data.top = new org.eclipse.swt.layout.FormAttachment(0); >- spinner.setLayoutData(data); >- return spinner; >- } >- >- private int getLineKind(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.getLineKind().getValue(); >- } >- return -1; >- } >- >- private int getLineWidth(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.getLineWidth(); >- } >- return -1; >- } >- >- private boolean getFill(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.isFill(); >- } >- return false; >- } >- >- private boolean getOutline(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.isOutline(); >- } >- return false; >- } >- >- private boolean getXorFill(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.isXorFill(); >- } >- return false; >- } >- >- private boolean getXorOutline(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.Shape) { >- org.eclipse.gmf.gmfgraph.Shape shape = (org.eclipse.gmf.gmfgraph.Shape) object; >- return shape.isXorOutline(); >- } >- return false; >- } >- >- private int getCornerWidth(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.RoundedRectangle) { >- org.eclipse.gmf.gmfgraph.RoundedRectangle cornered = (org.eclipse.gmf.gmfgraph.RoundedRectangle) object; >- return cornered.getCornerWidth(); >- } >- return -1; >- } >- >- private int getCornerHeight(Object object) { >- if (object instanceof org.eclipse.gmf.gmfgraph.RoundedRectangle) { >- org.eclipse.gmf.gmfgraph.RoundedRectangle cornered = (org.eclipse.gmf.gmfgraph.RoundedRectangle) object; >- return cornered.getCornerHeight(); >- } >- return -1; >- } >- >- public void refresh() { >- getListener().startNonUserChange(); >- try { >- for (java.util.Iterator it = getSavedSelection().iterator(); it.hasNext();) { >- final Object next = it.next(); >- mySectionComposite.setVisible(next instanceof org.eclipse.gmf.gmfgraph.Shape); >- if (!mySectionComposite.isVisible()) { >- return; >- } >- executeAsReadAction(new Runnable() { >- >- public void run() { >- int lineWidth = getLineWidth(next); >- if (lineWidth != -1) { >- myLineWidthSpinner.setSelection(lineWidth); >- } >- int lineKind = getLineKind(next); >- myLineStyle_Solid.setSelection(lineKind == org.eclipse.swt.SWT.LINE_SOLID); >- myLineStyle_Dash.setSelection(lineKind == org.eclipse.swt.SWT.LINE_DASH); >- myLineStyle_Dot.setSelection(lineKind == org.eclipse.swt.SWT.LINE_DOT); >- myLineStyle_DashDot.setSelection(lineKind == org.eclipse.swt.SWT.LINE_DASHDOT); >- myLineStyle_DashDotDot.setSelection(lineKind == org.eclipse.swt.SWT.LINE_DASHDOTDOT); >- myLineStyle_Custom.setSelection(lineKind == org.eclipse.swt.SWT.LINE_CUSTOM); >- myFillCheckbox.setSelection(getFill(next)); >- myOutlineCheckbox.setSelection(getOutline(next)); >- myXorFillCheckbox.setSelection(getXorFill(next)); >- myXorOutlineCheckbox.setSelection(getXorOutline(next)); >- myCornerGroup.setVisible(next instanceof org.eclipse.gmf.gmfgraph.RoundedRectangle); >- if (myCornerGroup.isVisible()) { >- int cornerWidth = getCornerWidth(next); >- if (cornerWidth != -1) { >- myCornerWidthSpinner.setSelection(cornerWidth); >- } >- int cornerHeight = getCornerHeight(next); >- if (cornerHeight != -1) { >- myCornerHeightSpinner.setSelection(cornerHeight); >- } >- } >- } >- }); >- } >- } finally { >- getListener().finishNonUserChange(); >- } >- } >-} >Index: models/graphdef.gmfgen >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.graphdef.editor/models/graphdef.gmfgen,v >retrieving revision 1.19 >diff -u -r1.19 graphdef.gmfgen >--- models/graphdef.gmfgen 2 Mar 2007 15:39:20 -0000 1.19 >+++ models/graphdef.gmfgen 4 Apr 2007 02:10:22 -0000 >@@ -1,972 +1,2231 @@ > <?xml version="1.0" encoding="UTF-8"?> >-<gmfgen:GenEditorGenerator xmi:version="2.0" >+<xmi:XMI 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/2005/GenModel/2.0" packageNamePrefix="org.eclipse.gmf.graphdef.editor" >- modelID="GMFGraph" >- dynamicTemplates="true" >- templateDirectory="/org.eclipse.gmf.graphdef.editor/templates/" >- copyrightText=" Copyright (c) 2006, 2007 Borland Software Corporation and others.
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html

 Contributors:
 Borland Software Corporation - initial API and implementation"> >- <diagram >- visualID="1000" >- editPartClassName="CanvasEditPart" >- itemSemanticEditPolicyClassName="CanvasItemSemanticEditPolicy" >- notationViewFactoryClassName="CanvasViewFactory" >- canonicalEditPolicyClassName="CanvasCanonicalEditPolicy" >- iconProviderPriority="Low" >- creationWizardCategoryID="org.eclipse.ui.Examples/org.eclipse.gmf.examples" >- validationProviderPriority="Low"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="CanvasEditHelper"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> >- <containsShortcutsTo>gmfgen</containsShortcutsTo> >- <shortcutsProvidedFor>GMFGraph</shortcutsProvidedFor> >- <domainDiagramElement >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas"/> >- <childNodes >- visualID="3001" >- editPartClassName="RectangleEditPart" >- itemSemanticEditPolicyClassName="RectangleItemSemanticEditPolicy" >- notationViewFactoryClassName="RectangleViewFactory" >- canonicalEditPolicyClassName="RectangleCanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="RectangleGraphicalNodeEditPolicy" >- createCommandClassName="RectangleCreateCommand" >- containers="//@diagram/@compartments.3"> >+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" >+ xmlns:gmfgen="http://www.eclipse.org/gmf/2005/GenModel/2.0" >+ xmlns:propsheet="http://www.eclipse.org/gmf/2007/GmfGraph/PropSheet"> >+ <gmfgen:GenEditorGenerator >+ packageNamePrefix="org.eclipse.gmf.graphdef.editor" >+ modelID="GMFGraph" >+ dynamicTemplates="true" >+ templateDirectory="/org.eclipse.gmf.graphdef.editor/templates/" >+ copyrightText=" Copyright (c) 2006, 2007 Borland Software Corporation and others.
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Eclipse Public License v1.0
 which accompanies this distribution, and is available at
 http://www.eclipse.org/legal/epl-v10.html

 Contributors:
 Borland Software Corporation - initial API and implementation"> >+ <diagram >+ visualID="1000" >+ editPartClassName="CanvasEditPart" >+ itemSemanticEditPolicyClassName="CanvasItemSemanticEditPolicy" >+ notationViewFactoryClassName="CanvasViewFactory" >+ canonicalEditPolicyClassName="CanvasCanonicalEditPolicy" >+ iconProviderPriority="Low" >+ creationWizardCategoryID="org.eclipse.ui.Examples/org.eclipse.gmf.examples" >+ validationProviderPriority="Low"> > <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> > <elementType > xsi:type="gmfgen:MetamodelType" >- editHelperClassName="RectangleEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="RectangleFigure" >- classBody="

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

	/**
	 * @generated
	 */
	public RectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Rectangle"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3002" >- editPartClassName="Rectangle2EditPart" >- itemSemanticEditPolicyClassName="Rectangle2ItemSemanticEditPolicy" >- notationViewFactoryClassName="Rectangle2ViewFactory" >- canonicalEditPolicyClassName="Rectangle2CanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="Rectangle2GraphicalNodeEditPolicy" >- createCommandClassName="Rectangle2CreateCommand" >- containers="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.0 //@diagram/@childNodes.5 //@diagram/@childNodes.6"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:SpecializationType" >- metamodelType="//@diagram/@childNodes.0/@elementType" >- editHelperAdviceClassName="RectangleEditHelperAdvice"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="RectangleFigure" >- classBody="

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

	/**
	 * @generated
	 */
	public RectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Rectangle"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3003" >- editPartClassName="EllipseEditPart" >- itemSemanticEditPolicyClassName="EllipseItemSemanticEditPolicy" >- notationViewFactoryClassName="EllipseViewFactory" >- canonicalEditPolicyClassName="EllipseCanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="EllipseGraphicalNodeEditPolicy" >- createCommandClassName="EllipseCreateCommand" >- containers="//@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.1 //@diagram/@childNodes.0 //@diagram/@childNodes.5 //@diagram/@childNodes.6"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="EllipseEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="EllipseFigure" >- classBody="

/**
 * @generated
 */
public class EllipseFigure extends org.eclipse.draw2d.Ellipse {

	/**
	 * @generated
	 */
	public EllipseFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Ellipse"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3004" >- editPartClassName="RoundedRectangleEditPart" >- itemSemanticEditPolicyClassName="RoundedRectangleItemSemanticEditPolicy" >- notationViewFactoryClassName="RoundedRectangleViewFactory" >- canonicalEditPolicyClassName="RoundedRectangleCanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="RoundedRectangleGraphicalNodeEditPolicy" >- createCommandClassName="RoundedRectangleCreateCommand" >- containers="//@diagram/@childNodes.3 //@diagram/@childNodes.2 //@diagram/@childNodes.1 //@diagram/@childNodes.0 //@diagram/@childNodes.5 //@diagram/@childNodes.6"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="RoundedRectangleEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="RoundedRectangleFigure" >- classBody="

/**
 * @generated
 */
public class RoundedRectangleFigure extends org.eclipse.draw2d.RoundedRectangle {

	/**
	 * @generated
	 */
	public RoundedRectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8), getMapMode().DPtoLP(8)));

		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3005" >- editPartClassName="PolylineEditPart" >- itemSemanticEditPolicyClassName="PolylineItemSemanticEditPolicy" >- notationViewFactoryClassName="PolylineViewFactory" >- canonicalEditPolicyClassName="PolylineCanonicalEditPolicy" >- graphicalNodeEditPolicyClassName="PolylineGraphicalNodeEditPolicy" >- createCommandClassName="PolylineCreateCommand" >- containers="//@diagram/@childNodes.3 //@diagram/@childNodes.2 //@diagram/@childNodes.1 //@diagram/@childNodes.0 //@diagram/@childNodes.5 //@diagram/@childNodes.6"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="PolylineEditHelper"/> >+ editHelperClassName="CanvasEditHelper"/> > <viewmap > xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.Polyline"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Polyline"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3006" >- editPartClassName="Ellipse2EditPart" >- itemSemanticEditPolicyClassName="Ellipse2ItemSemanticEditPolicy" >- notationViewFactoryClassName="Ellipse2ViewFactory" >- canonicalEditPolicyClassName="Ellipse2CanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="Ellipse2GraphicalNodeEditPolicy" >- createCommandClassName="Ellipse2CreateCommand" >- containers="//@diagram/@compartments.3"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:SpecializationType" >- metamodelType="//@diagram/@childNodes.2/@elementType" >- editHelperAdviceClassName="EllipseEditHelperAdvice"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="EllipseFigure" >- classBody="

/**
 * @generated
 */
public class EllipseFigure extends org.eclipse.draw2d.Ellipse {

	/**
	 * @generated
	 */
	public EllipseFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Ellipse"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3007" >- editPartClassName="RoundedRectangle2EditPart" >- itemSemanticEditPolicyClassName="RoundedRectangle2ItemSemanticEditPolicy" >- notationViewFactoryClassName="RoundedRectangle2ViewFactory" >- canonicalEditPolicyClassName="RoundedRectangle2CanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.2 //@diagram/@childNodes.3 //@diagram/@childNodes.4" >- graphicalNodeEditPolicyClassName="RoundedRectangle2GraphicalNodeEditPolicy" >- createCommandClassName="RoundedRectangle2CreateCommand" >- containers="//@diagram/@compartments.3"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:SpecializationType" >- metamodelType="//@diagram/@childNodes.3/@elementType" >- editHelperAdviceClassName="RoundedRectangleEditHelperAdvice"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- layoutType="XY_LAYOUT" >- className="RoundedRectangleFigure" >- classBody="

/**
 * @generated
 */
public class RoundedRectangleFigure extends org.eclipse.draw2d.RoundedRectangle {

	/**
	 * @generated
	 */
	public RoundedRectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8), getMapMode().DPtoLP(8)));

		createContents();
	}


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



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

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

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

}
	
"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- </modelFacet> >- </childNodes> >- <childNodes >- visualID="3008" >- editPartClassName="Polyline2EditPart" >- itemSemanticEditPolicyClassName="Polyline2ItemSemanticEditPolicy" >- notationViewFactoryClassName="Polyline2ViewFactory" >- canonicalEditPolicyClassName="Polyline2CanonicalEditPolicy" >- graphicalNodeEditPolicyClassName="Polyline2GraphicalNodeEditPolicy" >- createCommandClassName="Polyline2CreateCommand" >- containers="//@diagram/@compartments.3"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:SpecializationType" >- metamodelType="//@diagram/@childNodes.4/@elementType" >- editHelperAdviceClassName="PolylineEditHelperAdvice"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.Polyline"> >- <attributes >- xsi:type="gmfgen:DefaultSizeAttributes" >- width="0" >- height="0"/> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Polyline"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >- </modelFacet> >- </childNodes> >- <topLevelNodes >- visualID="2001" >- editPartClassName="CompartmentEditPart" >- itemSemanticEditPolicyClassName="CompartmentItemSemanticEditPolicy" >- notationViewFactoryClassName="CompartmentViewFactory" >- canonicalEditPolicyClassName="CompartmentCanonicalEditPolicy" >- compartments="//@diagram/@compartments.0" >- graphicalNodeEditPolicyClassName="CompartmentGraphicalNodeEditPolicy" >- createCommandClassName="CompartmentCreateCommand"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="CompartmentEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- className="DiagramElementFigure" >- classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Compartment"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/compartments"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/compartments"/> >- </modelFacet> >- <labels >- visualID="5001" >- editPartClassName="CompartmentNameEditPart" >- itemSemanticEditPolicyClassName="CompartmentNameItemSemanticEditPolicy" >- notationViewFactoryClassName="CompartmentNameViewFactory" >- elementIcon="true"> >+ figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> >+ <containsShortcutsTo>gmfgen</containsShortcutsTo> >+ <shortcutsProvidedFor>GMFGraph</shortcutsProvidedFor> >+ <domainDiagramElement >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas"/> >+ <childNodes >+ visualID="3001" >+ editPartClassName="RectangleEditPart" >+ itemSemanticEditPolicyClassName="RectangleItemSemanticEditPolicy" >+ notationViewFactoryClassName="RectangleViewFactory" >+ canonicalEditPolicyClassName="RectangleCanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="RectangleGraphicalNodeEditPolicy" >+ createCommandClassName="RectangleCreateCommand" >+ containers="/0/@diagram/@compartments.3"> > <diagramRunTimeClass > href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="RectangleEditHelper"/> > <viewmap >- xsi:type="gmfgen:ParentAssignedViewmap" >- getterName="getFigureDiagramElementFigure_NameLabel" >- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >- <modelFacet >- xsi:type="gmfgen:FeatureLabelModelFacet"> >- <metaFeatures >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >- </modelFacet> >- </labels> >- </topLevelNodes> >- <topLevelNodes >- visualID="2002" >- editPartClassName="NodeEditPart" >- itemSemanticEditPolicyClassName="NodeItemSemanticEditPolicy" >- notationViewFactoryClassName="NodeViewFactory" >- canonicalEditPolicyClassName="NodeCanonicalEditPolicy" >- compartments="//@diagram/@compartments.1" >- graphicalNodeEditPolicyClassName="NodeGraphicalNodeEditPolicy" >- createCommandClassName="NodeCreateCommand"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="NodeEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- className="DiagramElementFigure" >- classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Node"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/nodes"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/nodes"/> >- </modelFacet> >- <labels >- visualID="5002" >- editPartClassName="NodeNameEditPart" >- itemSemanticEditPolicyClassName="NodeNameItemSemanticEditPolicy" >- notationViewFactoryClassName="NodeNameViewFactory" >- elementIcon="true"> >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="RectangleFigure" >+ classBody="

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

	/**
	 * @generated
	 */
	public RectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Rectangle"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3002" >+ editPartClassName="Rectangle2EditPart" >+ itemSemanticEditPolicyClassName="Rectangle2ItemSemanticEditPolicy" >+ notationViewFactoryClassName="Rectangle2ViewFactory" >+ canonicalEditPolicyClassName="Rectangle2CanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="Rectangle2GraphicalNodeEditPolicy" >+ createCommandClassName="Rectangle2CreateCommand" >+ containers="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.6"> > <diagramRunTimeClass > href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:SpecializationType" >+ metamodelType="/0/@diagram/@childNodes.0/@elementType" >+ editHelperAdviceClassName="RectangleEditHelperAdvice"/> > <viewmap >- xsi:type="gmfgen:ParentAssignedViewmap" >- getterName="getFigureDiagramElementFigure_NameLabel" >- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >- <modelFacet >- xsi:type="gmfgen:FeatureLabelModelFacet"> >- <metaFeatures >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >- </modelFacet> >- </labels> >- </topLevelNodes> >- <topLevelNodes >- visualID="2003" >- editPartClassName="ConnectionEditPart" >- itemSemanticEditPolicyClassName="ConnectionItemSemanticEditPolicy" >- notationViewFactoryClassName="ConnectionViewFactory" >- canonicalEditPolicyClassName="ConnectionCanonicalEditPolicy" >- compartments="//@diagram/@compartments.2" >- graphicalNodeEditPolicyClassName="ConnectionGraphicalNodeEditPolicy" >- createCommandClassName="ConnectionCreateCommand"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="ConnectionEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- className="DiagramElementFigure" >- classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Connection"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/connections"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/connections"/> >- </modelFacet> >- <labels >- visualID="5003" >- editPartClassName="ConnectionNameEditPart" >- itemSemanticEditPolicyClassName="ConnectionNameItemSemanticEditPolicy" >- notationViewFactoryClassName="ConnectionNameViewFactory" >- elementIcon="true"> >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="RectangleFigure" >+ classBody="

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

	/**
	 * @generated
	 */
	public RectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Rectangle"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3003" >+ editPartClassName="EllipseEditPart" >+ itemSemanticEditPolicyClassName="EllipseItemSemanticEditPolicy" >+ notationViewFactoryClassName="EllipseViewFactory" >+ canonicalEditPolicyClassName="EllipseCanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="EllipseGraphicalNodeEditPolicy" >+ createCommandClassName="EllipseCreateCommand" >+ containers="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.6"> > <diagramRunTimeClass > href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="EllipseEditHelper"/> > <viewmap >- xsi:type="gmfgen:ParentAssignedViewmap" >- getterName="getFigureDiagramElementFigure_NameLabel" >- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >- <modelFacet >- xsi:type="gmfgen:FeatureLabelModelFacet"> >- <metaFeatures >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >- </modelFacet> >- </labels> >- </topLevelNodes> >- <topLevelNodes >- visualID="2004" >- editPartClassName="FigureGalleryEditPart" >- itemSemanticEditPolicyClassName="FigureGalleryItemSemanticEditPolicy" >- notationViewFactoryClassName="FigureGalleryViewFactory" >- canonicalEditPolicyClassName="FigureGalleryCanonicalEditPolicy" >- compartments="//@diagram/@compartments.3" >- graphicalNodeEditPolicyClassName="FigureGalleryGraphicalNodeEditPolicy" >- createCommandClassName="FigureGalleryCreateCommand"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <elementType >- xsi:type="gmfgen:MetamodelType" >- editHelperClassName="FigureGalleryEditHelper"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- className="FigureGalleryFigure" >- classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureFigureGalleryFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureGalleryFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureFigureGalleryFigure_NameLabel() {
		return fFigureGalleryFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureFigureGalleryFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fFigureGalleryFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet> >- <metaClass >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery"/> >- <containmentMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/figures"/> >- <childMetaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/figures"/> >- </modelFacet> >- <labels >- visualID="5004" >- editPartClassName="FigureGalleryNameEditPart" >- itemSemanticEditPolicyClassName="FigureGalleryNameItemSemanticEditPolicy" >- notationViewFactoryClassName="FigureGalleryNameViewFactory" >- elementIcon="true"> >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="EllipseFigure" >+ classBody="

/**
 * @generated
 */
public class EllipseFigure extends org.eclipse.draw2d.Ellipse {

	/**
	 * @generated
	 */
	public EllipseFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Ellipse"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3004" >+ editPartClassName="RoundedRectangleEditPart" >+ itemSemanticEditPolicyClassName="RoundedRectangleItemSemanticEditPolicy" >+ notationViewFactoryClassName="RoundedRectangleViewFactory" >+ canonicalEditPolicyClassName="RoundedRectangleCanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="RoundedRectangleGraphicalNodeEditPolicy" >+ createCommandClassName="RoundedRectangleCreateCommand" >+ containers="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.6"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="RoundedRectangleEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="RoundedRectangleFigure" >+ classBody="

/**
 * @generated
 */
public class RoundedRectangleFigure extends org.eclipse.draw2d.RoundedRectangle {

	/**
	 * @generated
	 */
	public RoundedRectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8), getMapMode().DPtoLP(8)));

		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3005" >+ editPartClassName="PolylineEditPart" >+ itemSemanticEditPolicyClassName="PolylineItemSemanticEditPolicy" >+ notationViewFactoryClassName="PolylineViewFactory" >+ canonicalEditPolicyClassName="PolylineCanonicalEditPolicy" >+ graphicalNodeEditPolicyClassName="PolylineGraphicalNodeEditPolicy" >+ createCommandClassName="PolylineCreateCommand" >+ containers="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.6"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="PolylineEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.Polyline"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Polyline"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Figure/children"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3006" >+ editPartClassName="Ellipse2EditPart" >+ itemSemanticEditPolicyClassName="Ellipse2ItemSemanticEditPolicy" >+ notationViewFactoryClassName="Ellipse2ViewFactory" >+ canonicalEditPolicyClassName="Ellipse2CanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="Ellipse2GraphicalNodeEditPolicy" >+ createCommandClassName="Ellipse2CreateCommand" >+ containers="/0/@diagram/@compartments.3"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:SpecializationType" >+ metamodelType="/0/@diagram/@childNodes.2/@elementType" >+ editHelperAdviceClassName="EllipseEditHelperAdvice"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="EllipseFigure" >+ classBody="

/**
 * @generated
 */
public class EllipseFigure extends org.eclipse.draw2d.Ellipse {

	/**
	 * @generated
	 */
	public EllipseFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Ellipse"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3007" >+ editPartClassName="RoundedRectangle2EditPart" >+ itemSemanticEditPolicyClassName="RoundedRectangle2ItemSemanticEditPolicy" >+ notationViewFactoryClassName="RoundedRectangle2ViewFactory" >+ canonicalEditPolicyClassName="RoundedRectangle2CanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4" >+ graphicalNodeEditPolicyClassName="RoundedRectangle2GraphicalNodeEditPolicy" >+ createCommandClassName="RoundedRectangle2CreateCommand" >+ containers="/0/@diagram/@compartments.3"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:SpecializationType" >+ metamodelType="/0/@diagram/@childNodes.3/@elementType" >+ editHelperAdviceClassName="RoundedRectangleEditHelperAdvice"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ layoutType="XY_LAYOUT" >+ className="RoundedRectangleFigure" >+ classBody="

/**
 * @generated
 */
public class RoundedRectangleFigure extends org.eclipse.draw2d.RoundedRectangle {

	/**
	 * @generated
	 */
	public RoundedRectangleFigure() {	
		
		org.eclipse.draw2d.XYLayout myGenLayoutManager = new org.eclipse.draw2d.XYLayout();
			
		this.setLayoutManager(myGenLayoutManager);

		
this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8), getMapMode().DPtoLP(8)));

		createContents();
	}


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



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

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

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

}
	
"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ </modelFacet> >+ </childNodes> >+ <childNodes >+ visualID="3008" >+ editPartClassName="Polyline2EditPart" >+ itemSemanticEditPolicyClassName="Polyline2ItemSemanticEditPolicy" >+ notationViewFactoryClassName="Polyline2ViewFactory" >+ canonicalEditPolicyClassName="Polyline2CanonicalEditPolicy" >+ graphicalNodeEditPolicyClassName="Polyline2GraphicalNodeEditPolicy" >+ createCommandClassName="Polyline2CreateCommand" >+ containers="/0/@diagram/@compartments.3"> > <diagramRunTimeClass > href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:SpecializationType" >+ metamodelType="/0/@diagram/@childNodes.4/@elementType" >+ editHelperAdviceClassName="PolylineEditHelperAdvice"/> > <viewmap >- xsi:type="gmfgen:ParentAssignedViewmap" >- getterName="getFigureFigureGalleryFigure_NameLabel" >- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.Polyline"> >+ <attributes >+ xsi:type="gmfgen:DefaultSizeAttributes" >+ width="0" >+ height="0"/> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Polyline"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery/figures"/> >+ </modelFacet> >+ </childNodes> >+ <topLevelNodes >+ visualID="2001" >+ editPartClassName="CompartmentEditPart" >+ itemSemanticEditPolicyClassName="CompartmentItemSemanticEditPolicy" >+ notationViewFactoryClassName="CompartmentViewFactory" >+ canonicalEditPolicyClassName="CompartmentCanonicalEditPolicy" >+ compartments="/0/@diagram/@compartments.0" >+ graphicalNodeEditPolicyClassName="CompartmentGraphicalNodeEditPolicy" >+ createCommandClassName="CompartmentCreateCommand"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="CompartmentEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ className="DiagramElementFigure" >+ classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Compartment"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/compartments"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/compartments"/> >+ </modelFacet> >+ <labels >+ visualID="5001" >+ editPartClassName="CompartmentNameEditPart" >+ itemSemanticEditPolicyClassName="CompartmentNameItemSemanticEditPolicy" >+ notationViewFactoryClassName="CompartmentNameViewFactory" >+ elementIcon="true"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:ParentAssignedViewmap" >+ getterName="getFigureDiagramElementFigure_NameLabel" >+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >+ <modelFacet >+ xsi:type="gmfgen:FeatureLabelModelFacet"> >+ <metaFeatures >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >+ </modelFacet> >+ </labels> >+ </topLevelNodes> >+ <topLevelNodes >+ visualID="2002" >+ editPartClassName="NodeEditPart" >+ itemSemanticEditPolicyClassName="NodeItemSemanticEditPolicy" >+ notationViewFactoryClassName="NodeViewFactory" >+ canonicalEditPolicyClassName="NodeCanonicalEditPolicy" >+ compartments="/0/@diagram/@compartments.1" >+ graphicalNodeEditPolicyClassName="NodeGraphicalNodeEditPolicy" >+ createCommandClassName="NodeCreateCommand"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="NodeEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ className="DiagramElementFigure" >+ classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Node"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/nodes"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/nodes"/> >+ </modelFacet> >+ <labels >+ visualID="5002" >+ editPartClassName="NodeNameEditPart" >+ itemSemanticEditPolicyClassName="NodeNameItemSemanticEditPolicy" >+ notationViewFactoryClassName="NodeNameViewFactory" >+ elementIcon="true"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:ParentAssignedViewmap" >+ getterName="getFigureDiagramElementFigure_NameLabel" >+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >+ <modelFacet >+ xsi:type="gmfgen:FeatureLabelModelFacet"> >+ <metaFeatures >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >+ </modelFacet> >+ </labels> >+ </topLevelNodes> >+ <topLevelNodes >+ visualID="2003" >+ editPartClassName="ConnectionEditPart" >+ itemSemanticEditPolicyClassName="ConnectionItemSemanticEditPolicy" >+ notationViewFactoryClassName="ConnectionViewFactory" >+ canonicalEditPolicyClassName="ConnectionCanonicalEditPolicy" >+ compartments="/0/@diagram/@compartments.2" >+ graphicalNodeEditPolicyClassName="ConnectionGraphicalNodeEditPolicy" >+ createCommandClassName="ConnectionCreateCommand"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="ConnectionEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ className="DiagramElementFigure" >+ classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureDiagramElementFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fDiagramElementFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureDiagramElementFigure_NameLabel() {
		return fDiagramElementFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureDiagramElementFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fDiagramElementFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Connection"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/connections"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/connections"/> >+ </modelFacet> >+ <labels >+ visualID="5003" >+ editPartClassName="ConnectionNameEditPart" >+ itemSemanticEditPolicyClassName="ConnectionNameItemSemanticEditPolicy" >+ notationViewFactoryClassName="ConnectionNameViewFactory" >+ elementIcon="true"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:ParentAssignedViewmap" >+ getterName="getFigureDiagramElementFigure_NameLabel" >+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >+ <modelFacet >+ xsi:type="gmfgen:FeatureLabelModelFacet"> >+ <metaFeatures >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >+ </modelFacet> >+ </labels> >+ </topLevelNodes> >+ <topLevelNodes >+ visualID="2004" >+ editPartClassName="FigureGalleryEditPart" >+ itemSemanticEditPolicyClassName="FigureGalleryItemSemanticEditPolicy" >+ notationViewFactoryClassName="FigureGalleryViewFactory" >+ canonicalEditPolicyClassName="FigureGalleryCanonicalEditPolicy" >+ compartments="/0/@diagram/@compartments.3" >+ graphicalNodeEditPolicyClassName="FigureGalleryGraphicalNodeEditPolicy" >+ createCommandClassName="FigureGalleryCreateCommand"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <elementType >+ xsi:type="gmfgen:MetamodelType" >+ editHelperClassName="FigureGalleryEditHelper"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ className="FigureGalleryFigure" >+ classBody="

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

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

		
		createContents();
	}


	/**
	 * @generated
	 */
	private void createContents(){
		org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();




		setFigureFigureGalleryFigure_NameLabel(fig_0);
		
		Object layData0 = null;

		this.add(fig_0, layData0);
	}
	
		
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureGalleryFigure_NameLabel; 

	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureFigureGalleryFigure_NameLabel() {
		return fFigureGalleryFigure_NameLabel;
	}
	
	/**
	 * @generated
	 */
	private void setFigureFigureGalleryFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){
		fFigureGalleryFigure_NameLabel = fig;
	}




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

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

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

}
	
"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ <modelFacet> >+ <metaClass >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FigureGallery"/> >+ <containmentMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/figures"/> >+ <childMetaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Canvas/figures"/> >+ </modelFacet> >+ <labels >+ visualID="5004" >+ editPartClassName="FigureGalleryNameEditPart" >+ itemSemanticEditPolicyClassName="FigureGalleryNameItemSemanticEditPolicy" >+ notationViewFactoryClassName="FigureGalleryNameViewFactory" >+ elementIcon="true"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:ParentAssignedViewmap" >+ getterName="getFigureFigureGalleryFigure_NameLabel" >+ figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/> >+ <modelFacet >+ xsi:type="gmfgen:FeatureLabelModelFacet"> >+ <metaFeatures >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >+ </modelFacet> >+ </labels> >+ </topLevelNodes> >+ <links >+ visualID="4001" >+ editPartClassName="DiagramElementFigureEditPart" >+ itemSemanticEditPolicyClassName="DiagramElementFigureItemSemanticEditPolicy" >+ notationViewFactoryClassName="DiagramElementFigureViewFactory"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> >+ <elementType >+ xsi:type="gmfgen:SpecializationType" >+ editHelperAdviceClassName="DiagramElementFigureEditHelperAdvice"/> >+ <viewmap >+ xsi:type="gmfgen:InnerClassViewmap" >+ className="FigureConnectionFigure" >+ classBody="

/**
 * @generated
 */
public class FigureConnectionFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {

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

		this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASHDOT);
		setTargetDecoration(createTargetDecoration());
	}


	/**
	 * @generated
	 */
	private org.eclipse.draw2d.PolylineDecoration createTargetDecoration() {
org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
// dispatchNext?

		org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
		pl.addPoint(-1, 1);
		pl.addPoint(0, 0);
		pl.addPoint(-1, -1);
		df.setTemplate(pl);
		df.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));




		return df;
	}

}
	
"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> > <modelFacet >- xsi:type="gmfgen:FeatureLabelModelFacet"> >- <metaFeatures >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Identity/name"/> >- </modelFacet> >- </labels> >- </topLevelNodes> >- <links >- visualID="4001" >- editPartClassName="DiagramElementFigureEditPart" >- itemSemanticEditPolicyClassName="DiagramElementFigureItemSemanticEditPolicy" >- notationViewFactoryClassName="DiagramElementFigureViewFactory"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> >- <elementType >- xsi:type="gmfgen:SpecializationType" >- editHelperAdviceClassName="DiagramElementFigureEditHelperAdvice"/> >- <viewmap >- xsi:type="gmfgen:InnerClassViewmap" >- className="FigureConnectionFigure" >- classBody="

/**
 * @generated
 */
public class FigureConnectionFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {

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

		this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASHDOT);
		setTargetDecoration(createTargetDecoration());
	}


	/**
	 * @generated
	 */
	private org.eclipse.draw2d.PolylineDecoration createTargetDecoration() {
org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
// dispatchNext?

		org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
		pl.addPoint(-1, 1);
		pl.addPoint(0, 0);
		pl.addPoint(-1, -1);
		df.setTemplate(pl);
		df.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));




		return df;
	}

}
	
"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- <modelFacet >- xsi:type="gmfgen:FeatureLinkModelFacet"> >- <metaFeature >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/DiagramElement/figure"/> >- </modelFacet> >- </links> >- <compartments >- visualID="7001" >- editPartClassName="CompartmentVisualFacetsEditPart" >- itemSemanticEditPolicyClassName="CompartmentVisualFacetsItemSemanticEditPolicy" >- notationViewFactoryClassName="CompartmentVisualFacetsViewFactory" >- canonicalEditPolicyClassName="CompartmentVisualFacetsCanonicalEditPolicy" >- title="VisualFacets" >- node="//@diagram/@topLevelNodes.0"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- </compartments> >- <compartments >- visualID="7002" >- editPartClassName="NodeVisualFacetsEditPart" >- itemSemanticEditPolicyClassName="NodeVisualFacetsItemSemanticEditPolicy" >- notationViewFactoryClassName="NodeVisualFacetsViewFactory" >- canonicalEditPolicyClassName="NodeVisualFacetsCanonicalEditPolicy" >- title="VisualFacets" >- node="//@diagram/@topLevelNodes.1"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- </compartments> >- <compartments >- visualID="7003" >- editPartClassName="ConnectionVisualFacetsEditPart" >- itemSemanticEditPolicyClassName="ConnectionVisualFacetsItemSemanticEditPolicy" >- notationViewFactoryClassName="ConnectionVisualFacetsViewFactory" >- canonicalEditPolicyClassName="ConnectionVisualFacetsCanonicalEditPolicy" >- title="VisualFacets" >- node="//@diagram/@topLevelNodes.2"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- </compartments> >- <compartments >- visualID="7004" >- editPartClassName="FigureGalleryFiguresEditPart" >- itemSemanticEditPolicyClassName="FigureGalleryFiguresItemSemanticEditPolicy" >- notationViewFactoryClassName="FigureGalleryFiguresViewFactory" >- canonicalEditPolicyClassName="FigureGalleryFiguresCanonicalEditPolicy" >- childNodes="//@diagram/@childNodes.0 //@diagram/@childNodes.5 //@diagram/@childNodes.6 //@diagram/@childNodes.7" >- title="Figures" >- node="//@diagram/@topLevelNodes.3" >- listLayout="false"> >- <diagramRunTimeClass >- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >- <viewmap >- xsi:type="gmfgen:FigureViewmap" >- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >- <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >- </viewmap> >- </compartments> >- <palette> >- <groups >- title="Diagram Elements" >- description="Can visualize domain model elements" >- collapse="true"> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Node" >- description="Create Diagram Element representing Top-level diagram Node" >- genNodes="//@diagram/@topLevelNodes.1"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="ChildNode" >- description="Create Diagram Element representing Child diagram Node"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Compartment" >- description="Create Diagram Element representing Children Compartment" >- genNodes="//@diagram/@topLevelNodes.0"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Connection" >- description="Create Diagram Element representing Connection" >- genNodes="//@diagram/@topLevelNodes.2"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Figure Link" >- description="Link from the Diagram Element to the figure" >- genLinks="//@diagram/@links.0"/> >- </groups> >- <groups >+ xsi:type="gmfgen:FeatureLinkModelFacet"> >+ <metaFeature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/DiagramElement/figure"/> >+ </modelFacet> >+ </links> >+ <compartments >+ visualID="7001" >+ editPartClassName="CompartmentVisualFacetsEditPart" >+ itemSemanticEditPolicyClassName="CompartmentVisualFacetsItemSemanticEditPolicy" >+ notationViewFactoryClassName="CompartmentVisualFacetsViewFactory" >+ canonicalEditPolicyClassName="CompartmentVisualFacetsCanonicalEditPolicy" >+ title="VisualFacets" >+ node="/0/@diagram/@topLevelNodes.0"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ </compartments> >+ <compartments >+ visualID="7002" >+ editPartClassName="NodeVisualFacetsEditPart" >+ itemSemanticEditPolicyClassName="NodeVisualFacetsItemSemanticEditPolicy" >+ notationViewFactoryClassName="NodeVisualFacetsViewFactory" >+ canonicalEditPolicyClassName="NodeVisualFacetsCanonicalEditPolicy" >+ title="VisualFacets" >+ node="/0/@diagram/@topLevelNodes.1"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ </compartments> >+ <compartments >+ visualID="7003" >+ editPartClassName="ConnectionVisualFacetsEditPart" >+ itemSemanticEditPolicyClassName="ConnectionVisualFacetsItemSemanticEditPolicy" >+ notationViewFactoryClassName="ConnectionVisualFacetsViewFactory" >+ canonicalEditPolicyClassName="ConnectionVisualFacetsCanonicalEditPolicy" >+ title="VisualFacets" >+ node="/0/@diagram/@topLevelNodes.2"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ </compartments> >+ <compartments >+ visualID="7004" >+ editPartClassName="FigureGalleryFiguresEditPart" >+ itemSemanticEditPolicyClassName="FigureGalleryFiguresItemSemanticEditPolicy" >+ notationViewFactoryClassName="FigureGalleryFiguresViewFactory" >+ canonicalEditPolicyClassName="FigureGalleryFiguresCanonicalEditPolicy" >+ childNodes="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.6 /0/@diagram/@childNodes.7" > title="Figures" >- description="Can be references by Diagram Elements" >- collapse="true"> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="FigureGallery" >- description="Create FigureGallery - physical container for figures" >- genNodes="//@diagram/@topLevelNodes.3"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Rectangle" >- description="Create Rectangle" >- genNodes="//@diagram/@childNodes.0 //@diagram/@childNodes.1"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Ellipse" >- description="Create Ellipse" >- genNodes="//@diagram/@childNodes.2 //@diagram/@childNodes.5"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Rounded Rectangle" >- description="Create Rounded Rectangle" >- genNodes="//@diagram/@childNodes.3 //@diagram/@childNodes.6"/> >- <entries >- xsi:type="gmfgen:ToolEntry" >- title="Polyline" >- description="Create new PolylineConnection" >- genNodes="//@diagram/@childNodes.4 //@diagram/@childNodes.7"/> >- </groups> >- </palette> >- <preferencePages >- xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.general" >- name="GMFGraph Diagram"> >- <children >- xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.appearance" >- name="Appearance" >- kind="Appearance"/> >- <children >- xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.connections" >- name="Connections" >- kind="Connections"/> >- <children >- xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.printing" >- name="Printing" >- kind="Printing"/> >- <children >- xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.rulersAndGrid" >- name="Rulers And Grid" >- kind="RulersAndGrid"/> >- <children >+ node="/0/@diagram/@topLevelNodes.3" >+ listLayout="false"> >+ <diagramRunTimeClass >+ href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> >+ <viewmap >+ xsi:type="gmfgen:FigureViewmap" >+ figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"> >+ <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs> >+ <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs> >+ </viewmap> >+ </compartments> >+ <palette> >+ <groups >+ title="Diagram Elements" >+ description="Can visualize domain model elements" >+ collapse="true"> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Node" >+ description="Create Diagram Element representing Top-level diagram Node" >+ genNodes="/0/@diagram/@topLevelNodes.1"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="ChildNode" >+ description="Create Diagram Element representing Child diagram Node"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Compartment" >+ description="Create Diagram Element representing Children Compartment" >+ genNodes="/0/@diagram/@topLevelNodes.0"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Connection" >+ description="Create Diagram Element representing Connection" >+ genNodes="/0/@diagram/@topLevelNodes.2"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Figure Link" >+ description="Link from the Diagram Element to the figure" >+ genLinks="/0/@diagram/@links.0"/> >+ </groups> >+ <groups >+ title="Figures" >+ description="Can be references by Diagram Elements" >+ collapse="true"> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="FigureGallery" >+ description="Create FigureGallery - physical container for figures" >+ genNodes="/0/@diagram/@topLevelNodes.3"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Rectangle" >+ description="Create Rectangle" >+ genNodes="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Ellipse" >+ description="Create Ellipse" >+ genNodes="/0/@diagram/@childNodes.2 /0/@diagram/@childNodes.5"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Rounded Rectangle" >+ description="Create Rounded Rectangle" >+ genNodes="/0/@diagram/@childNodes.3 /0/@diagram/@childNodes.6"/> >+ <entries >+ xsi:type="gmfgen:ToolEntry" >+ title="Polyline" >+ description="Create new PolylineConnection" >+ genNodes="/0/@diagram/@childNodes.4 /0/@diagram/@childNodes.7"/> >+ </groups> >+ </palette> >+ <preferencePages > xsi:type="gmfgen:GenStandardPreferencePage" >- iD="org.eclipse.gmf.graphdef.diagram.pathmaps" >- name="Pathmaps" >- kind="Pathmaps"/> >- </preferencePages> >- </diagram> >- <plugin >- iD="org.eclipse.gmf.graphdef.editor" >- name="gmfgraph 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/@childNodes.1" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.2" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.2" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.3" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.3" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.3" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.3" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@childNodes.2" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.2" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@childNodes.1" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.1" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.1" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@childNodes.0" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.0" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.0" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.0" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.3" >- child="//@diagram/@childNodes.0"/> >- <childReferences >- parent="//@diagram/@childNodes.5" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.5" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.5" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.5" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.3" >- child="//@diagram/@childNodes.5"/> >- <childReferences >- parent="//@diagram/@childNodes.6" >- child="//@diagram/@childNodes.1"/> >- <childReferences >- parent="//@diagram/@childNodes.6" >- child="//@diagram/@childNodes.2"/> >- <childReferences >- parent="//@diagram/@childNodes.6" >- child="//@diagram/@childNodes.3"/> >- <childReferences >- parent="//@diagram/@childNodes.6" >- child="//@diagram/@childNodes.4"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.3" >- child="//@diagram/@childNodes.6"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.3" >- child="//@diagram/@childNodes.7"/> >- <childReferences >- parent="//@diagram" >- child="//@diagram/@topLevelNodes.3"/> >- <childReferences >- parent="//@diagram" >- child="//@diagram/@links.0" >- groupName="links" >- groupIcon="icons/linksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.0" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.0" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.1" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.1" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.2" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.2" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.3" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.3" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.4" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.4" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.5" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.5" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.6" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.6" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@childNodes.7" >- referenceType="out_taget" >- groupName="target" >- groupIcon="icons/linkTargetNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@childNodes.7" >- child="//@diagram/@links.0" >- referenceType="in_source" >- groupName="incoming links" >- groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@topLevelNodes.0" >- referenceType="in_source" >- groupName="source" >- groupIcon="icons/linkSourceNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.0" >- child="//@diagram/@links.0" >- referenceType="out_taget" >- groupName="outgoing links" >- groupIcon="icons/outgoingLinksNavigatorGroup.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_taget" >- groupName="outgoing links" >- groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@links.0" >- child="//@diagram/@topLevelNodes.2" >- referenceType="in_source" >- groupName="source" >- groupIcon="icons/linkSourceNavigatorGroup.gif"/> >- <childReferences >- parent="//@diagram/@topLevelNodes.2" >- child="//@diagram/@links.0" >- referenceType="out_taget" >- groupName="outgoing links" >- groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> >- </navigator> >- <propertySheet> >- <tabs >- xsi:type="gmfgen:GenStandardPropertyTab" >- iD="appearance"/> >- <tabs >- xsi:type="gmfgen:GenStandardPropertyTab" >- iD="diagram" >- label="Rulers & Grid"/> >- <tabs >- xsi:type="gmfgen:GenCustomPropertyTab" >- iD="custom" >- label="Styles" >- className="CustomPropertySection"> >- <filter >- xsi:type="gmfgen:CustomTabFilter" >- className="PropertySectionFilters$ShapeFilter"/> >- </tabs> >- <tabs >- xsi:type="gmfgen:GenCustomPropertyTab" >- iD="layout" >- label="Layout" >- className="LayoutPropertySection"> >- <filter >- xsi:type="gmfgen:CustomTabFilter" >- className="PropertySectionFilters$LayoutableFilter"/> >- </tabs> >- <tabs >- xsi:type="gmfgen:GenCustomPropertyTab" >- iD="points" >- className="PointsPropertySection"> >- <filter >- xsi:type="gmfgen:CustomTabFilter" >- className="PropertySectionFilters$PolylineFilter"/> >- </tabs> >- </propertySheet> >- <domainGenModel >- href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#/"/> >-</gmfgen:GenEditorGenerator> >+ iD="org.eclipse.gmf.graphdef.diagram.general" >+ name="GMFGraph Diagram"> >+ <children >+ xsi:type="gmfgen:GenStandardPreferencePage" >+ iD="org.eclipse.gmf.graphdef.diagram.appearance" >+ name="Appearance" >+ kind="Appearance"/> >+ <children >+ xsi:type="gmfgen:GenStandardPreferencePage" >+ iD="org.eclipse.gmf.graphdef.diagram.connections" >+ name="Connections" >+ kind="Connections"/> >+ <children >+ xsi:type="gmfgen:GenStandardPreferencePage" >+ iD="org.eclipse.gmf.graphdef.diagram.printing" >+ name="Printing" >+ kind="Printing"/> >+ <children >+ xsi:type="gmfgen:GenStandardPreferencePage" >+ iD="org.eclipse.gmf.graphdef.diagram.rulersAndGrid" >+ name="Rulers And Grid" >+ kind="RulersAndGrid"/> >+ <children >+ xsi:type="gmfgen:GenStandardPreferencePage" >+ iD="org.eclipse.gmf.graphdef.diagram.pathmaps" >+ name="Pathmaps" >+ kind="Pathmaps"/> >+ </preferencePages> >+ </diagram> >+ <plugin >+ iD="org.eclipse.gmf.graphdef.editor" >+ name="gmfgraph Plugin"/> >+ <editor/> >+ <navigator> >+ <childReferences >+ child="/0/@diagram"/> >+ <childReferences >+ parent="/0/@diagram" >+ child="/0/@diagram/@topLevelNodes.0"/> >+ <childReferences >+ parent="/0/@diagram" >+ child="/0/@diagram/@topLevelNodes.1"/> >+ <childReferences >+ parent="/0/@diagram" >+ child="/0/@diagram/@topLevelNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.1" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.2" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.2" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.3" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.3" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.3" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.3" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.2" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.2" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.1" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.1" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.1" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.0" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.0" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.0" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.0" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.3" >+ child="/0/@diagram/@childNodes.0"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.5" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.5" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.5" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.5" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.3" >+ child="/0/@diagram/@childNodes.5"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.6" >+ child="/0/@diagram/@childNodes.1"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.6" >+ child="/0/@diagram/@childNodes.2"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.6" >+ child="/0/@diagram/@childNodes.3"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.6" >+ child="/0/@diagram/@childNodes.4"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.3" >+ child="/0/@diagram/@childNodes.6"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.3" >+ child="/0/@diagram/@childNodes.7"/> >+ <childReferences >+ parent="/0/@diagram" >+ child="/0/@diagram/@topLevelNodes.3"/> >+ <childReferences >+ parent="/0/@diagram" >+ child="/0/@diagram/@links.0" >+ groupName="links" >+ groupIcon="icons/linksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.0" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.0" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.1" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.1" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.2" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.2" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.3" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.3" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.4" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.4" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.5" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.5" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.6" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.6" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@childNodes.7" >+ referenceType="out_target" >+ groupName="target" >+ groupIcon="icons/linkTargetNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@childNodes.7" >+ child="/0/@diagram/@links.0" >+ referenceType="in_source" >+ groupName="incoming links" >+ groupIcon="icons/incomingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@topLevelNodes.0" >+ referenceType="in_source" >+ groupName="source" >+ groupIcon="icons/linkSourceNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.0" >+ child="/0/@diagram/@links.0" >+ referenceType="out_target" >+ groupName="outgoing links" >+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@topLevelNodes.1" >+ referenceType="in_source" >+ groupName="source" >+ groupIcon="icons/linkSourceNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.1" >+ child="/0/@diagram/@links.0" >+ referenceType="out_target" >+ groupName="outgoing links" >+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@links.0" >+ child="/0/@diagram/@topLevelNodes.2" >+ referenceType="in_source" >+ groupName="source" >+ groupIcon="icons/linkSourceNavigatorGroup.gif"/> >+ <childReferences >+ parent="/0/@diagram/@topLevelNodes.2" >+ child="/0/@diagram/@links.0" >+ referenceType="out_target" >+ groupName="outgoing links" >+ groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> >+ </navigator> >+ <propertySheet> >+ <tabs >+ xsi:type="gmfgen:GenStandardPropertyTab" >+ iD="appearance"/> >+ <tabs >+ xsi:type="gmfgen:GenStandardPropertyTab" >+ iD="diagram" >+ label="Rulers & Grid"/> >+ <tabs >+ xsi:type="gmfgen:GenCustomPropertyTab" >+ iD="points" >+ className="PointsPropertySection"> >+ <filter >+ xsi:type="gmfgen:CustomTabFilter" >+ className="PropertySectionFilters$PolylineFilter"/> >+ </tabs> >+ <tabs >+ xsi:type="gmfgen:GenCustomPropertyTab" >+ iD="genStyles" >+ label="Styles" >+ className="GeneratedStylesPropertySection"> >+ <filter >+ xsi:type="gmfgen:CustomTabFilter" >+ className="PropertySectionFilters$ShapeFilter"/> >+ </tabs> >+ <tabs >+ xsi:type="gmfgen:GenCustomPropertyTab" >+ iD="genLayout" >+ label="Layout" >+ className="GeneratedLayoutPropertySection"> >+ <filter >+ xsi:type="gmfgen:CustomTabFilter" >+ className="PropertySectionFilters$LayoutableFilter"/> >+ </tabs> >+ </propertySheet> >+ <domainGenModel >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#/"/> >+ </gmfgen:GenEditorGenerator> >+ <propsheet:PropertySectionContainer> >+ <customSections >+ name="Generated Styles" >+ genTab="/0/@propertySheet/@tabs.3"> >+ <contents >+ xsi:type="propsheet:Group"> >+ <text >+ overridedItemProviderText="Line Style"/> >+ <contents >+ xsi:type="propsheet:Radio" >+ iconPath="icons/line_solid.png"> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_SOLID"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ iconPath="icons/line_dash.png"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_DASH"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ iconPath="icons/line_dot.png"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0/@contents.1" >+ relativePosition="TOP"/> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_DOT"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ iconPath="icons/line_dashdot.png"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0/@contents.2" >+ relativePosition="TOP"/> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_DASHDOT"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="4" >+ iconPath="icons/line_dashdotdot.png"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0/@contents.3" >+ relativePosition="TOP"/> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_DASHDOTDOT"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="5" >+ iconPath="icons/line_custom.png"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0/@contents.4" >+ relativePosition="TOP"/> >+ <text >+ createLabel="false"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LineKind/LINE_CUSTOM"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/lineKind"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.0"/> >+ <text >+ overridedItemProviderText="Line Width"/> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ createLabel="false"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/lineWidth"/> >+ </modelElement> >+ </contents> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.1" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="Mix Styles"/> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/fill"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.2/@contents.0" >+ relativePosition="TOP" >+ lowermost="true"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/outline"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.2/@contents.0" >+ rightmost="true"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/xorFill"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.2/@contents.1" >+ rightmost="true" >+ lowermost="true"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape/xorOutline"/> >+ </modelElement> >+ </contents> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.2" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="Corner Dimensions"/> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ overridedItemProviderText="Width"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle/cornerWidth"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.0/@contents.3/@contents.0"/> >+ <text >+ overridedItemProviderText="Height"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle/cornerHeight"/> >+ </modelElement> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/RoundedRectangle"/> >+ </modelMediator> >+ </contents> >+ <modelMediator> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Shape"/> >+ </modelMediator> >+ </customSections> >+ <customSections >+ name="Generated Layout" >+ genTab="/0/@propertySheet/@tabs.4"> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutGroup"> >+ <text >+ overridedItemProviderText="Layout Manager"/> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutKindGroup"> >+ <text >+ createLabel="false"/> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myBorderLayoutRadio"> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/BorderLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myCustomLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myGridLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.1" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myFlowLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.2" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myStackLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.3" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/StackLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myXYLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.4" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"> >+ <isOfType >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/XYLayout"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="myNoLayoutRadio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0/@contents.5" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="No Layout"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureOfTypeReference"/> >+ </contents> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myExpandBar"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.0"/> >+ <text >+ createLabel="false"/> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutBorderExpandGroup" >+ expandable="true"> >+ <contents >+ xsi:type="propsheet:Group"> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ overridedItemProviderText="Horizontal"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dx"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.0/@contents.0/@contents.0"/> >+ <text >+ overridedItemProviderText="Vertical"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dy"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout/spacing"/> >+ </modelMediator> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/BorderLayout"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutFlowExpandGroup" >+ expandable="true"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.0" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Group"> >+ <text >+ overridedItemProviderText="Layout Parameters"/> >+ <contents >+ xsi:type="propsheet:Checkbox" >+ name="singleLine"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/forceSingleLine"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox" >+ name="minorSize"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.0"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/matchMinorSize"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="spacings"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="Spacings"/> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="minor"> >+ <text >+ overridedItemProviderText="Minor"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/minorSpacing"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="major"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.2/@contents.0"/> >+ <text >+ overridedItemProviderText="Major"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/majorSpacing"/> >+ </modelElement> >+ </contents> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="minorAlign"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.2" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Label" >+ name="minorTopE"> >+ <text >+ overridedItemProviderText=" "/> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="minorN"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3/@contents.0"/> >+ <text >+ overridedItemProviderText="N"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="minorE"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="E"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="minorC"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3/@contents.2"/> >+ <text >+ overridedItemProviderText="C"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/CENTER"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="minorW"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3/@contents.3"/> >+ <text >+ overridedItemProviderText="W"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="minorS"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3/@contents.3" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="S"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/minorAlignment"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="majorAlign"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.3"/> >+ <contents >+ xsi:type="propsheet:Label" >+ name="majorTopE"> >+ <text >+ overridedItemProviderText=" "/> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="majorN"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.4/@contents.0"/> >+ <text >+ overridedItemProviderText="N"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="majorE"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.4/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="E"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="majorC"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.4/@contents.2"/> >+ <text >+ overridedItemProviderText="C"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/CENTER"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="majorW"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.4/@contents.3"/> >+ <text >+ overridedItemProviderText="W"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="majorS"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1/@contents.0/@contents.4/@contents.3" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="S"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout/majorAlignment"/> >+ </modelMediator> >+ </contents> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/FlowLayout"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutGridExpandGroup" >+ expandable="true"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.1" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Group"> >+ <text >+ overridedItemProviderText="Layout Parameters"/> >+ <contents >+ xsi:type="propsheet:Spin" >+ min="1" >+ max="99"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout/numColumns"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2/@contents.0/@contents.0"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout/equalWidth"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ overridedItemProviderText="Horizontal"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dx"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2/@contents.0/@contents.2/@contents.0"/> >+ <text >+ overridedItemProviderText="Vertical"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dy"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout/margins"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2/@contents.0/@contents.2" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ overridedItemProviderText="X"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dx"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2/@contents.0/@contents.3/@contents.0"/> >+ <text >+ overridedItemProviderText="Y"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dy"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/BorderLayout/spacing"/> >+ </modelMediator> >+ </contents> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayout"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutCustomExpandGroup" >+ expandable="true"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.2" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Group"> >+ <text >+ overridedItemProviderText="Layout Parameters"/> >+ <contents >+ xsi:type="propsheet:TextField"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomClass/bundleName"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:TextField"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0/@contents.1/@contents.3/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomClass/qualifiedClassName"/> >+ </modelElement> >+ </contents> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomLayout"/> >+ </modelMediator> >+ </contents> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Layoutable/layout"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myLayoutDataComposite"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.0" >+ rightmost="true"/> >+ <text >+ createLabel="false"/> >+ <contents >+ xsi:type="propsheet:Group" >+ name="borderLayoutDataGroup"> >+ <contents >+ xsi:type="propsheet:Group" >+ name="worldParts"> >+ <text >+ createLabel="false"/> >+ <contents >+ xsi:type="propsheet:Label" >+ name="upperE"> >+ <text >+ overridedItemProviderText=" "/> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="borderN"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.0/@contents.0/@contents.0"/> >+ <text >+ overridedItemProviderText="N"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="borderE"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.0/@contents.0/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="E"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="borderC"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.0/@contents.0/@contents.2"/> >+ <text >+ overridedItemProviderText="C"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/CENTER"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="borderW"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.0/@contents.0/@contents.3" >+ rightmost="true"/> >+ <text >+ overridedItemProviderText="W"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio" >+ name="borderS"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.0/@contents.0/@contents.3" >+ relativePosition="TOP" >+ lowermost="true"/> >+ <text >+ overridedItemProviderText="S"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/BorderLayoutData/alignment"/> >+ </modelMediator> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/BorderLayoutData"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myXYLayoutDataGroup"> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myXYDataTopLeftGroup"> >+ <text >+ overridedItemProviderText="Top Left Position"/> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="myXYDataXSpin"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LabelOffsetFacet/x"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="myXYDataYSpin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.1/@contents.0/@contents.0"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/LabelOffsetFacet/y"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/XYLayoutData/topLeft"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myXYDataSizeGroup"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.1/@contents.0" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="Size Constraints"/> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="myXYDataSizeXSpin"> >+ <text >+ overridedItemProviderText="X"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dx"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin" >+ name="myXYDataSizeYSpin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.1/@contents.1/@contents.0"/> >+ <text >+ overridedItemProviderText="Y"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dy"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/XYLayoutData/size"/> >+ </modelMediator> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/XYLayoutData"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myGridLayoutDataGroup"> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/grabExcessHorizontalSpace"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Checkbox"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/grabExcessVerticalSpace"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.1" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.2/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/CENTER"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.2/@contents.1" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.2/@contents.2" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/FILL"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/verticalAlignment"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.2"/> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/BEGINNING"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.3/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/CENTER"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.3/@contents.1" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/END"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Radio"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.3/@contents.2" >+ relativePosition="TOP"/> >+ <modelElement >+ xsi:type="propsheet:IsFeatureIsOfKindReference"> >+ <feature >+ href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore/EEnumLiteral/value"/> >+ <isOfValue >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Alignment/FILL"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/horizontalAlignment"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.2" >+ relativePosition="TOP"/> >+ <text >+ overridedItemProviderText="Spannings"/> >+ <contents >+ xsi:type="propsheet:Spin" >+ min="1" >+ max="99"> >+ <text >+ overridedItemProviderText="Vertical"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/verticalSpan"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin" >+ min="1" >+ max="99"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.4/@contents.0"/> >+ <text >+ overridedItemProviderText="Horizontal"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/horizontalSpan"/> >+ </modelElement> >+ </contents> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.4" >+ relativePosition="TOP"/> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <text >+ overridedItemProviderText="X"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dx"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.5/@contents.0"/> >+ <text >+ overridedItemProviderText="Y"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Dimension/dy"/> >+ </modelElement> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/sizeHint"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Spin" >+ max="99"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.2/@contents.5" >+ relativePosition="TOP"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData/horizontalIndent"/> >+ </modelElement> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/GridLayoutData"/> >+ </modelMediator> >+ </contents> >+ <contents >+ xsi:type="propsheet:Group" >+ name="myCustomLayoutDataGroup"> >+ <contents >+ xsi:type="propsheet:TextField"> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomClass/bundleName"/> >+ </modelElement> >+ </contents> >+ <contents >+ xsi:type="propsheet:TextField"> >+ <layoutConstraints >+ xsi:type="propsheet:FormLayoutConstraints" >+ anchorControl="/1/@customSections.1/@contents.1/@contents.3/@contents.0" >+ relativePosition="TOP"/> >+ <modelElement> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomClass/qualifiedClassName"/> >+ </modelElement> >+ </contents> >+ <modelMediator >+ visibleOnlyForTargets="true"> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/CustomLayoutData"/> >+ </modelMediator> >+ </contents> >+ <modelMediator> >+ <feature >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Layoutable/layoutData"/> >+ </modelMediator> >+ </contents> >+ <modelMediator> >+ <cast >+ xsi:type="genmodel:GenClass" >+ href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.genmodel#//gmfgraph/Layoutable"/> >+ </modelMediator> >+ </customSections> >+ </propsheet:PropertySectionContainer> >+</xmi:XMI> >Index: models/propsheet.ecore >=================================================================== >RCS file: models/propsheet.ecore >diff -N models/propsheet.ecore >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ models/propsheet.ecore 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,107 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<ecore:EPackage 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" name="propsheet" >+ nsURI="http://www.eclipse.org/gmf/2007/GmfGraph/PropSheet" nsPrefix="propsheet"> >+ <eClassifiers xsi:type="ecore:EClass" name="PropertySectionContainer"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="customSections" upperBound="-1" >+ eType="#//CustomPropertySection" containment="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="CustomPropertySection" eSuperTypes="#//Group"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="genTab" eType="ecore:EClass platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.ecore#//GenCustomPropertyTab"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Sectionable" abstract="true"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//Group" >+ changeable="false" eOpposite="#//Group/contents"/> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="layoutConstraints" eType="#//LayoutConstraints" >+ containment="true"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" >+ derived="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="CustomControl" eSuperTypes="#//Sectionable"> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="implementationClass" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Labeled" abstract="true" eSuperTypes="#//Sectionable"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="text" eType="#//Text" containment="true"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="grayed" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Iconed" eSuperTypes="#//Labeled"> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="iconPath" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Group" eSuperTypes="#//Labeled"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="contents" upperBound="-1" >+ eType="#//Sectionable" containment="true" eOpposite="#//Sectionable/parent"/> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="modelMediator" eType="#//ModelMediatorFeature" >+ containment="true"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="expandable" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Label" eSuperTypes="#//Iconed"/> >+ <eClassifiers xsi:type="ecore:EClass" name="Checkbox" eSuperTypes="#//Iconed"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="#//BooleanCondition" >+ containment="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Radio" eSuperTypes="#//Iconed"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="#//BooleanCondition" >+ containment="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Spin" eSuperTypes="#//Labeled"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="#//IntValue" >+ containment="true"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="min" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="max" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt" >+ defaultValueLiteral="999"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="inc" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EInt" >+ defaultValueLiteral="1"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="TextField" eSuperTypes="#//Labeled"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="modelElement" eType="#//StringValue" >+ containment="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="LayoutConstraints" abstract="true"/> >+ <eClassifiers xsi:type="ecore:EClass" name="FormLayoutConstraints" eSuperTypes="#//LayoutConstraints"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="anchorControl" eType="#//Sectionable"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="relativePosition" eType="#//Positions"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="rightmost" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowermost" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EEnum" name="Positions"> >+ <eLiterals name="LEFT"/> >+ <eLiterals name="RIGHT" value="1"/> >+ <eLiterals name="TOP" value="2"/> >+ <eLiterals name="BOTTOM" value="3"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Text"> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="overridedItemProviderText" >+ eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="createLabel" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean" >+ defaultValueLiteral="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="Reference" abstract="true"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="customCode" eType="#//AdditionalModelTuning" >+ containment="true"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="ModelMediatorFeature" eSuperTypes="#//FeatureReference"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="cast" eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenClassifier"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibleOnlyForTargets" >+ eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="FeatureReference" abstract="true" eSuperTypes="#//Reference"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="feature" lowerBound="1" >+ eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenFeature"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="BooleanCondition" eSuperTypes="#//FeatureReference"/> >+ <eClassifiers xsi:type="ecore:EClass" name="IntValue" eSuperTypes="#//FeatureReference"/> >+ <eClassifiers xsi:type="ecore:EClass" name="StringValue" eSuperTypes="#//FeatureReference"/> >+ <eClassifiers xsi:type="ecore:EClass" name="IsFeatureOfTypeReference" eSuperTypes="#//BooleanCondition"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="isOfType" eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenClass"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="IsFeatureIsOfKindReference" eSuperTypes="#//BooleanCondition"> >+ <eStructuralFeatures xsi:type="ecore:EReference" name="isOfValue" eType="ecore:EClass platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.ecore#//GenEnumLiteral"/> >+ </eClassifiers> >+ <eClassifiers xsi:type="ecore:EClass" name="AdditionalModelTuning"> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="afterGettingValueFromModel" >+ eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> >+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="afterSettingValueToModel" >+ eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/> >+ </eClassifiers> >+</ecore:EPackage> >Index: src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomSectionParent.java >=================================================================== >RCS file: src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomSectionParent.java >diff -N src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomSectionParent.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src-extra/org/eclipse/gmf/graphdef/editor/sheet/AbstractCustomSectionParent.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,471 @@ >+/* >+ * Copyright (c) 2007 Borland Software Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Borland Software Corporation - initial API and implementation >+ */ >+package org.eclipse.gmf.graphdef.editor.sheet; >+ >+import java.util.Collection; >+ >+import org.eclipse.emf.ecore.EObject; >+import org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection; >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.custom.CLabel; >+import org.eclipse.swt.events.ModifyEvent; >+import org.eclipse.swt.events.ModifyListener; >+import org.eclipse.swt.events.SelectionEvent; >+import org.eclipse.swt.events.SelectionListener; >+import org.eclipse.swt.graphics.Image; >+import org.eclipse.swt.graphics.Point; >+import org.eclipse.swt.layout.FormAttachment; >+import org.eclipse.swt.layout.FormData; >+import org.eclipse.swt.layout.FormLayout; >+import org.eclipse.swt.widgets.Button; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.swt.widgets.Control; >+import org.eclipse.swt.widgets.Group; >+import org.eclipse.swt.widgets.Layout; >+import org.eclipse.swt.widgets.Spinner; >+import org.eclipse.swt.widgets.Text; >+import org.eclipse.swt.widgets.Widget; >+import org.eclipse.ui.forms.events.ExpansionEvent; >+import org.eclipse.ui.forms.events.IExpansionListener; >+import org.eclipse.ui.forms.widgets.ExpandableComposite; >+import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants; >+import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; >+ >+public abstract class AbstractCustomSectionParent extends AbstractModelerPropertySection { >+ public abstract Collection getSavedSelection(); >+ public abstract void doCreateControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage); >+ public abstract void doDispose(); >+ protected abstract ModelUpdater createModelUpdater(); >+ >+ protected static final String EMPTY_STRING = ""; //$NON-NLS-1$ >+ private static final String KIND_KEY = "kind"; //$NON-NLS-1$ >+ >+ private TabbedPropertySheetPage myTabbedPropertySheetPage; >+ private boolean areControlsCreated; >+ private IExpansionListener myExpansionListener; >+ private ModelUpdater myListener; >+ >+ public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { >+ super.createControls(parent, tabbedPropertySheetPage); >+ myTabbedPropertySheetPage = tabbedPropertySheetPage; >+ doCreateControls(parent, tabbedPropertySheetPage); >+ areControlsCreated = true; >+ } >+ >+ public void dispose() { >+ if (areControlsCreated) { >+ doDispose(); >+ areControlsCreated = false; >+ } >+ super.dispose(); >+ } >+ >+ protected EObject getEObject() { >+ if (getSavedSelection() != null && !getSavedSelection().isEmpty()) { >+ return (EObject) getSavedSelection().iterator().next(); >+ } >+ return super.getEObject(); >+ } >+ >+ protected ModelUpdater getListener() { >+ if (myListener == null) { >+ myListener = createModelUpdater(); >+ } >+ return myListener; >+ } >+ >+ public static abstract class ModelUpdater implements ModifyListener, SelectionListener { >+ public abstract void applyChangesFrom(Widget widget, int kind); >+ >+ private boolean nonUserChange; >+ >+ public boolean isNonUserChange() { >+ return nonUserChange; >+ } >+ >+ public void modifyText(ModifyEvent e) { >+ if (!isNonUserChange()) { >+ Integer kind = (Integer) e.widget.getData(KIND_KEY); >+ applyChangesFrom(e.widget, kind.intValue()); >+ } >+ } >+ >+ public void widgetDefaultSelected(SelectionEvent e) { >+ widgetSelected(e); >+ } >+ >+ public void widgetSelected(SelectionEvent e) { >+ if (!isNonUserChange()) { >+ Integer kind = (Integer) e.widget.getData(KIND_KEY); >+ applyChangesFrom(e.widget, kind.intValue()); >+ } >+ } >+ >+ public void startListeningTo(Spinner spinner) { >+ spinner.addModifyListener(this); >+ spinner.addSelectionListener(this); >+ } >+ >+ public void stopListeningTo(Spinner spinner) { >+ if (!spinner.isDisposed()) { >+ spinner.removeModifyListener(this); >+ spinner.removeSelectionListener(this); >+ } >+ } >+ >+ public void startListeningTo(Text text) { >+ text.addModifyListener(this); >+ text.addSelectionListener(this); >+ } >+ >+ public void stopListeningTo(Text text) { >+ if (!text.isDisposed()) { >+ text.removeModifyListener(this); >+ text.removeSelectionListener(this); >+ } >+ } >+ >+ public void startListeningTo(Button button) { >+ button.addSelectionListener(this); >+ } >+ >+ public void stopListeningTo(Button button) { >+ if (!button.isDisposed()) { >+ button.removeSelectionListener(this); >+ } >+ } >+ >+ public void startNonUserChange() { >+ nonUserChange = true; >+ } >+ >+ public void finishNonUserChange() { >+ nonUserChange = false; >+ } >+ } >+ >+ protected IExpansionListener getExpansionListener(final Composite parent) { >+ if (myExpansionListener == null) { >+ myExpansionListener = new IExpansionListener() { >+ >+ public void expansionStateChanged(ExpansionEvent e) { >+ relayoutExpandBar(parent); >+ } >+ >+ public void expansionStateChanging(ExpansionEvent e) { >+ } >+ }; >+ } >+ return myExpansionListener; >+ } >+ >+ protected void relayoutExpandBar(Composite expandBar) { >+ Control control = myTabbedPropertySheetPage.getControl(); >+ Point size = control.getSize(); >+ control.setSize(size.x - 1, size.y - 1); >+ control.setSize(size.x, size.y); >+ } >+ >+ // helpers used by old handwritten custom sections >+ >+ protected Layout createStandardFormLayout() { >+ FormLayout layout = new FormLayout(); >+ layout.marginWidth = ITabbedPropertyConstants.HSPACE + 2; >+ layout.marginHeight = ITabbedPropertyConstants.VSPACE; >+ layout.spacing = ITabbedPropertyConstants.VMARGIN + 1; >+ return layout; >+ } >+ >+ protected static FormData createFormData(Control leftControl, Control topControl, boolean lowermost) { >+ return createFormData(leftControl, topControl, null, lowermost); >+ } >+ >+ protected static FormData createFormData(Control leftControl, Control topControl, Control rightControl, boolean lowermost) { >+ return createFormData(leftControl, topControl, rightControl, null, true, true, lowermost, false); >+ } >+ >+ protected static FormData createFormData(Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ FormData data = new FormData(); >+ if (leftControl != null) { >+ data.left = new FormAttachment(leftControl); >+ } else if (defaultIsLeft) { >+ data.left = new FormAttachment(0); >+ } >+ if (leftControl == null && topControl != null && !defaultIsLeft) { >+ Object sd = topControl.getLayoutData(); >+ if (sd instanceof FormData) { >+ FormData topData = (FormData) sd; >+ FormAttachment topLeft = topData.left; >+ if (topLeft != null && !(topLeft.control instanceof CLabel && (topControl instanceof Spinner || topControl instanceof Text))) { >+ data.left = topLeft; >+ } >+ } >+ } >+ if (topControl != null) { >+ data.top = new FormAttachment(topControl); >+ if (topControl instanceof Spinner || topControl instanceof Text) { >+ Object sd = topControl.getLayoutData(); >+ if (sd instanceof FormData) { >+ FormData topData = (FormData) sd; >+ FormAttachment topLeft = topData.left; >+ if (topLeft != null && topLeft.control instanceof CLabel) { >+ data.top = topLeft; >+ } >+ } >+ } >+ } else if (defaultIsTop) { >+ data.top = new FormAttachment(0); >+ } >+ if (topControl == null && leftControl != null && !defaultIsTop) { >+ Object sd = leftControl.getLayoutData(); >+ if (sd instanceof FormData) { >+ FormData topData = (FormData) sd; >+ FormAttachment leftTop = topData.top; >+ if (leftTop != null) { >+ data.top = leftTop; >+ if (leftTop.control instanceof Spinner || leftTop.control instanceof Text) { >+ Object sd2 = leftTop.control.getLayoutData(); >+ if (sd2 instanceof FormData) { >+ FormData topDataLeftTop = (FormData) sd2; >+ FormAttachment topLeft = topDataLeftTop.left; >+ if (topLeft != null && topLeft.control instanceof CLabel) { >+ data.top = topLeft; >+ } >+ } >+ } >+ } >+ } >+ } >+ if (rightControl != null) { >+ data.right = new FormAttachment(rightControl); >+ } else if (rightmost) { >+ data.right = new FormAttachment(100); >+ } >+ if (bottomControl != null) { >+ data.bottom = new FormAttachment(bottomControl); >+ } else if (lowermost) { >+ data.bottom = new FormAttachment(100); >+ } >+ return data; >+ } >+ >+ protected Composite createFlatFormComposite(Composite parent, int leftPosition) { >+ return createFlatFormComposite(parent, leftPosition, false); >+ } >+ >+ protected Composite createFlatFormComposite(Composite parent, int leftPosition, boolean noData) { >+ return createFlatFormComposite(parent, null, null, null, null, false, true, false, true, leftPosition, noData); >+ } >+ >+ protected Composite createFlatFormComposite(Composite parent, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost, int leftPosition, boolean noData) { >+ Composite pane = getWidgetFactory().createFlatFormComposite(parent); >+ if (!noData) { >+ FormData data = createFormData(leftControl, topControl, rightControl, bottomControl, defaultIsLeft, defaultIsTop, lowermost, rightmost); >+ if (leftPosition != SWT.DEFAULT) { >+ data.left = new FormAttachment(leftPosition); >+ } >+ pane.setLayoutData(data); >+ } >+ return pane; >+ } >+ >+ protected ExpandableComposite createLayoutParamsExpandableComposite(Composite parent, String label, Control topControl, boolean rightmost) { >+ return createExpandableComposite(parent, label, null, topControl, false, rightmost); >+ } >+ >+ protected ExpandableComposite createExpandableComposite(Composite parent, String label, Control leftControl, Control topControl, boolean lowermost, boolean rightmost) { >+ ExpandableComposite expandable = getWidgetFactory().createExpandableComposite(parent, ExpandableComposite.TWISTIE | ExpandableComposite.CLIENT_INDENT | ExpandableComposite.TITLE_BAR); >+ expandable.setText(label); >+ expandable.setBackground(getWidgetFactory().getHyperlinkGroup().getBackground()); >+ expandable.setActiveToggleColor(getWidgetFactory().getHyperlinkGroup().getActiveForeground()); >+ expandable.setTitleBarForeground(getWidgetFactory().getHyperlinkGroup().getForeground()); >+ FormData data = createFormData(leftControl, topControl, null, null, true, true, lowermost, rightmost); >+ expandable.setLayoutData(data); >+ return expandable; >+ } >+ >+ protected Group createGroup(Composite parent, String label) { >+ return createGroup(parent, label, false); >+ } >+ >+ protected Group createGroup(Composite parent, String label, boolean noData) { >+ return createGroup(parent, label, null, null, noData); >+ } >+ >+ protected Group createGroup(Composite parent, String label, Control leftComposite, Control topComposite) { >+ return createGroup(parent, label, leftComposite, topComposite, false); >+ } >+ >+ protected Group createGroup(Composite parent, String label, Control leftComposite, Control topComposite, boolean noData) { >+ return createGroup(parent, label, leftComposite, topComposite, true, true, false, noData); >+ } >+ >+ protected Group createGroup(Composite parent, String label, Control leftComposite, Control topComposite, boolean defaultIsTop, boolean defaultIsLeft, boolean lowermost, boolean noData) { >+ Group group = getWidgetFactory().createGroup(parent, label); >+ if (!noData) { >+ FormData data = createFormData(leftComposite, topComposite, null, null, defaultIsLeft, defaultIsTop, lowermost, false); >+ group.setLayoutData(data); >+ } >+ group.setLayout(createStandardFormLayout()); >+ return group; >+ } >+ >+ protected Button createRadio(Composite parent, Control topControl, boolean lowermost, Image image, int kind) { >+ return createRadio(parent, image, EMPTY_STRING, kind, 0, SWT.DEFAULT, topControl, 0, lowermost); >+ } >+ >+ protected Button createRadio(Composite parent, String label, int kind, Control topControl, int rightAlignment) { >+ return createRadio(parent, null, label, kind, 0, rightAlignment, topControl, SWT.DEFAULT, false); >+ } >+ >+ protected Button createRadio(Composite parent, String label, int kind, Control topControl, boolean lowermost) { >+ return createRadio(parent, null, label, kind, 0, SWT.DEFAULT, topControl, SWT.DEFAULT, lowermost); >+ } >+ >+ protected Button createRadio(Composite parent, Image image, String label, int kind, int leftAlignment, int rightAlignment, int topAlignment, boolean lowermost) { >+ return createRadio(parent, image, label, kind, leftAlignment, rightAlignment, null, topAlignment, lowermost); >+ } >+ >+ protected Button createRadio(Composite parent, Image image, String label, int kind, int leftAlignment, int rightAlignment, Control topControl, int topAlignment, boolean lowermost) { >+ return createRadio(parent, image, label, null, leftAlignment, topControl, topAlignment, null, rightAlignment, true, true, lowermost, false, kind); >+ } >+ >+ protected Button createRadio(Composite parent, Image image, String label, Control leftControl, int leftAlignment, Control topControl, int topAlignment, Control rightControl, int rightAlignment, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost, int kind) { >+ Button radio = getWidgetFactory().createButton(parent, label == null ? EMPTY_STRING : label, SWT.RADIO); >+ if (image != null) { >+ radio.setImage(image); >+ } >+ radio.setData(KIND_KEY, Integer.valueOf(kind)); >+ FormData data = createFormData(leftControl, topControl, rightControl, null, defaultIsLeft, defaultIsTop, lowermost, rightmost); >+ if (leftControl == null && SWT.DEFAULT != leftAlignment) { >+ data.left = new FormAttachment(leftAlignment); >+ } >+ if (rightControl == null && SWT.DEFAULT != rightAlignment) { >+ data.right = new FormAttachment(rightAlignment); >+ } >+ if (topControl == null && SWT.DEFAULT != topAlignment) { >+ data.top = new FormAttachment(topAlignment); >+ } >+ radio.setLayoutData(data); >+ return radio; >+ } >+ >+ protected Button createCheckbox(Composite parent, String label, Control topControl, Control leftControl, int kind) { >+ return createCheckbox(parent, label, topControl, leftControl, kind, false); >+ } >+ >+ protected Button createCheckbox(Composite parent, String label, Control topControl, Control leftControl, int kind, boolean lowermost) { >+ return createCheckbox(parent, label, topControl, leftControl, kind, true, true, lowermost, SWT.DEFAULT); >+ } >+ >+ protected Button createCheckbox(Composite parent, String label, Control topControl, Control leftControl, int kind, boolean defaultIsTop, boolean defaultIsLeft, boolean lowermost, int leftAlignment) { >+ Button checkbox = getWidgetFactory().createButton(parent, label, SWT.CHECK); >+ checkbox.setData(KIND_KEY, Integer.valueOf(kind)); >+ FormData data = createFormData(leftControl, topControl, null, null, defaultIsLeft, defaultIsTop, lowermost, false); >+ if (leftAlignment != SWT.DEFAULT) { >+ data.left = new FormAttachment(leftAlignment); >+ } >+ checkbox.setLayoutData(data); >+ return checkbox; >+ } >+ >+ protected Spinner createSpinnerWidget(Composite parent, String label, Control leftWidget, int kind) { >+ return createSpinnerWidget(parent, label, leftWidget, null, false, kind, false); >+ } >+ >+ protected Spinner createSpinnerWidget(Composite parent, String label, Control leftWidget, Control topWidget, boolean rightlast, int kind, boolean horizontalNotVertical) { >+ return createSpinnerWidget(parent, label, leftWidget, topWidget, false, rightlast, kind, horizontalNotVertical, 1, 999, 1, 100); >+ } >+ >+ protected Spinner createSpinnerWidget(Composite parent, String label, Control leftControl, Control topControl, boolean lowermost, boolean rightmost, int kind, boolean horizontalNotVertical, int min, int max, int inc, int pageInc) { >+ Spinner spinner = new Spinner(parent, SWT.BORDER | (horizontalNotVertical ? SWT.H_SCROLL : SWT.V_SCROLL)); >+ spinner.setMinimum(min); >+ spinner.setMaximum(max); >+ spinner.setIncrement(inc); >+ spinner.setPageIncrement(pageInc); >+ spinner.setBackground(parent.getBackground()); >+ spinner.setForeground(parent.getForeground()); >+ spinner.setData(KIND_KEY, Integer.valueOf(kind)); >+ Control leftWidget = leftControl; >+ if (label != null && label.length() != 0) { >+ leftWidget = createLabelWidget(parent, label, leftControl, topControl); >+ } >+ FormData data = createFormData(leftWidget, topControl, null, null, true, true, lowermost, rightmost); >+ spinner.setLayoutData(data); >+ return spinner; >+ } >+ >+ protected Text createText(Composite parent, String label, Control leftWidget, Control topWidget, String initialText, int kind) { >+ return createText(parent, label, leftWidget, topWidget, initialText, kind, true, true, false, true); >+ } >+ >+ protected Text createText(Composite parent, String label, Control leftControl, Control topControl, String initialText, int kind, boolean defaultIsTop, boolean defaultIsLeft, boolean lowermost, boolean rightmost) { >+ Text text = getWidgetFactory().createText(parent, initialText, SWT.BORDER); >+ text.setData(KIND_KEY, Integer.valueOf(kind)); >+ Control leftWidget = leftControl; >+ if (label != null && label.length() != 0) { >+ leftWidget = createLabelWidget(parent, label, leftControl, topControl); >+ } >+ FormData data = createFormData(leftWidget, topControl, null, null, defaultIsLeft, defaultIsTop, lowermost, rightmost); >+ text.setLayoutData(data); >+ return text; >+ } >+ >+ protected CLabel createLabelWidget(Composite parent, String labelText, Control leftWidget) { >+ return createLabelWidget(parent, labelText, leftWidget, null); >+ } >+ >+ protected CLabel createLabelWidget(Composite parent, String labelText, Control leftWidget, Control topWidget) { >+ CLabel label = getWidgetFactory().createCLabel(parent, labelText); >+ FormData data = createFormData(leftWidget, topWidget, null, false); >+ label.setLayoutData(data); >+ return label; >+ } >+ >+ // these ones are used in model customization example templates! >+ >+ public Composite createMainWidget(Composite parent) { >+ return createFlatFormComposite(parent, 0, true); >+ } >+ >+ public Composite createCompositeWidget(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createFlatFormComposite(parent, leftControl, topControl, rightControl, bottomControl, defaultIsLeft, defaultIsTop, lowermost, rightmost, SWT.DEFAULT, false); >+ } >+ >+ public ExpandableComposite createExpandableComposite(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createExpandableComposite(parent, label, leftControl, topControl, lowermost, rightmost); >+ } >+ >+ public Group createGroupWidget(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createGroup(parent, label, leftControl, topControl, defaultIsTop, defaultIsLeft, lowermost, false); >+ } >+ >+ public Button createRadioButton(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createRadio(parent, null, label, leftControl, SWT.DEFAULT, topControl, SWT.DEFAULT, rightControl, SWT.DEFAULT, defaultIsLeft, defaultIsTop, lowermost, rightmost, 0); >+ } >+ >+ public Button createCheckboxButton(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createCheckbox(parent, label, topControl, leftControl, 0, defaultIsTop, defaultIsLeft, lowermost, SWT.DEFAULT); >+ } >+ >+ public Spinner createSpinnerWidget(Composite parent, String label, int min, int max, int inc, int pageInc, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createSpinnerWidget(parent, label, leftControl, topControl, lowermost, rightmost, 0, false, min, max, inc, pageInc); >+ } >+ >+ public Text createTextWidget(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createText(parent, label, leftControl, topControl, EMPTY_STRING, 0, defaultIsTop, defaultIsLeft, lowermost, rightmost); >+ } >+ >+ public CLabel createLabelWidget(Composite parent, String label, Control leftControl, Control topControl, Control rightControl, Control bottomControl, boolean defaultIsLeft, boolean defaultIsTop, boolean lowermost, boolean rightmost) { >+ return createLabelWidget(parent, label, leftControl, topControl); >+ } >+ >+} >Index: models/propsheet.genmodel >=================================================================== >RCS file: models/propsheet.genmodel >diff -N models/propsheet.genmodel >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ models/propsheet.genmodel 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,94 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<genmodel:GenModel xmi:version="2.0" >+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" >+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.gmf.graphdef.propsheet/src" >+ editDirectory="/org.eclipse.gmf.graphdef.propsheet.edit/src" editorDirectory="/org.eclipse.gmf.graphdef.propsheet.edit/src" >+ modelPluginID="org.eclipse.gmf.graphdef.propsheet" modelName="Propsheet" importerID="org.eclipse.emf.importer.ecore" >+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.emf.codegen.ecore/model/GenModel.genmodel#//genmodel platform:/plugin/org.eclipse.gmf.codegen/models/gmfgen.genmodel#//gmfgen"> >+ <foreignModel>propsheet.ecore</foreignModel> >+ <genPackages prefix="Propsheet" basePackage="org.eclipse.gmf.graphdef" disposableProviderFactory="true" >+ ecorePackage="propsheet.ecore#/"> >+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="propsheet.ecore#//Positions"> >+ <genEnumLiterals ecoreEnumLiteral="propsheet.ecore#//Positions/LEFT"/> >+ <genEnumLiterals ecoreEnumLiteral="propsheet.ecore#//Positions/RIGHT"/> >+ <genEnumLiterals ecoreEnumLiteral="propsheet.ecore#//Positions/TOP"/> >+ <genEnumLiterals ecoreEnumLiteral="propsheet.ecore#//Positions/BOTTOM"/> >+ </genEnums> >+ <genClasses ecoreClass="propsheet.ecore#//PropertySectionContainer"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//PropertySectionContainer/customSections"/> >+ </genClasses> >+ <genClasses image="false" ecoreClass="propsheet.ecore#//CustomPropertySection"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//CustomPropertySection/genTab"/> >+ </genClasses> >+ <genClasses provider="Stateful" ecoreClass="propsheet.ecore#//Sectionable"> >+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference propsheet.ecore#//Sectionable/parent"/> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Sectionable/layoutConstraints"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Sectionable/name"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//CustomControl"> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//CustomControl/implementationClass"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Labeled"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Labeled/text"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Labeled/grayed"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Iconed"> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Iconed/iconPath"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Group"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Group/contents"/> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Group/modelMediator"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Group/expandable"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Label"/> >+ <genClasses ecoreClass="propsheet.ecore#//Checkbox"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Checkbox/modelElement"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Radio"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Radio/modelElement"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Spin"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Spin/modelElement"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Spin/min"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Spin/max"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Spin/inc"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//TextField"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//TextField/modelElement"/> >+ </genClasses> >+ <genClasses image="false" ecoreClass="propsheet.ecore#//LayoutConstraints"/> >+ <genClasses ecoreClass="propsheet.ecore#//FormLayoutConstraints"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//FormLayoutConstraints/anchorControl"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//FormLayoutConstraints/relativePosition"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//FormLayoutConstraints/rightmost"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//FormLayoutConstraints/lowermost"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//Text"> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Text/overridedItemProviderText"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//Text/createLabel"/> >+ </genClasses> >+ <genClasses image="false" ecoreClass="propsheet.ecore#//Reference"> >+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference propsheet.ecore#//Reference/customCode"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//ModelMediatorFeature"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//ModelMediatorFeature/cast"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//ModelMediatorFeature/visibleOnlyForTargets"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//FeatureReference"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//FeatureReference/feature"/> >+ </genClasses> >+ <genClasses image="false" ecoreClass="propsheet.ecore#//BooleanCondition"/> >+ <genClasses ecoreClass="propsheet.ecore#//IntValue"/> >+ <genClasses ecoreClass="propsheet.ecore#//StringValue"/> >+ <genClasses ecoreClass="propsheet.ecore#//IsFeatureOfTypeReference"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//IsFeatureOfTypeReference/isOfType"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//IsFeatureIsOfKindReference"> >+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference propsheet.ecore#//IsFeatureIsOfKindReference/isOfValue"/> >+ </genClasses> >+ <genClasses ecoreClass="propsheet.ecore#//AdditionalModelTuning"> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//AdditionalModelTuning/afterGettingValueFromModel"/> >+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute propsheet.ecore#//AdditionalModelTuning/afterSettingValueToModel"/> >+ </genClasses> >+ </genPackages> >+</genmodel:GenModel> >Index: src/org/eclipse/gmf/graphdef/editor/sheet/GeneratedLayoutPropertySection.java >=================================================================== >RCS file: src/org/eclipse/gmf/graphdef/editor/sheet/GeneratedLayoutPropertySection.java >diff -N src/org/eclipse/gmf/graphdef/editor/sheet/GeneratedLayoutPropertySection.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/gmf/graphdef/editor/sheet/GeneratedLayoutPropertySection.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,5255 @@ >+/* >+ * Copyright (c) 2006, 2007 Borland Software Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Borland Software Corporation - initial API and implementation >+ */ >+package org.eclipse.gmf.graphdef.editor.sheet; >+ >+import java.util.ArrayList; >+import java.util.Collection; >+import java.util.Iterator; >+ >+import org.eclipse.core.runtime.IAdaptable; >+import org.eclipse.emf.ecore.EObject; >+import org.eclipse.gef.EditPart; >+import org.eclipse.gmf.gmfgraph.Alignment; >+import org.eclipse.gmf.gmfgraph.BorderLayout; >+import org.eclipse.gmf.gmfgraph.BorderLayoutData; >+import org.eclipse.gmf.gmfgraph.CustomLayout; >+import org.eclipse.gmf.gmfgraph.CustomLayoutData; >+import org.eclipse.gmf.gmfgraph.Dimension; >+import org.eclipse.gmf.gmfgraph.FlowLayout; >+import org.eclipse.gmf.gmfgraph.GMFGraphFactory; >+import org.eclipse.gmf.gmfgraph.GridLayout; >+import org.eclipse.gmf.gmfgraph.GridLayoutData; >+import org.eclipse.gmf.gmfgraph.Layout; >+import org.eclipse.gmf.gmfgraph.LayoutData; >+import org.eclipse.gmf.gmfgraph.Layoutable; >+import org.eclipse.gmf.gmfgraph.Point; >+import org.eclipse.gmf.gmfgraph.StackLayout; >+import org.eclipse.gmf.gmfgraph.XYLayout; >+import org.eclipse.gmf.gmfgraph.XYLayoutData; >+import org.eclipse.gmf.runtime.notation.View; >+import org.eclipse.jface.viewers.ISelection; >+import org.eclipse.jface.viewers.StructuredSelection; >+import org.eclipse.swt.custom.CLabel; >+import org.eclipse.swt.widgets.Button; >+import org.eclipse.swt.widgets.Composite; >+import org.eclipse.swt.widgets.Group; >+import org.eclipse.swt.widgets.Spinner; >+import org.eclipse.swt.widgets.Text; >+import org.eclipse.swt.widgets.Widget; >+import org.eclipse.ui.IWorkbenchPart; >+import org.eclipse.ui.forms.widgets.ExpandableComposite; >+import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; >+ >+/** >+ * @generated >+ */ >+public class GeneratedLayoutPropertySection extends AbstractCustomSectionParent { >+ >+ /** >+ * Modify/unwrap selection. >+ * @generated >+ */ >+ protected Object transformSelection(Object selected) { >+ if (selected instanceof EditPart) { >+ Object model = ((EditPart) selected).getModel(); >+ return model instanceof View ? ((View) model).getElement() : null; >+ } >+ if (selected instanceof View) { >+ return ((View) selected).getElement(); >+ } >+ if (selected instanceof IAdaptable) { >+ View view = (View) ((IAdaptable) selected).getAdapter(View.class); >+ if (view != null) { >+ return view.getElement(); >+ } >+ } >+ return selected; >+ } >+ >+ /** >+ * @generated >+ */ >+ private Collection mySavedSelection = new ArrayList(); >+ >+ /** >+ * @generated >+ */ >+ public Collection getSavedSelection() { >+ //StructuredSelection structured = (StructuredSelection) super.getSelection(); >+ //return structured.toList(); >+ return mySavedSelection; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setInput(IWorkbenchPart part, ISelection selection) { >+ if (selection.isEmpty() || false == selection instanceof StructuredSelection) { >+ super.setInput(part, selection); >+ return; >+ } >+ final StructuredSelection structuredSelection = ((StructuredSelection) selection); >+ ArrayList transformedSelection = new ArrayList(structuredSelection.size()); >+ for (Iterator it = structuredSelection.iterator(); it.hasNext();) { >+ Object r = transformSelection(it.next()); >+ if (r != null) { >+ transformedSelection.add(r); >+ } >+ } >+ mySavedSelection = transformedSelection; >+ super.setInput(part, new StructuredSelection(transformedSelection)); >+ } >+ >+ /** >+ * @generated >+ */ >+ private ModelHelper myModelHelper; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Composite myMyLayoutKindGroupMyLayoutGroupComposite; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Composite myMyExpandBarMyLayoutGroupComposite; >+ >+ /** >+ * @generated >+ */ >+ private ExpandableComposite myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite; >+ >+ /** >+ * @generated >+ */ >+ private Group mySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private ExpandableComposite myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite; >+ >+ /** >+ * @generated >+ */ >+ private Group myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Button mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox; >+ >+ /** >+ * @generated >+ */ >+ private Group mySpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private CLabel myMinorTopEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Group myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private CLabel myMajorTopEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel; >+ >+ /** >+ * @generated >+ */ >+ private Button myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio; >+ >+ /** >+ * @generated >+ */ >+ private ExpandableComposite myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite; >+ >+ /** >+ * @generated >+ */ >+ private Group myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Button myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox; >+ >+ /** >+ * @generated >+ */ >+ private Group myMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group mySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin; >+ >+ /** >+ * @generated >+ */ >+ private ExpandableComposite myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite; >+ >+ /** >+ * @generated >+ */ >+ private Group myLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupGroup; >+ >+ /** >+ * @generated >+ */ >+ private Text myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText; >+ >+ /** >+ * @generated >+ */ >+ private Text myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText; >+ >+ /** >+ * @generated >+ */ >+ private Composite myMyLayoutDataCompositeComposite; >+ >+ /** >+ * @generated >+ */ >+ private Group myBorderLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Composite myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite; >+ >+ /** >+ * @generated >+ */ >+ private CLabel myUpperEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeLabel; >+ >+ /** >+ * @generated >+ */ >+ private Button myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyXYLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyGridLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Button myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox; >+ >+ /** >+ * @generated >+ */ >+ private Button myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox; >+ >+ /** >+ * @generated >+ */ >+ private Group myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Button myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Group myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Button myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Button myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio; >+ >+ /** >+ * @generated >+ */ >+ private Group mySpanningsMyGridLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group mySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Spinner myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin; >+ >+ /** >+ * @generated >+ */ >+ private Group myMyCustomLayoutDataGroupMyLayoutDataCompositeGroup; >+ >+ /** >+ * @generated >+ */ >+ private Text myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText; >+ >+ /** >+ * @generated >+ */ >+ private Text myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText; >+ >+ /** >+ * @generated >+ */ >+ public void doCreateControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { >+ Composite mainComposite = createMainWidget(parent); >+ myMyLayoutGroupGroup = createGroupWidget(mainComposite, "Layout Manager", null, null, null, null, true, true, false, false); >+ >+ myMyLayoutKindGroupMyLayoutGroupComposite = createCompositeWidget(myMyLayoutGroupGroup, "", null, null, null, null, true, true, false, false); >+ >+ myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ getListener().startListeningTo(myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel(), null, myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio = createRadioButton(myMyLayoutKindGroupMyLayoutGroupComposite, "No Layout", null, myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio, >+ null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ myMyExpandBarMyLayoutGroupComposite = createCompositeWidget(myMyLayoutGroupGroup, "", myMyLayoutKindGroupMyLayoutGroupComposite, null, null, null, true, false, false, false); >+ >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite = createExpandableComposite(myMyExpandBarMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel(), null, null, null, null, true, true, false, false); >+ Composite myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl = createCompositeWidget(myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, "", >+ null, null, null, null, true, true, false, false); >+ >+ mySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl, getModelHelper() >+ .getNameMySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroup, "Horizontal", 0, 999, 1, 100, null, >+ null, null, null, true, true, false, false); >+ getListener().startListeningTo(myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroup, "Vertical", 0, 999, 1, 100, >+ myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setClient(myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl); >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.addExpansionListener(getExpansionListener(myMyExpandBarMyLayoutGroupComposite)); >+ >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite = createExpandableComposite(myMyExpandBarMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel(), null, myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, >+ false, true, false, false); >+ Composite myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl = createCompositeWidget(myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, "", null, >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, false, true, false, false); >+ >+ myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl, "Layout Parameters", >+ null, null, null, null, true, true, false, false); >+ >+ mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox = createCheckboxButton(myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ getModelHelper().getNameMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ getListener().startListeningTo(mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox = createCheckboxButton(myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ getModelHelper().getNameMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel(), >+ mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ mySpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, "Spacings", null, >+ mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox, null, null, false, true, false, false); >+ >+ myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "Minor", 0, 999, 1, 100, null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "Major", 0, 999, 1, 100, myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMyMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel(), null, >+ mySpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, null, null, false, true, false, false); >+ >+ myMinorTopEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel = createLabelWidget(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ " ", null, null, null, null, true, true, false, false); >+ >+ myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "N", myMinorTopEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "E", null, myMinorTopEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "C", myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "W", myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "S", null, myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMyMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel(), >+ myMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, null, null, null, true, false, false, false); >+ >+ myMajorTopEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel = createLabelWidget(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ " ", null, null, null, null, true, true, false, false); >+ >+ myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "N", myMajorTopEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "E", null, myMajorTopEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "C", myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "W", myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio = createRadioButton(myMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "S", null, myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setClient(myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl); >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.addExpansionListener(getExpansionListener(myMyExpandBarMyLayoutGroupComposite)); >+ >+ myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite = createExpandableComposite(myMyExpandBarMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel(), null, myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, >+ false, true, false, false); >+ Composite myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl = createCompositeWidget(myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, "", null, >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, false, true, false, false); >+ >+ myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl, "Layout Parameters", >+ null, null, null, null, true, true, false, false); >+ >+ myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpinFromMetamodel(), 1, 99, 1, 100, null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox = createCheckboxButton(myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, >+ getModelHelper().getNameMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel(), >+ myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ myMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel(), null, >+ myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, false, true, false, false); >+ >+ myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(myMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, >+ "Horizontal", 0, 999, 1, 100, null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(myMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, "Vertical", >+ 0, 999, 1, 100, myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ mySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel(), null, >+ myMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, null, null, false, true, false, false); >+ >+ myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, "X", 0, >+ 999, 1, 100, null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin = createSpinnerWidget(mySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroup, "Y", 0, >+ 999, 1, 100, myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setClient(myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl); >+ myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.addExpansionListener(getExpansionListener(myMyExpandBarMyLayoutGroupComposite)); >+ >+ myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite = createExpandableComposite(myMyExpandBarMyLayoutGroupComposite, getModelHelper() >+ .getNameMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel(), null, myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, >+ false, true, false, false); >+ Composite myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl = createCompositeWidget(myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, "", >+ null, myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite, null, null, false, true, false, false); >+ >+ myLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupGroup = createGroupWidget(myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl, >+ "Layout Parameters", null, null, null, null, true, true, false, false); >+ >+ myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText = createTextWidget(myLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupGroup, getModelHelper() >+ .getNameMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupTextFromMetamodel(), null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText); >+ >+ myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText = createTextWidget(myLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupGroup, >+ getModelHelper().getNameMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupTextFromMetamodel(), null, >+ myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText, null, null, false, true, false, false); >+ getListener().startListeningTo(myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText); >+ >+ myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setClient(myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeControl); >+ myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.addExpansionListener(getExpansionListener(myMyExpandBarMyLayoutGroupComposite)); >+ >+ myMyLayoutDataCompositeComposite = createCompositeWidget(mainComposite, "", myMyLayoutGroupGroup, null, null, null, true, false, false, true); >+ >+ myBorderLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyLayoutDataCompositeComposite, getModelHelper() >+ .getNameMyBorderLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite = createCompositeWidget(myBorderLayoutDataGroupMyLayoutDataCompositeGroup, "", null, null, null, null, true, true, false, false); >+ >+ myUpperEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeLabel = createLabelWidget(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, " ", null, null, null, null, true, >+ true, false, false); >+ >+ myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, "N", >+ myUpperEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeLabel, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, "E", null, >+ myUpperEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeLabel, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, "C", >+ myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio, null, null, null, true, false, false, false); >+ >+ getListener().startListeningTo(myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, "W", >+ myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio, null, null, null, true, false, false, true); >+ >+ getListener().startListeningTo(myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeComposite, "S", null, >+ myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio, null, null, false, true, true, false); >+ >+ getListener().startListeningTo(myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myMyXYLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyLayoutDataCompositeComposite, getModelHelper().getNameMyMyXYLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), >+ null, null, null, null, true, true, false, false); >+ >+ myMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyXYLayoutDataGroupMyLayoutDataCompositeGroup, "Top Left Position", null, null, null, null, true, >+ true, false, false); >+ >+ myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(myMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel(), 0, 999, 1, 100, null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(myMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel(), 0, 999, 1, 100, >+ myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyXYLayoutDataGroupMyLayoutDataCompositeGroup, "Size Constraints", null, >+ myMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup, null, null, false, true, false, false); >+ >+ myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(myMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup, "X", 0, 999, 1, 100, >+ null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(myMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeGroup, "Y", 0, 999, 1, 100, >+ myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myMyGridLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyLayoutDataCompositeComposite, getModelHelper() >+ .getNameMyMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox = createCheckboxButton(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckboxFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ getListener().startListeningTo(myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox); >+ >+ myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox = createCheckboxButton(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckboxFromMetamodel(), null, >+ myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox, null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox); >+ >+ myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), null, myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox, null, >+ null, false, true, false, false); >+ >+ myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ getListener().startListeningTo(myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, >+ null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, null, >+ null, false, true, false, false); >+ >+ getListener().startListeningTo(myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, null, null, >+ false, true, false, false); >+ >+ getListener().startListeningTo(myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, null, null, null, >+ true, false, false, false); >+ >+ myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ getListener().startListeningTo(myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, >+ null, null, false, true, false, false); >+ >+ getListener().startListeningTo(myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, null, >+ null, false, true, false, false); >+ >+ getListener().startListeningTo(myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio = createRadioButton(myHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel(), null, myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio, null, >+ null, false, true, false, false); >+ >+ getListener().startListeningTo(myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ mySpanningsMyGridLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, "Spannings", null, >+ myVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroup, null, null, false, true, false, false); >+ >+ myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(mySpanningsMyGridLayoutDataGroupMyLayoutDataCompositeGroup, "Vertical", 1, 99, 1, 100, null, null, >+ null, null, true, true, false, false); >+ getListener().startListeningTo(myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(mySpanningsMyGridLayoutDataGroupMyLayoutDataCompositeGroup, "Horizontal", 1, 99, 1, 100, >+ myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ mySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), null, mySpanningsMyGridLayoutDataGroupMyLayoutDataCompositeGroup, null, null, false, true, false, >+ false); >+ >+ myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(mySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroup, "X", 0, 999, 1, 100, null, null, null, null, true, >+ true, false, false); >+ getListener().startListeningTo(myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(mySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroup, "Y", 0, 999, 1, 100, >+ myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin, null, null, null, true, false, false, false); >+ getListener().startListeningTo(myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin = createSpinnerWidget(myMyGridLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel(), 0, 99, 1, 100, null, mySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroup, null, null, >+ false, true, false, false); >+ getListener().startListeningTo(myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ myMyCustomLayoutDataGroupMyLayoutDataCompositeGroup = createGroupWidget(myMyLayoutDataCompositeComposite, getModelHelper() >+ .getNameMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel(), null, null, null, null, true, true, false, false); >+ >+ myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText = createTextWidget(myMyCustomLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeTextFromMetamodel(), null, null, null, null, true, true, false, false); >+ getListener().startListeningTo(myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText); >+ >+ myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText = createTextWidget(myMyCustomLayoutDataGroupMyLayoutDataCompositeGroup, getModelHelper() >+ .getNameMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeTextFromMetamodel(), null, myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText, null, null, false, >+ true, false, false); >+ getListener().startListeningTo(myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public void doDispose() { >+ getListener().stopListeningTo(myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.removeExpansionListener(getExpansionListener(null)); >+ getListener().stopListeningTo(mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ getListener().stopListeningTo(myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ getListener().stopListeningTo(myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ getListener().stopListeningTo(myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio); >+ >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.removeExpansionListener(getExpansionListener(null)); >+ getListener().stopListeningTo(myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox); >+ >+ getListener().stopListeningTo(myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ getListener().stopListeningTo(myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin); >+ >+ myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.removeExpansionListener(getExpansionListener(null)); >+ getListener().stopListeningTo(myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText); >+ >+ getListener().stopListeningTo(myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText); >+ >+ myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.removeExpansionListener(getExpansionListener(null)); >+ >+ getListener().stopListeningTo(myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox); >+ >+ getListener().stopListeningTo(myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox); >+ >+ getListener().stopListeningTo(myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio); >+ >+ getListener().stopListeningTo(myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin); >+ >+ getListener().stopListeningTo(myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText); >+ >+ getListener().stopListeningTo(myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public void refresh() { >+ getListener().startNonUserChange(); >+ for (Iterator it = getSavedSelection().iterator(); it.hasNext();) { >+ Object next = it.next(); >+ if (next instanceof Layoutable) { >+ final Layoutable target = (Layoutable) next; >+ executeAsReadAction(new Runnable() { >+ >+ public void run() { >+ updateFromModel(target); >+ } >+ }); >+ } >+ } >+ getListener().finishNonUserChange(); >+ } >+ >+ /** >+ * @generated >+ */ >+ public void updateFromModel(Layoutable target) { >+ boolean needToRelayoutExpandBar = false; >+ >+ { >+ >+ { >+ { >+ myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ { >+ myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.setSelection(getModelHelper().getValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target)); >+ } >+ } >+ { >+ >+ boolean isMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible = getModelHelper() >+ .isVisibleMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(target); >+ if (myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.isExpanded() != isMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ needToRelayoutExpandBar = true; >+ } >+ >+ myMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setExpanded(isMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible); >+ if (isMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ >+ { >+ { >+ myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper().getValueForMyDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin( >+ target)); >+ } >+ { >+ myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper().getValueForMyDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin( >+ target)); >+ } >+ } >+ } >+ boolean isMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible = getModelHelper().isVisibleMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite( >+ target); >+ if (myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.isExpanded() != isMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ needToRelayoutExpandBar = true; >+ } >+ >+ myMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setExpanded(isMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible); >+ if (isMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ >+ { >+ { >+ mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.setSelection(getModelHelper() >+ .getValueForMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(target)); >+ } >+ { >+ myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.setSelection(getModelHelper() >+ .getValueForMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(target)); >+ } >+ { >+ { >+ myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ { >+ myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ } >+ { >+ { >+ String modelText = " "; >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myMinorTopEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel.setText(modelText); >+ } >+ { >+ myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ } >+ { >+ { >+ String modelText = " "; >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myMajorTopEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupLabel.setText(modelText); >+ } >+ { >+ myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ { >+ myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.setSelection(getModelHelper() >+ .getValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target)); >+ } >+ } >+ } >+ } >+ boolean isMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible = getModelHelper().isVisibleMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite( >+ target); >+ if (myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.isExpanded() != isMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ needToRelayoutExpandBar = true; >+ } >+ >+ myMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setExpanded(isMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible); >+ if (isMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ >+ { >+ { >+ myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ { >+ myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox.setSelection(getModelHelper() >+ .getValueForMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox(target)); >+ } >+ { >+ { >+ myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ { >+ myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ } >+ { >+ { >+ myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ { >+ myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.setSelection(getModelHelper() >+ .getValueForMyDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target)); >+ } >+ } >+ } >+ } >+ boolean isMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible = getModelHelper() >+ .isVisibleMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(target); >+ if (myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.isExpanded() != isMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ needToRelayoutExpandBar = true; >+ } >+ >+ myMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite.setExpanded(isMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible); >+ if (isMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeVisible) { >+ >+ { >+ { >+ String modelText = getModelHelper().getValueForMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(target); >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.setText(modelText); >+ } >+ { >+ String modelText = getModelHelper().getValueForMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(target); >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.setText(modelText); >+ } >+ } >+ } >+ } >+ } >+ { >+ >+ boolean isMyBorderLayoutDataGroupMyLayoutDataCompositeGroupVisible = getModelHelper().isVisibleMyBorderLayoutDataGroupMyLayoutDataCompositeGroup(target); >+ >+ myBorderLayoutDataGroupMyLayoutDataCompositeGroup.setVisible(isMyBorderLayoutDataGroupMyLayoutDataCompositeGroupVisible); >+ if (isMyBorderLayoutDataGroupMyLayoutDataCompositeGroupVisible) { >+ >+ { >+ { >+ String modelText = " "; >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myUpperEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeLabel.setText(modelText); >+ } >+ { >+ myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper().getValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio( >+ target)); >+ } >+ { >+ myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper().getValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio( >+ target)); >+ } >+ { >+ myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper().getValueForMyBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio( >+ target)); >+ } >+ { >+ myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper().getValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio( >+ target)); >+ } >+ { >+ myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper().getValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio( >+ target)); >+ } >+ } >+ } >+ boolean isMyMyXYLayoutDataGroupMyLayoutDataCompositeGroupVisible = getModelHelper().isVisibleMyMyXYLayoutDataGroupMyLayoutDataCompositeGroup(target); >+ >+ myMyXYLayoutDataGroupMyLayoutDataCompositeGroup.setVisible(isMyMyXYLayoutDataGroupMyLayoutDataCompositeGroupVisible); >+ if (isMyMyXYLayoutDataGroupMyLayoutDataCompositeGroupVisible) { >+ >+ { >+ { >+ myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ { >+ myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ } >+ { >+ { >+ myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ { >+ myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ } >+ } >+ boolean isMyMyGridLayoutDataGroupMyLayoutDataCompositeGroupVisible = getModelHelper().isVisibleMyMyGridLayoutDataGroupMyLayoutDataCompositeGroup(target); >+ >+ myMyGridLayoutDataGroupMyLayoutDataCompositeGroup.setVisible(isMyMyGridLayoutDataGroupMyLayoutDataCompositeGroupVisible); >+ if (isMyMyGridLayoutDataGroupMyLayoutDataCompositeGroupVisible) { >+ { >+ myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.setSelection(getModelHelper() >+ .getValueForMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(target)); >+ } >+ { >+ myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.setSelection(getModelHelper() >+ .getValueForMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(target)); >+ } >+ { >+ { >+ myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ } >+ { >+ { >+ myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ { >+ myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.setSelection(getModelHelper() >+ .getValueForMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target)); >+ } >+ } >+ { >+ { >+ myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ { >+ myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper() >+ .getValueForMyHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ } >+ { >+ { >+ myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper().getValueForMyDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ { >+ myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper().getValueForMyDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ } >+ { >+ myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin.setSelection(getModelHelper().getValueForMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target)); >+ } >+ } >+ boolean isMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroupVisible = getModelHelper().isVisibleMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroup(target); >+ >+ myMyCustomLayoutDataGroupMyLayoutDataCompositeGroup.setVisible(isMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroupVisible); >+ if (isMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroupVisible) { >+ { >+ String modelText = getModelHelper().getValueForMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(target); >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.setText(modelText); >+ } >+ { >+ String modelText = getModelHelper().getValueForMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(target); >+ if (modelText == null) { >+ modelText = EMPTY_STRING; >+ } >+ myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.setText(modelText); >+ } >+ } >+ } >+ if (needToRelayoutExpandBar) { >+ relayoutExpandBar(null); >+ } >+ } >+ >+ /** >+ * @generated >+ */ >+ public ModelUpdater createModelUpdater() { >+ return new ModelUpdater() { >+ >+ public void applyChangesFrom(Widget widget, int kind) { >+ GeneratedLayoutPropertySection.this.applyChangesFrom(widget, kind); >+ } >+ }; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void applyChangesFrom(final Widget widget, int kind) { >+ String commandName = "Modifying model with ui data from " + widget.toString(); >+ ArrayList commands = new ArrayList(getSavedSelection().size()); >+ for (Iterator it = getSavedSelection().iterator(); it.hasNext();) { >+ Object next = it.next(); >+ if (next instanceof Layoutable) { >+ final Layoutable target = (Layoutable) next; >+ commands.add(createCommand(commandName, target, getModelModifierFor(target, widget, kind))); >+ } >+ } >+ executeAsCompositeCommand(commandName, commands); >+ //refresh(); >+ } >+ >+ /** >+ * @generated >+ */ >+ public Runnable getModelModifierFor(final Layoutable target, final Widget widget, int kind) { >+ if (widget == myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio && myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin && myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin && myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox >+ && mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = mySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.getSelection(); >+ getModelHelper().setValueForMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox >+ && myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox.getSelection(); >+ getModelHelper().setValueForMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin >+ && myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin >+ && myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio >+ && myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin && myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox >+ && myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox.getSelection(); >+ getModelHelper().setValueForMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin && myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin && myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin && myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin && myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin.getSelection(); >+ getModelHelper().setValueForMyDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText >+ && myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final String value = myBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.getText(); >+ getModelHelper().setValueForMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText >+ && myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final String value = myQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText.getText(); >+ getModelHelper().setValueForMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio && myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio && myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio && myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio && myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio && myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin && myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin && myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin && myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin && myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox && myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.getSelection(); >+ getModelHelper().setValueForMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox && myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox.getSelection(); >+ getModelHelper().setValueForMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio && myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final boolean value = myFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio.getSelection(); >+ if (value) { >+ getModelHelper().setValueForMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(target, value); >+ } >+ } >+ }; >+ } >+ >+ if (widget == myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin && myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin && myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin && myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin && myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin && myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final int value = myHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin.getSelection(); >+ getModelHelper().setValueForMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText && myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final String value = myBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.getText(); >+ getModelHelper().setValueForMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(target, value); >+ } >+ }; >+ } >+ >+ if (widget == myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText && myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.isVisible()) { >+ return new Runnable() { >+ >+ public void run() { >+ final String value = myQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText.getText(); >+ getModelHelper().setValueForMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(target, value); >+ } >+ }; >+ } >+ >+ // default: >+ return new Runnable() { >+ >+ public void run() { >+ // does nothing >+ } >+ }; >+ } >+ >+ /** >+ * @generated >+ */ >+ protected ModelHelper getModelHelper() { >+ if (myModelHelper == null) { >+ myModelHelper = new ModelHelper(); >+ } >+ return myModelHelper; >+ } >+ >+ /** >+ * @generated >+ */ >+ public final class ModelHelper { >+ >+ /*############################ begin additions ############################*/ >+ >+ /** >+ * @generated NOT >+ */ >+ protected void setLayoutDataToChildren(org.eclipse.gmf.gmfgraph.Layoutable layoutable, org.eclipse.gmf.gmfgraph.LayoutData layoutData) { >+ if (layoutable instanceof org.eclipse.gmf.gmfgraph.Figure) { >+ org.eclipse.gmf.gmfgraph.Figure figure = (org.eclipse.gmf.gmfgraph.Figure) layoutable; >+ for (java.util.Iterator it = figure.getChildren().iterator(); it.hasNext();) { >+ Object next = it.next(); >+ if (next instanceof org.eclipse.gmf.gmfgraph.Layoutable) { >+ org.eclipse.gmf.gmfgraph.Layoutable nextLayoutableChild = (org.eclipse.gmf.gmfgraph.Layoutable) next; >+ org.eclipse.gmf.gmfgraph.LayoutData haveLayoutData = nextLayoutableChild.getLayoutData(); >+ if (!layoutData.getClass().isInstance(haveLayoutData)) { >+ nextLayoutableChild.setLayoutData(layoutData); >+ } >+ } >+ } >+ } >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ protected boolean getFlowLayoutVerticalKind(org.eclipse.gmf.gmfgraph.Layoutable layoutable) { >+ boolean result = false; >+ if (layoutable.getLayout() != null) { >+ org.eclipse.gmf.gmfgraph.Layout layout = layoutable.getLayout(); >+ if (layout instanceof org.eclipse.gmf.gmfgraph.FlowLayout) { >+ org.eclipse.gmf.gmfgraph.FlowLayout flowLayout = ((org.eclipse.gmf.gmfgraph.FlowLayout) layout); >+ result = flowLayout.isVertical(); >+ } >+ } >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ protected void setFlowLayoutVerticalKind(org.eclipse.gmf.gmfgraph.Layoutable layoutable, boolean vertical) { >+ if (layoutable.getLayout() != null) { >+ org.eclipse.gmf.gmfgraph.Layout layout = layoutable.getLayout(); >+ if (layout instanceof org.eclipse.gmf.gmfgraph.FlowLayout) { >+ org.eclipse.gmf.gmfgraph.FlowLayout flowLayout = ((org.eclipse.gmf.gmfgraph.FlowLayout) layout); >+ flowLayout.setVertical(vertical); >+ } >+ } >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ protected boolean getBorderLayoutDataVerticalKind(org.eclipse.gmf.gmfgraph.Layoutable layoutable) { >+ boolean result = false; >+ if (layoutable.getLayoutData() != null) { >+ org.eclipse.gmf.gmfgraph.LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof org.eclipse.gmf.gmfgraph.BorderLayoutData) { >+ org.eclipse.gmf.gmfgraph.BorderLayoutData borderLayoutData = ((org.eclipse.gmf.gmfgraph.BorderLayoutData) layoutData); >+ result = borderLayoutData.isVertical(); >+ } >+ } >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ protected void setBorderLayoutDataVerticalKind(org.eclipse.gmf.gmfgraph.Layoutable layoutable, boolean vertical) { >+ if (layoutable.getLayoutData() != null) { >+ org.eclipse.gmf.gmfgraph.LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof org.eclipse.gmf.gmfgraph.BorderLayoutData) { >+ org.eclipse.gmf.gmfgraph.BorderLayoutData borderLayoutData = ((org.eclipse.gmf.gmfgraph.BorderLayoutData) layoutData); >+ borderLayoutData.setVertical(vertical); >+ } >+ } >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ protected org.eclipse.emf.ecore.EObject cloneVars(org.eclipse.emf.ecore.EObject target) { >+ if (target instanceof org.eclipse.gmf.gmfgraph.Dimension) { >+ org.eclipse.gmf.gmfgraph.Dimension source = (org.eclipse.gmf.gmfgraph.Dimension) target; >+ org.eclipse.gmf.gmfgraph.Dimension cloned = org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createDimension(); >+ cloned.setDx(source.getDx()); >+ cloned.setDy(source.getDy()); >+ return cloned; >+ } >+ if (target instanceof org.eclipse.gmf.gmfgraph.Point) { >+ org.eclipse.gmf.gmfgraph.Point source = (org.eclipse.gmf.gmfgraph.Point) target; >+ org.eclipse.gmf.gmfgraph.Point cloned = org.eclipse.gmf.gmfgraph.GMFGraphFactory.eINSTANCE.createPoint(); >+ cloned.setX(source.getX()); >+ cloned.setY(source.getY()); >+ return cloned; >+ } >+ return cloneVarsGen(target); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setLayoutDataToChildren(layoutable, GMFGraphFactory.eINSTANCE.createBorderLayoutData()); >+ setValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setLayoutDataToChildren(layoutable, GMFGraphFactory.eINSTANCE.createCustomLayoutData()); >+ setValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setLayoutDataToChildren(layoutable, GMFGraphFactory.eINSTANCE.createGridLayoutData()); >+ setValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ >+ setValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ >+ setValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setLayoutDataToChildren(layoutable, GMFGraphFactory.eINSTANCE.createXYLayoutData()); >+ setValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ >+ setValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(layoutable, valueToSet); >+ GeneratedLayoutPropertySection.this.refresh(); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, true); >+ setValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && !getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, false); >+ setValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && !getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, false); >+ setValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, true); >+ setValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, true); >+ setValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && !getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, false); >+ setValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && !getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, false); >+ setValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable); >+ result = result && getFlowLayoutVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setFlowLayoutVerticalKind(layoutable, true); >+ setValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable); >+ result = result && getBorderLayoutDataVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setBorderLayoutDataVerticalKind(layoutable, true); >+ setValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable); >+ result = result && !getBorderLayoutDataVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setBorderLayoutDataVerticalKind(layoutable, false); >+ setValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable); >+ result = result && !getBorderLayoutDataVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setBorderLayoutDataVerticalKind(layoutable, false); >+ setValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable, valueToSet); >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public boolean getValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean result; >+ result = getValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable); >+ result = result && getBorderLayoutDataVerticalKind(layoutable); >+ return result; >+ } >+ >+ /** >+ * @generated NOT >+ */ >+ public void setValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ boolean valueToSet; >+ valueToSet = value; >+ setBorderLayoutDataVerticalKind(layoutable, true); >+ setValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(layoutable, valueToSet); >+ } >+ >+ /*############################ end additions ############################*/ >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyGeneratedLayoutGroupFromMetamodel() { >+ return "Layoutable"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof BorderLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ BorderLayout newInstance = GMFGraphFactory.eINSTANCE.createBorderLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyBorderLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "BorderLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof CustomLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ CustomLayout newInstance = GMFGraphFactory.eINSTANCE.createCustomLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyCustomLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "CustomLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof GridLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ GridLayout newInstance = GMFGraphFactory.eINSTANCE.createGridLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyGridLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "GridLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof FlowLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ FlowLayout newInstance = GMFGraphFactory.eINSTANCE.createFlowLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyFlowLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "FlowLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof StackLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ StackLayout newInstance = GMFGraphFactory.eINSTANCE.createStackLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyStackLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "StackLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ value = (layout instanceof XYLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ XYLayout newInstance = GMFGraphFactory.eINSTANCE.createXYLayout(); >+ layoutable.setLayout(newInstance); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyXYLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioFromMetamodel() { >+ return "XYLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ >+ Layout layout = layoutable.getLayout(); >+ value = (layout == null); >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyNoLayoutRadioMyLayoutKindGroupMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ layoutable.setLayout(null); >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayout() != null) { >+ Layout layout = targetVar.getLayout(); >+ value = (layout instanceof BorderLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel() { >+ return "BorderLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel() { >+ return "Spacing"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof BorderLayout) { >+ BorderLayout borderLayout = ((BorderLayout) layout); >+ if (borderLayout.getSpacing() != null) { >+ Dimension dimension = borderLayout.getSpacing(); >+ value = dimension.getDx(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDxSpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof BorderLayout) { >+ BorderLayout borderLayout = ((BorderLayout) layout); >+ >+ if (borderLayout.getSpacing() == null) { >+ borderLayout.setSpacing(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (borderLayout.getSpacing() != null) { >+ Dimension dimension = borderLayout.getSpacing(); >+ dimension.setDx(value); >+ borderLayout.setSpacing((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof BorderLayout) { >+ BorderLayout borderLayout = ((BorderLayout) layout); >+ if (borderLayout.getSpacing() != null) { >+ Dimension dimension = borderLayout.getSpacing(); >+ value = dimension.getDy(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDySpacingMyLayoutBorderExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof BorderLayout) { >+ BorderLayout borderLayout = ((BorderLayout) layout); >+ >+ if (borderLayout.getSpacing() == null) { >+ borderLayout.setSpacing(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (borderLayout.getSpacing() != null) { >+ Dimension dimension = borderLayout.getSpacing(); >+ dimension.setDy(value); >+ borderLayout.setSpacing((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayout() != null) { >+ Layout layout = targetVar.getLayout(); >+ value = (layout instanceof FlowLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel() { >+ return "FlowLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ value = flowLayout.isForceSingleLine(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ flowLayout.setForceSingleLine(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMySingleLineLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel() { >+ return "ForceSingleLine"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ value = flowLayout.isMatchMinorSize(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ flowLayout.setMatchMinorSize(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMinorSizeLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel() { >+ return "MatchMinorSize"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ value = flowLayout.getMinorSpacing(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ flowLayout.setMinorSpacing(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ value = flowLayout.getMajorSpacing(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorSpacingsLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ flowLayout.setMajorSpacing(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel() { >+ return "MinorAlignment"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMinorAlignment() != null) { >+ Alignment alignment = flowLayout.getMinorAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorNMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMinorAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMinorAlignment() != null) { >+ Alignment alignment = flowLayout.getMinorAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorEMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMinorAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMinorAlignment() != null) { >+ Alignment alignment = flowLayout.getMinorAlignment(); >+ value = (alignment.getValue() == Alignment.CENTER); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorCMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMinorAlignment(Alignment.CENTER_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMinorAlignment() != null) { >+ Alignment alignment = flowLayout.getMinorAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorWMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMinorAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMinorAlignment() != null) { >+ Alignment alignment = flowLayout.getMinorAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMinorSMinorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMinorAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel() { >+ return "MajorAlignment"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMajorAlignment() != null) { >+ Alignment alignment = flowLayout.getMajorAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorNMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMajorAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMajorAlignment() != null) { >+ Alignment alignment = flowLayout.getMajorAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorEMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMajorAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMajorAlignment() != null) { >+ Alignment alignment = flowLayout.getMajorAlignment(); >+ value = (alignment.getValue() == Alignment.CENTER); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorCMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMajorAlignment(Alignment.CENTER_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMajorAlignment() != null) { >+ Alignment alignment = flowLayout.getMajorAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorWMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMajorAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ if (flowLayout.getMajorAlignment() != null) { >+ Alignment alignment = flowLayout.getMajorAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMajorSMajorAlignLayoutParametersMyLayoutFlowExpandGroupMyExpandBarMyLayoutGroupRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof FlowLayout) { >+ FlowLayout flowLayout = ((FlowLayout) layout); >+ >+ flowLayout.setMajorAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayout() != null) { >+ Layout layout = targetVar.getLayout(); >+ value = (layout instanceof GridLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel() { >+ return "GridLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ value = gridLayout.getNumColumns(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ gridLayout.setNumColumns(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyNumColumnsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpinFromMetamodel() { >+ return "NumColumns"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ value = gridLayout.isEqualWidth(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckbox(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ gridLayout.setEqualWidth(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyEqualWidthLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupCheckboxFromMetamodel() { >+ return "EqualWidth"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel() { >+ return "Margins"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ if (gridLayout.getMargins() != null) { >+ Dimension dimension = gridLayout.getMargins(); >+ value = dimension.getDx(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDxMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ >+ if (gridLayout.getMargins() == null) { >+ gridLayout.setMargins(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayout.getMargins() != null) { >+ Dimension dimension = gridLayout.getMargins(); >+ dimension.setDx(value); >+ gridLayout.setMargins((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ if (gridLayout.getMargins() != null) { >+ Dimension dimension = gridLayout.getMargins(); >+ value = dimension.getDy(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDyMarginsLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ >+ if (gridLayout.getMargins() == null) { >+ gridLayout.setMargins(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayout.getMargins() != null) { >+ Dimension dimension = gridLayout.getMargins(); >+ dimension.setDy(value); >+ gridLayout.setMargins((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupGroupFromMetamodel() { >+ return "Spacing"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ if (gridLayout.getSpacing() != null) { >+ Dimension dimension = gridLayout.getSpacing(); >+ value = dimension.getDx(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDxSpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ >+ if (gridLayout.getSpacing() == null) { >+ gridLayout.setSpacing(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayout.getSpacing() != null) { >+ Dimension dimension = gridLayout.getSpacing(); >+ dimension.setDx(value); >+ gridLayout.setSpacing((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ if (gridLayout.getSpacing() != null) { >+ Dimension dimension = gridLayout.getSpacing(); >+ value = dimension.getDy(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDySpacingLayoutParametersMyLayoutGridExpandGroupMyExpandBarMyLayoutGroupSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof GridLayout) { >+ GridLayout gridLayout = ((GridLayout) layout); >+ >+ if (gridLayout.getSpacing() == null) { >+ gridLayout.setSpacing(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayout.getSpacing() != null) { >+ Dimension dimension = gridLayout.getSpacing(); >+ dimension.setDy(value); >+ gridLayout.setSpacing((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableComposite(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayout() != null) { >+ Layout layout = targetVar.getLayout(); >+ value = (layout instanceof CustomLayout); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupExpandableCompositeFromMetamodel() { >+ return "CustomLayout"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getValueForMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(Layoutable layoutable) { >+ String value = EMPTY_STRING; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof CustomLayout) { >+ CustomLayout customLayout = ((CustomLayout) layout); >+ value = customLayout.getBundleName(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(Layoutable layoutable, String value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof CustomLayout) { >+ CustomLayout customLayout = ((CustomLayout) layout); >+ customLayout.setBundleName(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyBundleNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupTextFromMetamodel() { >+ return "BundleName"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getValueForMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(Layoutable layoutable) { >+ String value = EMPTY_STRING; >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ if (layout instanceof CustomLayout) { >+ CustomLayout customLayout = ((CustomLayout) layout); >+ value = customLayout.getQualifiedClassName(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupText(Layoutable layoutable, String value) { >+ >+ if (layoutable.getLayout() != null) { >+ Layout layout = layoutable.getLayout(); >+ >+ if (layout instanceof CustomLayout) { >+ CustomLayout customLayout = ((CustomLayout) layout); >+ customLayout.setQualifiedClassName(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyQualifiedClassNameLayoutParametersMyLayoutCustomExpandGroupMyExpandBarMyLayoutGroupTextFromMetamodel() { >+ return "QualifiedClassName"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyBorderLayoutDataGroupMyLayoutDataCompositeGroup(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayoutData() != null) { >+ LayoutData layoutData = targetVar.getLayoutData(); >+ value = (layoutData instanceof BorderLayoutData); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyBorderLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "BorderLayoutData"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ if (borderLayoutData.getAlignment() != null) { >+ Alignment alignment = borderLayoutData.getAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBorderNWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ >+ borderLayoutData.setAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ if (borderLayoutData.getAlignment() != null) { >+ Alignment alignment = borderLayoutData.getAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBorderEWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ >+ borderLayoutData.setAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ if (borderLayoutData.getAlignment() != null) { >+ Alignment alignment = borderLayoutData.getAlignment(); >+ value = (alignment.getValue() == Alignment.CENTER); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBorderCWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ >+ borderLayoutData.setAlignment(Alignment.CENTER_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ if (borderLayoutData.getAlignment() != null) { >+ Alignment alignment = borderLayoutData.getAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBorderWWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ >+ borderLayoutData.setAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ if (borderLayoutData.getAlignment() != null) { >+ Alignment alignment = borderLayoutData.getAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBorderSWorldPartsBorderLayoutDataGroupMyLayoutDataCompositeRadioGen(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof BorderLayoutData) { >+ BorderLayoutData borderLayoutData = ((BorderLayoutData) layoutData); >+ >+ borderLayoutData.setAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyXYLayoutDataGroupMyLayoutDataCompositeGroup(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayoutData() != null) { >+ LayoutData layoutData = targetVar.getLayoutData(); >+ value = (layoutData instanceof XYLayoutData); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyXYLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "XYLayoutData"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ if (xYLayoutData.getTopLeft() != null) { >+ Point point = xYLayoutData.getTopLeft(); >+ value = point.getX(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ >+ if (xYLayoutData.getTopLeft() == null) { >+ xYLayoutData.setTopLeft(GMFGraphFactory.eINSTANCE.createPoint()); >+ } >+ >+ if (xYLayoutData.getTopLeft() != null) { >+ Point point = xYLayoutData.getTopLeft(); >+ point.setX(value); >+ xYLayoutData.setTopLeft((Point) cloneVars(point)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyXYDataXSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel() { >+ return "X"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ if (xYLayoutData.getTopLeft() != null) { >+ Point point = xYLayoutData.getTopLeft(); >+ value = point.getY(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ >+ if (xYLayoutData.getTopLeft() == null) { >+ xYLayoutData.setTopLeft(GMFGraphFactory.eINSTANCE.createPoint()); >+ } >+ >+ if (xYLayoutData.getTopLeft() != null) { >+ Point point = xYLayoutData.getTopLeft(); >+ point.setY(value); >+ xYLayoutData.setTopLeft((Point) cloneVars(point)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyXYDataYSpinMyXYDataTopLeftGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel() { >+ return "Y"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ if (xYLayoutData.getSize() != null) { >+ Dimension dimension = xYLayoutData.getSize(); >+ value = dimension.getDx(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyXYDataSizeXSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ >+ if (xYLayoutData.getSize() == null) { >+ xYLayoutData.setSize(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (xYLayoutData.getSize() != null) { >+ Dimension dimension = xYLayoutData.getSize(); >+ dimension.setDx(value); >+ xYLayoutData.setSize((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ if (xYLayoutData.getSize() != null) { >+ Dimension dimension = xYLayoutData.getSize(); >+ value = dimension.getDy(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyMyXYDataSizeYSpinMyXYDataSizeGroupMyXYLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof XYLayoutData) { >+ XYLayoutData xYLayoutData = ((XYLayoutData) layoutData); >+ >+ if (xYLayoutData.getSize() == null) { >+ xYLayoutData.setSize(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (xYLayoutData.getSize() != null) { >+ Dimension dimension = xYLayoutData.getSize(); >+ dimension.setDy(value); >+ xYLayoutData.setSize((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyGridLayoutDataGroupMyLayoutDataCompositeGroup(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayoutData() != null) { >+ LayoutData layoutData = targetVar.getLayoutData(); >+ value = (layoutData instanceof GridLayoutData); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "GridLayoutData"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ value = gridLayoutData.isGrabExcessHorizontalSpace(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ gridLayoutData.setGrabExcessHorizontalSpace(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyGrabExcessHorizontalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckboxFromMetamodel() { >+ return "GrabExcessHorizontalSpace"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ value = gridLayoutData.isGrabExcessVerticalSpace(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckbox(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ gridLayoutData.setGrabExcessVerticalSpace(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyGrabExcessVerticalSpaceMyGridLayoutDataGroupMyLayoutDataCompositeCheckboxFromMetamodel() { >+ return "GrabExcessVerticalSpace"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "VerticalAlignment"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getVerticalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getVerticalAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setVerticalAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyBEGINNINGVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Beginning"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getVerticalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getVerticalAlignment(); >+ value = (alignment.getValue() == Alignment.CENTER); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setVerticalAlignment(Alignment.CENTER_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyCENTERVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Center"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getVerticalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getVerticalAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setVerticalAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyENDVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "End"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getVerticalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getVerticalAlignment(); >+ value = (alignment.getValue() == Alignment.FILL); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setVerticalAlignment(Alignment.FILL_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyFILLVerticalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Fill"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "HorizontalAlignment"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getHorizontalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getHorizontalAlignment(); >+ value = (alignment.getValue() == Alignment.BEGINNING); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setHorizontalAlignment(Alignment.BEGINNING_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyBEGINNINGHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Beginning"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getHorizontalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getHorizontalAlignment(); >+ value = (alignment.getValue() == Alignment.CENTER); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setHorizontalAlignment(Alignment.CENTER_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyCENTERHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Center"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getHorizontalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getHorizontalAlignment(); >+ value = (alignment.getValue() == Alignment.END); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setHorizontalAlignment(Alignment.END_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyENDHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "End"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean getValueForMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable) { >+ boolean value = false; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getHorizontalAlignment() != null) { >+ Alignment alignment = gridLayoutData.getHorizontalAlignment(); >+ value = (alignment.getValue() == Alignment.FILL); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadio(Layoutable layoutable, boolean value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ gridLayoutData.setHorizontalAlignment(Alignment.FILL_LITERAL); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyFILLHorizontalAlignmentMyGridLayoutDataGroupMyLayoutDataCompositeRadioFromMetamodel() { >+ return "Fill"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ value = gridLayoutData.getVerticalSpan(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyVerticalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ gridLayoutData.setVerticalSpan(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ value = gridLayoutData.getHorizontalSpan(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyHorizontalSpanSpanningsMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ gridLayoutData.setHorizontalSpan(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "SizeHint"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getSizeHint() != null) { >+ Dimension dimension = gridLayoutData.getSizeHint(); >+ value = dimension.getDx(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDxSizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ if (gridLayoutData.getSizeHint() == null) { >+ gridLayoutData.setSizeHint(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayoutData.getSizeHint() != null) { >+ Dimension dimension = gridLayoutData.getSizeHint(); >+ dimension.setDx(value); >+ gridLayoutData.setSizeHint((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ if (gridLayoutData.getSizeHint() != null) { >+ Dimension dimension = gridLayoutData.getSizeHint(); >+ value = dimension.getDy(); >+ >+ } >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyDySizeHintMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ >+ if (gridLayoutData.getSizeHint() == null) { >+ gridLayoutData.setSizeHint(GMFGraphFactory.eINSTANCE.createDimension()); >+ } >+ >+ if (gridLayoutData.getSizeHint() != null) { >+ Dimension dimension = gridLayoutData.getSizeHint(); >+ dimension.setDy(value); >+ gridLayoutData.setSizeHint((Dimension) cloneVars(dimension)); >+ } >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public int getValueForMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable) { >+ int value = 0; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ value = gridLayoutData.getHorizontalIndent(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpin(Layoutable layoutable, int value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof GridLayoutData) { >+ GridLayoutData gridLayoutData = ((GridLayoutData) layoutData); >+ gridLayoutData.setHorizontalIndent(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyHorizontalIndentMyGridLayoutDataGroupMyLayoutDataCompositeSpinFromMetamodel() { >+ return "HorizontalIndent"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public boolean isVisibleMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroup(Layoutable targetVar) { >+ boolean value = false; >+ if (targetVar.getLayoutData() != null) { >+ LayoutData layoutData = targetVar.getLayoutData(); >+ value = (layoutData instanceof CustomLayoutData); >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyMyCustomLayoutDataGroupMyLayoutDataCompositeGroupFromMetamodel() { >+ return "CustomLayoutData"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getValueForMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(Layoutable layoutable) { >+ String value = EMPTY_STRING; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof CustomLayoutData) { >+ CustomLayoutData customLayoutData = ((CustomLayoutData) layoutData); >+ value = customLayoutData.getBundleName(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(Layoutable layoutable, String value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof CustomLayoutData) { >+ CustomLayoutData customLayoutData = ((CustomLayoutData) layoutData); >+ customLayoutData.setBundleName(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyBundleNameMyCustomLayoutDataGroupMyLayoutDataCompositeTextFromMetamodel() { >+ return "BundleName"; >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getValueForMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(Layoutable layoutable) { >+ String value = EMPTY_STRING; >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ if (layoutData instanceof CustomLayoutData) { >+ CustomLayoutData customLayoutData = ((CustomLayoutData) layoutData); >+ value = customLayoutData.getQualifiedClassName(); >+ >+ } >+ >+ } >+ >+ return value; >+ } >+ >+ /** >+ * @generated >+ */ >+ public void setValueForMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeText(Layoutable layoutable, String value) { >+ >+ if (layoutable.getLayoutData() != null) { >+ LayoutData layoutData = layoutable.getLayoutData(); >+ >+ if (layoutData instanceof CustomLayoutData) { >+ CustomLayoutData customLayoutData = ((CustomLayoutData) layoutData); >+ customLayoutData.setQualifiedClassName(value); >+ >+ } >+ >+ } >+ >+ } >+ >+ /** >+ * @generated >+ */ >+ public String getNameMyQualifiedClassNameMyCustomLayoutDataGroupMyLayoutDataCompositeTextFromMetamodel() { >+ return "QualifiedClassName"; >+ } >+ >+ /** >+ * @generated >+ */ >+ protected EObject cloneVarsGen(EObject target) { >+ return target; >+ } >+ >+ } >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 173499
:
60157
|
61427
|
61428
| 62857 |
62858
|
62859