Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram Partitioning: Multiple subdiagrams
Diagram Partitioning: Multiple subdiagrams [message #165023] Tue, 11 December 2007 12:03 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi!

I've implemented diagram partitioning. But now I want to have another
subdiagram of my superdiagram. After I set it up, only the old
subdiagram works - not the new one.

Super diagram:
Node A (opens subdiagram1) = works
Node B (opens subdiagram2) = does not function


I've tried changing the name of the edit policy. Any help appreciated!


Best Regards,

Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165060 is a reply to message #165023] Tue, 11 December 2007 13:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hali.gmail.com

Hello,

Do you have XMI serialization for the sub-diagram, so do you have one or
two files besides the diagram files?

regards,
Hali
Re: Diagram Partitioning: Multiple subdiagrams [message #165067 is a reply to message #165060] Tue, 11 December 2007 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Thanks for helping :)

> Do you have XMI serialization for the sub-diagram, so do you have one or
> two files besides the diagram files?

If I understand you correctly: I have duplicated the genmodel two times
(one for each subdiagram). I have generated model and edit code from
these, and use them in the gmfgens.


Best Regards,

Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165072 is a reply to message #165067] Tue, 11 December 2007 14:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

I should also mention that when I enable the open diagram behavior on
the second subdiagram, the first subdiagram also fails to open (except
if they are previously created)


Regards,

Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165080 is a reply to message #165072] Tue, 11 December 2007 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hali.gmail.com

Hello,

Would you upload the diagram somewhere?

regards,
Hali
Re: Diagram Partitioning: Multiple subdiagrams [message #165128 is a reply to message #165080] Tue, 11 December 2007 19:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

This is a multi-part message in MIME format.
--------------040400020904090704080603
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit


> Would you upload the diagram somewhere?

No prob :)

Explanation:
"Upper Diagram Element" is the superdiagram.
"Construct Node" is double clicked to open the first subdiagram
(Represented).
"ClassDiagramElement" is the second node that should open a subdiagram
(Class).



--------------040400020904090704080603
Content-Type: text/xml;
name="editor.genmodel"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="editor.genmodel"

<?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="/GMF/src"
modelPluginID="GMF" modelName="Editor" importerID="org.eclipse.emf.importer.ecore"
complianceLevel="5.0" copyrightFields="false">
<foreignModel>editor.ecore</foreignModel>
<genPackages prefix="Editor" basePackage="org.ueml.uemlbase" disposableProviderFactory="true"
ecorePackage="editor.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//InstantiationLevel">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//InstantiationLevel/Type"/ >
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//InstantiationLevel/Instance "/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//BehaviourType">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//BehaviourType/Existence"/ >
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//BehaviourType/State"/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//BehaviourType/Transformation "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//BehaviourType/Process"/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//TypeOrValueOrNot">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//TypeOrValueOrNot/Represents_property_per_se "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//TypeOrValueOrNot/Represents_data_type "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//TypeOrValueOrNot/Represents_data_value "/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//IntrinsicOrMutual">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//IntrinsicOrMutual/Intrinsic "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//IntrinsicOrMutual/Binding_Mutual "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//IntrinsicOrMutual/Non_Binding_Mutual "/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//ResultantOrEmergent">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//ResultantOrEmergent/Resultant "/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//ResultantOrEmergent/Emergent "/>
</genEnums>
<genEnums typeSafeEnumCompatible="false" ecoreEnum="editor.ecore#//WholeOrPart">
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//WholeOrPart/Whole"/>
<genEnumLiterals ecoreEnumLiteral="editor.ecore#//WholeOrPart/Part"/>
</genEnums>
<genClasses ecoreClass="editor.ecore#//UpperDiagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/construct"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/diagram"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/language"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/classdiagram"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/propertydiagram"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/statediagram"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//UpperDiagramElement/transformationdiagram"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//ConstructNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/behaviourType"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/belongsToLanguage"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/constructName"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/describedBy"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/instantiationLevel"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/otherConstructNames"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/relatedConstructNames"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ConstructNode/relatedTerms"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/usedInDiagram"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RCN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RCPR"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RPN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RPSPR"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RSN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RSLN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RTN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ConstructNode/RTLN"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//DiagramTypeNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//DiagramTypeNode/diagramTypeName"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//DiagramTypeNode/definedByLanguage"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//DiagramTypeNode/usesConstruct"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//LanguageNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/languageAcronym"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/languageName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/languageVersion"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/otherOrganisations"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/otherReferences"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/otherURIs"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/primaryOrganisation"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/primaryReference"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//LanguageNode/primaryURI"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//LanguageNode/definesConstruct"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//LanguageNode/definesDiagramType"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//LanguageNode/representedLanguagePhenomenon"/ >
</genClasses>
<genClasses image="false" ecoreClass="editor.ecore#//RepresentedPhenomenon">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPhenomenon/alsoRepresentedBy"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//RepresentedPhenomenon/explanation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPhenomenon/describesConstruct"/>
</genClasses>
<genClasses image="false" ecoreClass="editor.ecore#//NamedRepresentedPhenomenon">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//NamedRepresentedPhenomenon/maxCardinality"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//NamedRepresentedPhenomenon/minCardinality"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//NamedRepresentedPhenomenon/roleName"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedClassNode">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedClassNode/relationToRepProperty"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedClassNode/represents"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedClassPropertyRelation ">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedClassPropertyRelation/repClass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedClassPropertyRelation/repProperty"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedClassPropertyRelation/represents"/ >
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedProperty">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedProperty/definingOfRepState"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//RepresentedProperty/isTypeOrValueOrNot"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedProperty/relationToRepClass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedProperty/relationToRepSubproperty"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedProperty/relationToRepSuperpropert y "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedProperty/represents"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedPropertyNode"/>
<genClasses ecoreClass="editor.ecore#//RepresentedPropertySubpropertyRelation ">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPropertySubpropertyRelation/repCla ssPropertyRelation "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPropertySubpropertyRelation/repSub property "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPropertySubpropertyRelation/repSup erproperty "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedPropertySubpropertyRelation/repres ents "/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedStateNode">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/containedByRepState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/containsRepState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/definedByRepProperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/entryRepTransformation"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/exitRepTransformation"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/restrictedByRepStateLaw"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateNode/represents"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedStateLaw">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedStateLaw/restrictsRepState"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedTransformationNode">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/containedByRepT ransformation "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/containsRepTran sformation "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/effectedByRepTr ansformationLaw "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/postRepState"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/preRepState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationNode/represents"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//RepresentedTransformationLaw">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//RepresentedTransformationLaw/effectsRepTransf ormation "/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//OntologyDiagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//OntologyDiagramElement/CN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//OntologyDiagramElement/CPR"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//OntologyDiagramElement/PN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//OntologyDiagramElement/SN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//OntologyDiagramElement/TN"/>
</genClasses>
<genClasses image="false" ecoreClass="editor.ecore#//OnthologyPhenomenon">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//OnthologyPhenomenon/description"/>
</genClasses>
<genClasses image="false" ecoreClass="editor.ecore#//NamedPhenomenon">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//NamedPhenomenon/name"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//ClassDiagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ClassDiagramElement/CN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//ClassDiagramElement/SCR"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//ClassDiagramElement/Label"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//ClassNode">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ClassNode/relationToSuperclass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ClassNode/relationToSubClass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ClassNode/relationToProperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//ClassNode/representedBy"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//Class_SubclassRelation">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_SubclassRelation/superclass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_SubclassRelation/subclass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_SubclassRelation/propertyRefinement"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//Class_PropertyRelation">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/isCharacteristic"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/classRoleName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/propertyRoleName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/classMinCardinality"/ >
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/classMaxCardinality"/ >
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/propertyMinCardinality "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/propertyMaxCardinality "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/isHoleOrPart"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/isIntrinsicOrMutual"/ >
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Class_PropertyRelation/isResultantOrEmergent"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_PropertyRelation/cls"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_PropertyRelation/property"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Class_PropertyRelation/representedBy"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//PropertyDagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//PropertyDagramElement/PN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//PropertyDagramElement/PRR"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//PropertyDagramElement/SPR"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//PropertyDagramElement/SLN"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//PropertyDagramElement/TLN"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//PropertyDagramElement/Label"/>
</genClasses>
<genClasses image="false" ecoreClass="editor.ecore#//Property">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/definingOfState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/precededBy"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/precedes"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/relationToClass"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/relationToSubproperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/relationToSuperproperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/relationToRefinementInto"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/relationToRefinementOf"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property/representedBy"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//PropertyNode"/>
<genClasses ecoreClass="editor.ecore#//Property_RefinementRelation">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_RefinementRelation/refinementOf"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_RefinementRelation/refinementInto"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_RefinementRelation/classSubclassRela tion "/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//Property_SubpropertyRelation">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/subRoleName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/superRoleName"/ >
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/subMinCardinalit y "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/subMaxCardinalit y "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/superMinCardinal ity "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//Property_SubpropertyRelation/superMaxCardinal ity "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_SubpropertyRelation/subproperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_SubpropertyRelation/superproperty"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//Property_SubpropertyRelation/representedBy"/ >
</genClasses>
<genClasses ecoreClass="editor.ecore#//StateDagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//StateDagramElement/SN"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//StateDagramElement/Label"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//StateNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//StateNode/stateConstraintExpression"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/definedByProperty"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/containsState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/containedByState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/restrictedByStateLaw"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/entryTransformation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/exitTransformation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateNode/representedBy"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//StateLawNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//StateLawNode/stateLawExpression"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//StateLawNode/restrictsState"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//TransformationDagramElement">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationDagramElement/TN"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//TransformationDagramElement/Label"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//TransformationNode">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//TransformationNode/transformationActionExpres sion "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//TransformationNode/transformationConditionExp ression "/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//TransformationNode/transformationTriggerExpre ssion "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/preState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/postState"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/containsTransformation"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/containedByTransformation"/ >
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/effectedByTransformationLa w "/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationNode/representedBy"/>
</genClasses>
<genClasses ecoreClass="editor.ecore#//TransformationLawNode">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference editor.ecore#//TransformationLawNode/effectsTransformation"/ >
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute editor.ecore#//TransformationLawNode/transformationLawExpres sion "/>
</genClasses>
</genPackages>
</genmodel:GenModel>

--------------040400020904090704080603
Content-Type: text/xml;
name="Upper.gmfgen"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="Upper.gmfgen"

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<gmfgen:GenEditorGenerator xmi:version=3D"2.0"
xmlns:xmi=3D"http://www.omg.org/XMI"
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmfgen=3D"http://www.eclipse.org/gmf/2006/GenModel" modelID=3D"=
Construct"
domainFileExtension=3D"construct">
<diagram
visualID=3D"1000"
editPartClassName=3D"UpperDiagramElementEditPart"
itemSemanticEditPolicyClassName=3D"UpperDiagramElementItemSemanticE=
ditPolicy"
notationViewFactoryClassName=3D"UpperDiagramElementViewFactory "
canonicalEditPolicyClassName=3D"UpperDiagramElementCanonicalEditPol=
icy"
iconProviderPriority=3D"Low"
validationProviderPriority=3D"Low">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/model/no=
tation.genmodel#//notation/Diagram"/>
<elementType
xsi:type=3D"gmfgen:MetamodelType"
editHelperClassName=3D"UpperDiagramElementEditHelper"/>
<viewmap
xsi:type=3D"gmfgen:FigureViewmap"
figureQualifiedClassName=3D"org.eclipse.draw2d.FreeformLayer "/>
<domainDiagramElement
href=3D"editor.genmodel#//editor/UpperDiagramElement"/>
<topLevelNodes
visualID=3D"2001"
editPartClassName=3D"DiagramTypeNodeEditPart"
itemSemanticEditPolicyClassName=3D"DiagramTypeNodeItemSemanticEdi=
tPolicy"
notationViewFactoryClassName=3D"DiagramTypeNodeViewFactory"
canonicalEditPolicyClassName=3D"DiagramTypeNodeCanonicalEditPolic=
y"
graphicalNodeEditPolicyClassName=3D"DiagramTypeNodeGraphicalNodeE=
ditPolicy"
createCommandClassName=3D"DiagramTypeNodeCreateCommand">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/model/=
notation.genmodel#//notation/Node"/>
<elementType
xsi:type=3D"gmfgen:MetamodelType"
editHelperClassName=3D"DiagramTypeNodeEditHelper"/>
<viewmap
xsi:type=3D"gmfgen:InnerClassViewmap"
layoutType=3D"FLOW_LAYOUT"
className=3D"DiagramTypeNodeFigure"
classBody=3D"&#xA;/**&#xA; * @generated&#xA; */&#xA;public clas=
s DiagramTypeNodeFigure extends org.eclipse.draw2d.RectangleFigure {&#xA;=
&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private o=
rg.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureDiagramTypeNode=
DiagramTypeNameFigure; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA=
;&#x9; */&#xA;&#x9;public DiagramTypeNodeFigure() {&#xA;&#x9;&#x9;&#xA;&#=
xA;&#x9;org.eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw=
2d.FlowLayout();&#xA;&#x9;layoutThis.setStretchMinor Axis(false);&#xA;&#x9=
;layoutThis.setMinorAlignment(org.eclipse.draw2d.FlowLayout. ALIGN_LEFTTOP=
&#xA;);&#xA;&#xA;&#x9;layoutThis.setMajorAli gnment(org.eclipse.draw2d.Flo=
wLayout.ALIGN_LEFTTOP&#xA;);&#xA;&#x9;layoutThis .setMajorSpacing(5);&#xA;=
&#x9;layoutThis.setMinorSpacing(5);&#xA;&#x9;lay outThis.setHorizontal(tru=
e);&#xA;&#xA;&#x9;this.setLayoutManager(layoutTh is);&#xA;&#xA;&#x9;&#x9;&=
#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&a mp;#x9;/**&#xA;&#x9; * @generated=
&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigu=
reDiagramTypeNodeDiagramTypeNameFigure =3D new org.eclipse.gmf.runtime.dr=
aw2d.ui.figures.WrapLabel();&#xA;fFigureDiagramTypeNodeD iagramTypeNameFig=
ure.setText(&quot;&lt;...> &quot;);&#xA;&#xA;this.add(fFigureDiagramTypeNo=
deDiagramTypeNameFigure);&#xA;&#xA;&#xA;&#x9 ;}&#xA;&#xA;&#xA;&#xA;&#xA;&#=
x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUse=
LocalCoordinates =3D false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;=
&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9=
;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;& amp;#x9;/**&#xA;&#x9; * @=
generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boo=
lean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates =3D useLo=
calCoordinates;&#xA;&#x9;}&#xA;&#xA;&#xA ;&#xA;&#x9;/**&#xA;&#x9; * @gener=
ated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figur=
es.WrapLabel getFigureDiagramTypeNodeDiagramTypeNameFigure() {&#xA;&#x9;&=
#x9;return fFigureDiagramTypeNodeDiagramTypeNameFigure;&#xA;&#x 9;}&#xA;&#=
xA;&#xA;}&#xA;&#xA;">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPlu=
ginIDs>
</viewmap>
<modelFacet>
<metaClass
href=3D"editor.genmodel#//editor/DiagramTypeNode"/>
<containmentMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/diagram "=
/>
<childMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/diagram "=
/>
</modelFacet>
<labels
visualID=3D"5001"
editPartClassName=3D"DiagramTypeNodeDiagramTypeNameEditPart "
itemSemanticEditPolicyClassName=3D"DiagramTypeNodeDiagramTypeNa=
meItemSemanticEditPolicy"
notationViewFactoryClassName=3D"DiagramTypeNodeDiagramTypeNameV=
iewFactory"
elementIcon=3D"true">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/mode=
l/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type=3D"gmfgen:ParentAssignedViewmap"
getterName=3D"getFigureDiagramTypeNodeDiagramTypeNameFigure "
figureQualifiedClassName=3D"org.eclipse.gmf.runtime.draw2d.ui=
=2Efigures.WrapLabel"/>
<modelFacet
xsi:type=3D"gmfgen:FeatureLabelModelFacet">
<metaFeatures
href=3D"editor.genmodel#//editor/DiagramTypeNode/diagramTyp=
eName"/>
</modelFacet>
</labels>
</topLevelNodes>
<topLevelNodes
visualID=3D"2002"
editPartClassName=3D"LanguageNodeEditPart"
itemSemanticEditPolicyClassName=3D"LanguageNodeItemSemanticEditPo=
licy"
notationViewFactoryClassName=3D"LanguageNodeViewFactory"
canonicalEditPolicyClassName=3D"LanguageNodeCanonicalEditPolicy "
graphicalNodeEditPolicyClassName=3D"LanguageNodeGraphicalNodeEdit=
Policy"
createCommandClassName=3D"LanguageNodeCreateCommand">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/model/=
notation.genmodel#//notation/Node"/>
<elementType
xsi:type=3D"gmfgen:MetamodelType"
editHelperClassName=3D"LanguageNodeEditHelper"/>
<viewmap
xsi:type=3D"gmfgen:InnerClassViewmap"
layoutType=3D"FLOW_LAYOUT"
className=3D"LanguageNodeFigure"
classBody=3D"&#xA;/**&#xA; * @generated&#xA; */&#xA;public clas=
s LanguageNodeFigure extends org.eclipse.draw2d.RectangleFigure {&#xA;&#x=
A;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.=
eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureLanguageNodeLangua=
geNameFigure; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */=
&#xA;&#x9;public LanguageNodeFigure() {&#xA;&#x9;&#x9;&#xA;&#xA;&#x9;org.=
eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw2d.FlowLayou=
t();&#xA;&#x9;layoutThis.setStretchMinorAxis(false); &#xA;&#x9;layoutThis.=
setMinorAlignment(org.eclipse.draw2d.FlowLayout.ALIGN_LEFTTO P&#xA;);&#xA;=
&#xA;&#x9;layoutThis.setMajorAlignment(org.eclipse.d raw2d.FlowLayout.ALIG=
N_LEFTTOP&#xA;);&#xA;&#x9;layoutThis.setMajorSpa cing(5);&#xA;&#x9;layoutT=
his.setMinorSpacing(5);&#xA;&#x9;layoutThis.setHoriz ontal(true);&#xA;&#xA=
;&#x9;this.setLayoutManager(layoutThis);&#xA;&#x A;&#x9;&#x9;&#x9;&#x9;cre=
ateContents();&#xA;&#x9;}&#xA;&#x9;/**&# xA;&#x9; * @generated&#xA;&#x9; *=
/&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureLanguageN o=
deLanguageNameFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.figures.Wr=
apLabel();&#xA;fFigureLanguageNodeLanguageNameFigure.set Text(&quot;&lt;..=
=2E> &quot;);&#xA;&#xA;this.add(fFigureLanguageNodeLa nguageNameFigure);&#x=
A;&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&am p;#xA;&#xA;&#x9;/**&#xA;&#x9; * @generate=
d&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates =3D false;&=
#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected =
boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinate=
s;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA; &#x9; * @generated&#xA;&#x9; */&#xA;&=
#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&=
#xA;&#x9;&#x9;myUseLocalCoordinates =3D useLocalCoordinates;&#xA;&#x9;}&#=
xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;p=
ublic org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureLangua=
geNodeLanguageNameFigure() {&#xA;&#x9;&#x9;return fFigureLanguageNodeLang=
uageNameFigure;&#xA;&#x9;}&#xA;&#xA;&#xA ;}&#xA;&#xA; ">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPlu=
ginIDs>
</viewmap>
<modelFacet>
<metaClass
href=3D"editor.genmodel#//editor/LanguageNode"/>
<containmentMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/language=
"/>
<childMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/language=
"/>
</modelFacet>
<labels
visualID=3D"5002"
editPartClassName=3D"LanguageNodeLanguageNameEditPart"
itemSemanticEditPolicyClassName=3D"LanguageNodeLanguageNameItem=
SemanticEditPolicy"
notationViewFactoryClassName=3D"LanguageNodeLanguageNameViewFac=
tory"
elementIcon=3D"true">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/mode=
l/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type=3D"gmfgen:ParentAssignedViewmap"
getterName=3D"getFigureLanguageNodeLanguageNameFigure"
figureQualifiedClassName=3D"org.eclipse.gmf.runtime.draw2d.ui=
=2Efigures.WrapLabel"/>
<modelFacet
xsi:type=3D"gmfgen:FeatureLabelModelFacet">
<metaFeatures
href=3D"editor.genmodel#//editor/LanguageNode/languageName"=
/>
</modelFacet>
</labels>
</topLevelNodes>
<topLevelNodes
visualID=3D"2003"
editPartClassName=3D"ConstructNodeEditPart"
itemSemanticEditPolicyClassName=3D"ConstructNodeItemSemanticEditP=
olicy"
notationViewFactoryClassName=3D"ConstructNodeViewFactory"
canonicalEditPolicyClassName=3D"ConstructNodeCanonicalEditPolicy "=

graphicalNodeEditPolicyClassName=3D"ConstructNodeGraphicalNodeEdi=
tPolicy"
createCommandClassName=3D"ConstructNodeCreateCommand">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/model/=
notation.genmodel#//notation/Node"/>
<elementType
xsi:type=3D"gmfgen:MetamodelType"
editHelperClassName=3D"ConstructNodeEditHelper"/>
<viewmap
xsi:type=3D"gmfgen:InnerClassViewmap"
layoutType=3D"FLOW_LAYOUT"
className=3D"ConstructNodeFigure"
classBody=3D"&#xA;/**&#xA; * @generated&#xA; */&#xA;public clas=
s ConstructNodeFigure extends org.eclipse.draw2d.RectangleFigure {&#xA;&#=
xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org=
=2Eeclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureConstructNodeCo=
nstructNameFigure; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x=
9; */&#xA;&#x9;public ConstructNodeFigure() {&#xA;&#x9;&#x9;&#xA;&#xA;&#x=
9;org.eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw2d.Flo=
wLayout();&#xA;&#x9;layoutThis.setStretchMinorAxis(f alse);&#xA;&#x9;layou=
tThis.setMinorAlignment(org.eclipse.draw2d.FlowLayout.ALIGN_ LEFTTOP&#xA;)=
;&#xA;&#xA;&#x9;layoutThis.setMajorAlignment(org .eclipse.draw2d.FlowLayou=
t.ALIGN_LEFTTOP&#xA;);&#xA;&#x9;layoutThis.setMa jorSpacing(5);&#xA;&#x9;l=
ayoutThis.setMinorSpacing(5);&#xA;&#x9;layoutThis.se tHorizontal(true);&#x=
A;&#xA;&#x9;this.setLayoutManager(layoutThis);&# xA;&#xA;&#x9;&#x9;&#x9;&#=
x9;createContents();&#xA;&#x9;}&#xA;&#x9;/** &#xA;&#x9; * @generated&#xA;&=
#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureCons=
tructNodeConstructNameFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.fi=
gures.WrapLabel();&#xA;fFigureConstructNodeConstructName Figure.setText(&q=
uot;&lt;...> &quot;);&#xA;&#xA;this.add(fFigureConstructNodeC onstructNameF=
igure);&#xA;&#xA;&#xA;&#x9;}&#xA;&#x A;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; *=
@generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates =3D=
false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;pr=
otected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCo=
ordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**& amp;#xA;&#x9; * @generated&#xA;&#x9; =
*/&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordin=
ates) {&#xA;&#x9;&#x9;myUseLocalCoordinates =3D useLocalCoordinates;&#xA;=
&#x9;}&#xA;&#xA;&#xA;&#xA;&#x9;/**&a mp;#xA;&#x9; * @generated&#xA;&#x9; */&#x=
A;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigu=
reConstructNodeConstructNameFigure() {&#xA;&#x9;&#x9;return fFigureConstr=
uctNodeConstructNameFigure;&#xA;&#x9;}&#xA;& #xA;&#xA;}&#xA;&#xA; ">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPlu=
ginIDs>
</viewmap>
<behaviour
xsi:type=3D"gmfgen:OpenDiagramBehaviour"
diagramKind=3D"Represented"
editorID=3D"org.ueml.uemlbase.editor.diagram.part.RepresentedDi=
agramEditorID"/>
<modelFacet>
<metaClass
href=3D"editor.genmodel#//editor/ConstructNode"/>
<containmentMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/construc=
t"/>
<childMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/construc=
t"/>
</modelFacet>
<labels
visualID=3D"5003"
editPartClassName=3D"ConstructNodeConstructNameEditPart"
itemSemanticEditPolicyClassName=3D"ConstructNodeConstructNameIt=
emSemanticEditPolicy"
notationViewFactoryClassName=3D"ConstructNodeConstructNameViewF=
actory"
elementIcon=3D"true">
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/mode=
l/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type=3D"gmfgen:ParentAssignedViewmap"
getterName=3D"getFigureConstructNodeConstructNameFigure"
figureQualifiedClassName=3D"org.eclipse.gmf.runtime.draw2d.ui=
=2Efigures.WrapLabel"/>
<modelFacet
xsi:type=3D"gmfgen:FeatureLabelModelFacet">
<metaFeatures
href=3D"editor.genmodel#//editor/ConstructNode/constructNam=
e"/>
</modelFacet>
</labels>
</topLevelNodes>
<topLevelNodes
visualID=3D"2004"
editPartClassName=3D"ClassDiagramElementEditPart"
itemSemanticEditPolicyClassName=3D"ClassDiagramElementItemSemanti=
cEditPolicy"
notationViewFactoryClassName=3D"ClassDiagramElementViewFactory "
canonicalEditPolicyClassName=3D"ClassDiagramElementCanonicalEditP=
olicy"
graphicalNodeEditPolicyClassName=3D"ClassDiagramElementGraphicalN=
odeEditPolicy"
createCommandClassName=3D"ClassDiagramElementCreateCommand" >
<diagramRunTimeClass
href=3D"../../../plugin/org.eclipse.gmf.runtime.notation/model/=
notation.genmodel#//notation/Node"/>
<elementType
xsi:type=3D"gmfgen:MetamodelType"
editHelperClassName=3D"ClassDiagramElementEditHelper"/>
<viewmap
xsi:type=3D"gmfgen:InnerClassViewmap"
className=3D"ClassDiagramElementFigure"
classBody=3D"&#xA;/**&#xA; * @generated&#xA; */&#xA;public clas=
s ClassDiagramElementFigure extends org.eclipse.draw2d.RoundedRectangle {=
&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;priv=
ate org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureClassDiagr=
amElementLabelFigure; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;=
&#x9; */&#xA;&#x9;public ClassDiagramElementFigure() {&#xA;&#x9;&#x9;&#xA=
;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());&#xA;&#x9;&#=
x9;this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(get=
MapMode().DPtoLP(10)&#xA;, getMapMode().DPtoLP(10)&#xA;));&#xA;&#x9;&#x 9;=
createContents();&#xA;&#x9;}&#xA;&#x9;/**&am p;#xA;&#x9; * @generated&#xA;&#x9=
; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureClassDi=
agramElementLabelFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.figures=
=2EWrapLabel();&#xA;fFigureClassDiagramElementLabelFigur e.setText(&quot;&=
lt;...> &quot;);&#xA;&#xA;this.add(fFigureClassDiagramEl ementLabelFigure);=
&#xA;&#xA;&#xA;&#x9;}&#xA;&#xA;& #xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @gener=
ated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates =3D fals=
e;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protect=
ed boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordin=
ates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&# xA;&#x9; * @generated&#xA;&#x9; */&#x=
A;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates)=
{&#xA;&#x9;&#x9;myUseLocalCoordinates =3D useLocalCoordinates;&#xA;&#x9;=
}&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&a mp;#x9; * @generated&#xA;&#x9; */&#xA;&#x=
9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureCla=
ssDiagramElementLabelFigure() {&#xA;&#x9;&#x9;return fFigureClassDiagramE=
lementLabelFigure;&#xA;&#x9;}&#xA;&#xA;& #xA;}&#xA;&#xA; ">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPlu=
ginIDs>
</viewmap>
<behaviour
xsi:type=3D"gmfgen:OpenDiagramBehaviour"
diagramKind=3D"Class"
editorID=3D"org.ueml.uemlbase.editor.diagram.part.ClassDiagramE=
ditorID"/>
<modelFacet>
<metaClass
href=3D"editor.genmodel#//editor/ClassDiagramElement"/>
<containmentMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/classdia=
gram"/>
<childMetaFeature
href=3D"editor.genmodel#//editor/UpperDiagramElement/classdia=
gram"/>
</modelFacet>
<labels
visualID=3D"5004"
editPartClassName=3D"ClassDiagramElementLabelEditPart"
itemSemanticEditPolicyClassName=3D"ClassDiagramElementLabelItem=
SemanticEditPolicy"
notationViewFactoryClassName=3D"ClassDiagramElementLabelViewFac=
tory"
elementIcon=3D"true">
<diagramRunTimeClass
href=3D&
Re: Diagram Partitioning: Multiple subdiagrams [message #165137 is a reply to message #165128] Tue, 11 December 2007 19:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hali.gmail.com

Hello,

The .ecore and other files is also needed to see the editor
(give your e-mail, then you can send it)

regards,
Hali
Re: Diagram Partitioning: Multiple subdiagrams [message #165191 is a reply to message #165137] Wed, 12 December 2007 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hali wrote:

> (give your e-mail, then you can send it)
>
My email is tzi063 at student.uib.no

(I tried emailing you, but it failed)


Thanks again for helping :)

Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165668 is a reply to message #165023] Mon, 17 December 2007 15:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

I still haven't figured this out. Maybe someone got a working example ?
(of diagram partitioning with more than one sub diagram)

Any help appreciated!


Best Regards,

Tomas Zijdemans


Tomas Zijdemans wrote:
> Hi!
>
> I've implemented diagram partitioning. But now I want to have another
> subdiagram of my superdiagram. After I set it up, only the old
> subdiagram works - not the new one.
>
> Super diagram:
> Node A (opens subdiagram1) = works
> Node B (opens subdiagram2) = does not function
>
>
> I've tried changing the name of the edit policy. Any help appreciated!
>
>
> Best Regards,
>
> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165676 is a reply to message #165668] Mon, 17 December 2007 16:07 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hi Thomas,

perhaps the information mentioned at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203768 helps you.

Greetings,

Axel


Tomas Zijdemans schrieb:
> I still haven't figured this out. Maybe someone got a working example ?
> (of diagram partitioning with more than one sub diagram)
>
> Any help appreciated!
>
>
> Best Regards,
>
> Tomas Zijdemans
>
>
> Tomas Zijdemans wrote:
>> Hi!
>>
>> I've implemented diagram partitioning. But now I want to have another
>> subdiagram of my superdiagram. After I set it up, only the old
>> subdiagram works - not the new one.
>>
>> Super diagram:
>> Node A (opens subdiagram1) = works
>> Node B (opens subdiagram2) = does not function
>>
>>
>> I've tried changing the name of the edit policy. Any help appreciated!
>>
>>
>> Best Regards,
>>
>> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165697 is a reply to message #165676] Mon, 17 December 2007 18:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Thanks!

This looks promising.


Regards,

Tomas Zijdemans


Axel Guckelsberger wrote:
> Hi Thomas,
>
> perhaps the information mentioned at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203768 helps you.
>
> Greetings,
>
> Axel
>
>
> Tomas Zijdemans schrieb:
>> I still haven't figured this out. Maybe someone got a working example ?
>> (of diagram partitioning with more than one sub diagram)
>>
>> Any help appreciated!
>>
>>
>> Best Regards,
>>
>> Tomas Zijdemans
>>
>>
>> Tomas Zijdemans wrote:
>>> Hi!
>>>
>>> I've implemented diagram partitioning. But now I want to have another
>>> subdiagram of my superdiagram. After I set it up, only the old
>>> subdiagram works - not the new one.
>>>
>>> Super diagram:
>>> Node A (opens subdiagram1) = works
>>> Node B (opens subdiagram2) = does not function
>>>
>>>
>>> I've tried changing the name of the edit policy. Any help appreciated!
>>>
>>>
>>> Best Regards,
>>>
>>> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #165860 is a reply to message #165676] Wed, 19 December 2007 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi Axel.

I see this worked for you, so I thought I might ask about my problems.

I changed the "Edit Policy Class Name" of the second subdiagrams "Open
Diagram Behavior" to "OpenXYZDiagramEditPolicy" (from
"OpenDiagramEditPolicy"), and then regenerated diagram code from it. A
new class gets created and everything looks correct in it.

However, the behavior doesn't work. Did I miss anything?


Best Regards,

Tomas Zijdemans


Axel Guckelsberger wrote:
> Hi Thomas,
>
> perhaps the information mentioned at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203768 helps you.
>
> Greetings,
>
> Axel
>
>
> Tomas Zijdemans schrieb:
>> I still haven't figured this out. Maybe someone got a working example ?
>> (of diagram partitioning with more than one sub diagram)
>>
>> Any help appreciated!
>>
>>
>> Best Regards,
>>
>> Tomas Zijdemans
>>
>>
>> Tomas Zijdemans wrote:
>>> Hi!
>>>
>>> I've implemented diagram partitioning. But now I want to have another
>>> subdiagram of my superdiagram. After I set it up, only the old
>>> subdiagram works - not the new one.
>>>
>>> Super diagram:
>>> Node A (opens subdiagram1) = works
>>> Node B (opens subdiagram2) = does not function
>>>
>>>
>>> I've tried changing the name of the edit policy. Any help appreciated!
>>>
>>>
>>> Best Regards,
>>>
>>> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #168136 is a reply to message #165860] Tue, 15 January 2008 08:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Diagram partitioning is truly a strange and challenging subject.

I managed to create 4 subdiagrams from the same superdiagram (I think I
got it to work because I changed Domain Gen Model for the subdiagrams)

But now I'm trying to make subdiagrams from the subdiagrams, and those
just don't work (using every trick I know of)

Does anyone know if it's even possible with 3 levels of diagram? Or any
other suggestions?

Regards,
Tomas Zijdemans


Tomas Zijdemans wrote:
> Hi Axel.
>
> I see this worked for you, so I thought I might ask about my problems.
>
> I changed the "Edit Policy Class Name" of the second subdiagrams "Open
> Diagram Behavior" to "OpenXYZDiagramEditPolicy" (from
> "OpenDiagramEditPolicy"), and then regenerated diagram code from it. A
> new class gets created and everything looks correct in it.
>
> However, the behavior doesn't work. Did I miss anything?
>
>
> Best Regards,
>
> Tomas Zijdemans
>
>
> Axel Guckelsberger wrote:
>> Hi Thomas,
>>
>> perhaps the information mentioned at
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203768 helps you.
>>
>> Greetings,
>>
>> Axel
>>
>>
>> Tomas Zijdemans schrieb:
>>> I still haven't figured this out. Maybe someone got a working example ?
>>> (of diagram partitioning with more than one sub diagram)
>>>
>>> Any help appreciated!
>>>
>>>
>>> Best Regards,
>>>
>>> Tomas Zijdemans
>>>
>>>
>>> Tomas Zijdemans wrote:
>>>> Hi!
>>>>
>>>> I've implemented diagram partitioning. But now I want to have another
>>>> subdiagram of my superdiagram. After I set it up, only the old
>>>> subdiagram works - not the new one.
>>>>
>>>> Super diagram:
>>>> Node A (opens subdiagram1) = works
>>>> Node B (opens subdiagram2) = does not function
>>>>
>>>>
>>>> I've tried changing the name of the edit policy. Any help appreciated!
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #168417 is a reply to message #168136] Wed, 16 January 2008 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

I've tried using trace files and changing visualID's to make sure they
are unique. Still, nothing happens when I doubleclick.

I don't even know where to start debugging, are there any experienced
diagram partitioners out there?


SOS!

Tomas Zijdemans


Tomas Zijdemans wrote:
> Diagram partitioning is truly a strange and challenging subject.
>
> I managed to create 4 subdiagrams from the same superdiagram (I think I
> got it to work because I changed Domain Gen Model for the subdiagrams)
>
> But now I'm trying to make subdiagrams from the subdiagrams, and those
> just don't work (using every trick I know of)
>
> Does anyone know if it's even possible with 3 levels of diagram? Or any
> other suggestions?
>
> Regards,
> Tomas Zijdemans
>
>
> Tomas Zijdemans wrote:
>> Hi Axel.
>>
>> I see this worked for you, so I thought I might ask about my problems.
>>
>> I changed the "Edit Policy Class Name" of the second subdiagrams "Open
>> Diagram Behavior" to "OpenXYZDiagramEditPolicy" (from
>> "OpenDiagramEditPolicy"), and then regenerated diagram code from it. A
>> new class gets created and everything looks correct in it.
>>
>> However, the behavior doesn't work. Did I miss anything?
>>
>>
>> Best Regards,
>>
>> Tomas Zijdemans
>>
>>
>> Axel Guckelsberger wrote:
>>> Hi Thomas,
>>>
>>> perhaps the information mentioned at
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=203768 helps you.
>>>
>>> Greetings,
>>>
>>> Axel
>>>
>>>
>>> Tomas Zijdemans schrieb:
>>>> I still haven't figured this out. Maybe someone got a working example ?
>>>> (of diagram partitioning with more than one sub diagram)
>>>>
>>>> Any help appreciated!
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Tomas Zijdemans
>>>>
>>>>
>>>> Tomas Zijdemans wrote:
>>>>> Hi!
>>>>>
>>>>> I've implemented diagram partitioning. But now I want to have another
>>>>> subdiagram of my superdiagram. After I set it up, only the old
>>>>> subdiagram works - not the new one.
>>>>>
>>>>> Super diagram:
>>>>> Node A (opens subdiagram1) = works
>>>>> Node B (opens subdiagram2) = does not function
>>>>>
>>>>>
>>>>> I've tried changing the name of the edit policy. Any help appreciated!
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Tomas Zijdemans
Re: Diagram Partitioning: Multiple subdiagrams [message #169145 is a reply to message #168417] Mon, 21 January 2008 18:11 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Tomas,

Well, it's easy - put a breakpoint into the generated OpenDiagramEditPolicy.getOpenCommand().
This EditPolicy is responsible for openning subdiagrams. You can easily trace
where this EditPolicy is installed and all you need (AFAIU) is to modify
this EditPolicy in accordance by entering custom code there.

-----------------
Alex Shatalin
Previous Topic:A question about the selection.
Next Topic:How can modify I the cell editor of the property view in GMF?
Goto Forum:
  


Current Time: Wed Apr 24 20:23:06 GMT 2024

Powered by FUDForum. Page generated in 0.03983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top