Diagram Partitioning: Multiple subdiagrams [message #165023] |
Tue, 11 December 2007 12:03 |
Eclipse User |
|
|
|
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 #165067 is a reply to message #165060] |
Tue, 11 December 2007 14:12 |
Eclipse User |
|
|
|
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 #165128 is a reply to message #165080] |
Tue, 11 December 2007 19:20 |
Eclipse User |
|
|
|
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"
/**
 * @generated
 */
public clas=
s DiagramTypeNodeFigure extends org.eclipse.draw2d.RectangleFigure {
=


	/**
	 * @generated
	 */
	private o=
rg.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureDiagramTypeNode=
DiagramTypeNameFigure; 


	/**
	 * @generated
=
;	 */
	public DiagramTypeNodeFigure() {
		
&#=
xA;	org.eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw=
2d.FlowLayout();
	layoutThis.setStretchMinor Axis(false);
	=
;layoutThis.setMinorAlignment(org.eclipse.draw2d.FlowLayout. ALIGN_LEFTTOP=

);

	layoutThis.setMajorAli gnment(org.eclipse.draw2d.Flo=
wLayout.ALIGN_LEFTTOP
);
	layoutThis .setMajorSpacing(5);
=
	layoutThis.setMinorSpacing(5);
	lay outThis.setHorizontal(tru=
e);

	this.setLayoutManager(layoutTh is);

		&=
#x9;	createContents();
	}
&a mp;#x9;/**
	 * @generated=

	 */
	private void createContents(){


fFigu=
reDiagramTypeNodeDiagramTypeNameFigure =3D new org.eclipse.gmf.runtime.dr=
aw2d.ui.figures.WrapLabel();
fFigureDiagramTypeNodeD iagramTypeNameFig=
ure.setText("<...> ");

this.add(fFigureDiagramTypeNo=
deDiagramTypeNameFigure);


	 ;}




&#=
x9;/**
	 * @generated
	 */
	private boolean myUse=
LocalCoordinates =3D false;

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

& amp;#x9;/**
	 * @=
generated
	 */
	protected void setUseLocalCoordinates(boo=
lean useLocalCoordinates) {
		myUseLocalCoordinates =3D useLo=
calCoordinates;
	}


 ;
	/**
	 * @gener=
ated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figur=
es.WrapLabel getFigureDiagramTypeNodeDiagramTypeNameFigure() {
	&=
#x9;return fFigureDiagramTypeNodeDiagramTypeNameFigure;
&#x 9;}
&#=
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"
/**
 * @generated
 */
public clas=
s LanguageNodeFigure extends org.eclipse.draw2d.RectangleFigure {
&#x=
A;
	/**
	 * @generated
	 */
	private org.=
eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureLanguageNodeLangua=
geNameFigure; 


	/**
	 * @generated
	 */=

	public LanguageNodeFigure() {
		

	org.=
eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw2d.FlowLayou=
t();
	layoutThis.setStretchMinorAxis(false); 
	layoutThis.=
setMinorAlignment(org.eclipse.draw2d.FlowLayout.ALIGN_LEFTTO P
);
=

	layoutThis.setMajorAlignment(org.eclipse.d raw2d.FlowLayout.ALIG=
N_LEFTTOP
);
	layoutThis.setMajorSpa cing(5);
	layoutT=
his.setMinorSpacing(5);
	layoutThis.setHoriz ontal(true);

=
;	this.setLayoutManager(layoutThis);
&#x A;				cre=
ateContents();
	}
	/**&# xA;	 * @generated
	 *=
/
	private void createContents(){


fFigureLanguageN o=
deLanguageNameFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.figures.Wr=
apLabel();
fFigureLanguageNodeLanguageNameFigure.set Text("<..=
=2E> ");

this.add(fFigureLanguageNodeLa nguageNameFigure);&#x=
A;

	}


&am p;#xA;
	/**
	 * @generate=
d
	 */
	private boolean myUseLocalCoordinates =3D false;&=
#xA;
	/**
	 * @generated
	 */
	protected =
boolean useLocalCoordinates() {
		return myUseLocalCoordinate=
s;
	}

	/**
 	 * @generated
	 */
&=
#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&=
#xA;		myUseLocalCoordinates =3D useLocalCoordinates;
	}&#=
xA;


	/**
	 * @generated
	 */
	p=
ublic org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureLangua=
geNodeLanguageNameFigure() {
		return fFigureLanguageNodeLang=
uageNameFigure;
	}


 ;}

 ">
<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"
/**
 * @generated
 */
public clas=
s ConstructNodeFigure extends org.eclipse.draw2d.RectangleFigure {
&#=
xA;
	/**
	 * @generated
	 */
	private org=
=2Eeclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureConstructNodeCo=
nstructNameFigure; 


	/**
	 * @generated
&#x=
9; */
	public ConstructNodeFigure() {
		

&#x=
9;org.eclipse.draw2d.FlowLayout layoutThis =3D new org.eclipse.draw2d.Flo=
wLayout();
	layoutThis.setStretchMinorAxis(f alse);
	layou=
tThis.setMinorAlignment(org.eclipse.draw2d.FlowLayout.ALIGN_ LEFTTOP
)=
;

	layoutThis.setMajorAlignment(org .eclipse.draw2d.FlowLayou=
t.ALIGN_LEFTTOP
);
	layoutThis.setMa jorSpacing(5);
	l=
ayoutThis.setMinorSpacing(5);
	layoutThis.se tHorizontal(true);&#x=
A;
	this.setLayoutManager(layoutThis);&# xA;
			&#=
x9;createContents();
	}
	/** 
	 * @generated
&=
#x9; */
	private void createContents(){


fFigureCons=
tructNodeConstructNameFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.fi=
gures.WrapLabel();
fFigureConstructNodeConstructName Figure.setText(&q=
uot;<...> ");

this.add(fFigureConstructNodeC onstructNameF=
igure);


	}
&#x A;


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

	/**
	 * @generated
	 */
	pr=
otected boolean useLocalCoordinates() {
		return myUseLocalCo=
ordinates;
	}

	/**& amp;#xA;	 * @generated
	 =
*/
	protected void setUseLocalCoordinates(boolean useLocalCoordin=
ates) {
		myUseLocalCoordinates =3D useLocalCoordinates;
=
	}



	/**&a mp;#xA;	 * @generated
	 */&#x=
A;	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigu=
reConstructNodeConstructNameFigure() {
		return fFigureConstr=
uctNodeConstructNameFigure;
	}
& #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"
/**
 * @generated
 */
public clas=
s ClassDiagramElementFigure extends org.eclipse.draw2d.RoundedRectangle {=



	/**
	 * @generated
	 */
	priv=
ate org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fFigureClassDiagr=
amElementLabelFigure; 


	/**
	 * @generated
=
	 */
	public ClassDiagramElementFigure() {
		
=
;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());
	&#=
x9;this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(get=
MapMode().DPtoLP(10)
, getMapMode().DPtoLP(10)
));
	&#x 9;=
createContents();
	}
	/**&am p;#xA;	 * @generated
	=
; */
	private void createContents(){


fFigureClassDi=
agramElementLabelFigure =3D new org.eclipse.gmf.runtime.draw2d.ui.figures=
=2EWrapLabel();
fFigureClassDiagramElementLabelFigur e.setText("&=
lt;...> ");

this.add(fFigureClassDiagramEl ementLabelFigure);=



	}

& #xA;

	/**
	 * @gener=
ated
	 */
	private boolean myUseLocalCoordinates =3D fals=
e;

	/**
	 * @generated
	 */
	protect=
ed boolean useLocalCoordinates() {
		return myUseLocalCoordin=
ates;
	}

	/**&# xA;	 * @generated
	 */&#x=
A;	protected void setUseLocalCoordinates(boolean useLocalCoordinates)=
{
		myUseLocalCoordinates =3D useLocalCoordinates;
	=
}



	/**
&a mp;#x9; * @generated
	 */
&#x=
9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureCla=
ssDiagramElementLabelFigure() {
		return fFigureClassDiagramE=
lementLabelFigure;
	}

& #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 #165668 is a reply to message #165023] |
Mon, 17 December 2007 15:48 |
Eclipse User |
|
|
|
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 #165697 is a reply to message #165676] |
Mon, 17 December 2007 18:58 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03983 seconds