ClassCastException 'Compartment Mapping' [message #56453] |
Wed, 27 September 2006 14:27  |
Eclipse User |
|
|
|
Originally posted by: markus.musil.chello.at
Hi GMF-Community,
I need some help. I tried to make a compartment where I can put a
customized figure in.
I thought I've done everything right, but if I try to generate the
genmodel I'm getting the following error message:
java.lang.ClassCastException: org.eclipse.gmf.gmfgraph.impl.NodeImpl
at
org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.getComp artment(CompartmentMappingImpl.java:88)
at
org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.eGet(Co mpartmentMappingImpl.java:193)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:594)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:586)
at
org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext(EContentsEList.java:416)
at
org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryPr oxyResolves(EObjectValidator.java:328)
at
org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryDe faultConstraint(EObjectValidator.java:183)
at
org.eclipse.emf.ecore.util.EObjectValidator.validate(EObject Validator.java:168)
at
org.eclipse.gmf.internal.validate.ValidatorChain.validate(Va lidatorChain.java:70)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:127)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
at
org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:146)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
at
org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
at
org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
at
org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:87)
at
org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.validate(TransformToGenModel.java:305)
at
org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.run(TransformToGenModel.java:105)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3312)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2941)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
eclipse.buildId=M20060629-1905
java.version=1.5.0_06
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=de_DE
Framework arguments: -keyring /Users/guidmo/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -keyring
/Users/guidmo/.eclipse_keyring -consoleLog -showlocation
Thanks and Regards
Markus
|
|
|
|
Re: ClassCastException 'Compartment Mapping' [message #56538 is a reply to message #56511] |
Wed, 27 September 2006 15:05   |
Eclipse User |
|
|
|
Hi,
Just ensure you have different names for all nodes/figures in gmf graph.
Now you have Compartment and Node with same name.
If you are not able to open gmfraph resource in EMF editor, change it as
text.
Regards,
Michael
"Markus Musil" <markus.musil@codeworkz.at> wrote in message
news:efegu0$183$1@utils.eclipse.org...
> Markus Musil schrieb:
>> Hi GMF-Community,
>>
>> I need some help. I tried to make a compartment where I can put a
>> customized figure in.
>> I thought I've done everything right, but if I try to generate the
>> genmodel I'm getting the following error message:
>>
>> java.lang.ClassCastException: org.eclipse.gmf.gmfgraph.impl.NodeImpl
>> at
>> org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.getComp artment(CompartmentMappingImpl.java:88)
>>
>> at
>> org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.eGet(Co mpartmentMappingImpl.java:193)
>>
>> at
>> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:594)
>> at
>> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:586)
>> at
>> org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext(EContentsEList.java:416)
>>
>> at
>> org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryPr oxyResolves(EObjectValidator.java:328)
>>
>> at
>> org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryDe faultConstraint(EObjectValidator.java:183)
>>
>> at
>> org.eclipse.emf.ecore.util.EObjectValidator.validate(EObject Validator.java:168)
>>
>> at
>> org.eclipse.gmf.internal.validate.ValidatorChain.validate(Va lidatorChain.java:70)
>>
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:127)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:146)
>>
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
>>
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
>>
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>> at
>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:87)
>> at
>> org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.validate(TransformToGenModel.java:305)
>>
>> at
>> org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.run(TransformToGenModel.java:105)
>>
>> at
>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>>
>> at
>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 279)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3312)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2941)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at
>> java.lang.reflect.Method.invoke(Method.java:585)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>>
>> eclipse.buildId=M20060629-1905
>> java.version=1.5.0_06
>> java.vendor=Apple Computer, Inc.
>> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=de_DE
>> Framework arguments: -keyring
>> /Users/guidmo/.eclipse_keyring -showlocation
>> Command-line arguments: -os macosx -ws carbon -keyring
>> /Users/guidmo/.eclipse_keyring -consoleLog -showlocation
>>
>> Thanks and Regards
>> Markus
>>
>
> sorry something went wrong during adding the files
>
> thx
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <gmftool:ToolRegistry xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
> <palette>
> <tools
> xsi:type="gmftool:ToolGroup"
> title="Modelworkz">
> <tools
> xsi:type="gmftool:CreationTool"
> title="Entity"
> description="Create new Entity">
> <smallIcon
> xsi:type="gmftool:DefaultImage"/>
> <largeIcon
> xsi:type="gmftool:DefaultImage"/>
> </tools>
> <tools
> xsi:type="gmftool:CreationTool"
> title="Attribute"
> description="Create new Attribute">
> <smallIcon
> xsi:type="gmftool:DefaultImage"/>
> <largeIcon
> xsi:type="gmftool:DefaultImage"/>
> </tools>
> <tools
> xsi:type="gmftool:CreationTool"
> title="EntityRelationship"
> description="Create new EntityRelationship">
> <smallIcon
> xsi:type="gmftool:DefaultImage"/>
> <largeIcon
> xsi:type="gmftool:DefaultImage"/>
> </tools>
> <tools
> xsi:type="gmftool:CreationTool"
> title="TableLink"
> description="Create new TableLink">
> <smallIcon
> xsi:type="gmftool:DefaultImage"/>
> <largeIcon
> xsi:type="gmftool:DefaultImage"/>
> </tools>
> </tools>
> </palette>
> </gmftool:ToolRegistry>
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <gmfmap:Mapping xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings"
> xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
> <nodes>
> <containmentFeature
> href="modelworkz.ecore#//Map/entities"/>
> <ownedChild>
> <domainMetaElement
> href="modelworkz.ecore#//Entity"/>
> <labelMappings>
> <diagramLabel
> href="modelworkz.gmfgraph#EntityName"/>
> <features
> href="modelworkz.ecore#//NamedElement/name"/>
> </labelMappings>
> <tool
> xsi:type="gmftool:CreationTool"
> href="modelworkz.gmftool#//@palette/@tools.0/@tools.0"/>
> <diagramNode
> href="modelworkz.gmfgraph#Entity"/>
> <children
> compartment="//@nodes.0/@ownedChild/@compartments.0"
> referencedChild="//@nodes.0/@ownedChild/@children.0/@ownedChild ">
> <containmentFeature
> href="modelworkz.ecore#//Entity/attributes"/>
> <childrenFeature
> href="modelworkz.ecore#//Entity/attributes"/>
> <ownedChild>
> <domainMetaElement
> href="modelworkz.ecore#//Attribute"/>
> <labelMappings
> viewPattern="{0}::{1}"
> editPattern="{0}:{1}">
> <diagramLabel
> href="modelworkz.gmfgraph#AttributeName"/>
> <features
> href="modelworkz.ecore#//NamedElement/name"/>
> <features
> href="modelworkz.ecore#//TypedElement/type"/>
> </labelMappings>
> <tool
> xsi:type="gmftool:CreationTool"
> href="modelworkz.gmftool#//@palette/@tools.0/@tools.1"/>
> <diagramNode
> href="modelworkz.gmfgraph#AttributeName"/>
> </ownedChild>
> </children>
> <children
> compartment="//@nodes.0/@ownedChild/@compartments.1"
> referencedChild="//@nodes.0/@ownedChild/@children.1/@ownedChild ">
> <containmentFeature
> href="modelworkz.ecore#//Entity/tablelink"/>
> <childrenFeature
> href="modelworkz.ecore#//Entity/tablelink"/>
> <ownedChild>
> <domainMetaElement
> href="modelworkz.ecore#//TableLink"/>
> <labelMappings>
> <diagramLabel
> href="modelworkz.gmfgraph#TableLinkName"/>
> <features
> href="modelworkz.ecore#//NamedElement/name"/>
> </labelMappings>
> <tool
> xsi:type="gmftool:CreationTool"
> href="modelworkz.gmftool#//@palette/@tools.0/@tools.3"/>
> <diagramNode
> href="modelworkz.gmfgraph#TableLinkName"/>
> </ownedChild>
> </children>
> <compartments
> children="//@nodes.0/@ownedChild/@children.0">
> <compartment
> href="modelworkz.gmfgraph#Attributes"/>
> </compartments>
> <compartments
> children="//@nodes.0/@ownedChild/@children.1">
> <compartment
> href="modelworkz.gmfgraph#TableLink"/>
> </compartments>
> </ownedChild>
> </nodes>
> <links>
> <domainMetaElement
> href="modelworkz.ecore#//EntityRelationship"/>
> <labelMappings>
> <diagramLabel
> href="modelworkz.gmfgraph#RelationshipName"/>
> <features
> href="modelworkz.ecore#//NamedElement/name"/>
> </labelMappings>
> <containmentFeature
> href="modelworkz.ecore#//Map/entityrelationships"/>
> <tool
> xsi:type="gmftool:CreationTool"
> href="modelworkz.gmftool#//@palette/@tools.0/@tools.2"/>
> <diagramLink
> href="modelworkz.gmfgraph#EntityRelationship"/>
> <sourceMetaFeature
> xsi:type="ecore:EReference"
> href="modelworkz.ecore#//EntityRelationship/source"/>
> <linkMetaFeature
> xsi:type="ecore:EReference"
> href="modelworkz.ecore#//EntityRelationship/target"/>
> </links>
> <diagram>
> <diagramCanvas
> href="modelworkz.gmfgraph#Modelworkz"/>
> <domainModel
> href="modelworkz.ecore#/"/>
> <domainMetaElement
> href="modelworkz.ecore#//Map"/>
> <palette
> href="modelworkz.gmftool#//@palette"/>
> </diagram>
> </gmfmap:Mapping>
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <gmfgraph:Canvas xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:gmfgraph="http://www.eclipse.org/gmf/2005/GraphicalDefinition"
> name="Modelworkz">
> <figures
> name="Default">
> <figures
> xsi:type="gmfgraph:Rectangle"
> referencingElements="Attributes"
> name="AttributeFigure"/>
> <figures
> xsi:type="gmfgraph:PolylineConnection"
> referencingElements="EntityRelationship"
> name="EntityRelationshipFigure"
> targetDecoration="//@figures.0/@figures.1/@children.1">
> <children
> xsi:type="gmfgraph:Label"
> referencingElements="RelationshipName"
> name="RelationshipNameFigure"
> text="<...>"/>
> <children
> xsi:type="gmfgraph:PolylineDecoration">
> <template
> x="-1"
> y="1"/>
> <template/>
> <template
> x="-1"
> y="-1"/>
> </children>
> </figures>
> <figures
> xsi:type="gmfgraph:Rectangle"
> referencingElements="Entity"
> name="EntityFigure">
> <children
> xsi:type="gmfgraph:Label"
> referencingElements="EntityName"
> name="EntityNameFigure"
> text="<...>"/>
> </figures>
> <figures
> xsi:type="gmfgraph:Rectangle"
> referencingElements="TableLink"
> name="TableLinkFigure"
> outline="false"
> fill="false"
> lineWidth="0">
> <layoutData
> xsi:type="gmfgraph:XYLayoutData"/>
> <children
> xsi:type="gmfgraph:Ellipse"
> name="Top">
> <foregroundColor
> xsi:type="gmfgraph:RGBColor"
> red="100"
> green="100"
> blue="100"/>
> <backgroundColor
> xsi:type="gmfgraph:RGBColor"
> red="255"
> green="255"
> blue="255"/>
> <location
> x="5"
> y="3"/>
> <size
> x="8"
> y="4"/>
> </children>
> <children
> xsi:type="gmfgraph:Polygon"
> name="Container">
> <foregroundColor
> xsi:type="gmfgraph:RGBColor"
> red="100"
> green="100"
> blue="100"/>
> <backgroundColor
> xsi:type="gmfgraph:RGBColor"
> red="255"
> green="255"
> blue="255"/>
> <template
> x="1"
> y="3"/>
> <template
> x="1"
> y="28"/>
> <template
> x="9"
> y="28"/>
> <template
> x="9"
> y="3"/>
> </children>
> <maximumSize
> dx="10"
> dy="30"/>
> <minimumSize
> dx="10"
> dy="30"/>
> <preferredSize
> dx="10"
> dy="30"/>
> <size
> x="10"
> y="30"/>
> </figures>
> <figures
> xsi:type="gmfgraph:Label"
> referencingElements="TableLinkName"
> name="TableLinkNameFigure"
> text="<...>"/>
> <figures
> xsi:type="gmfgraph:Label"
> referencingElements="AttributeName Attribute"
> name="AttributeNameFigure"
> text="<...>"/>
> <figures
> xsi:type="gmfgraph:Rectangle"
> referencingElements="TableLink"
> name="TableLinkCompFigure"/>
> </figures>
> <nodes
> name="Entity"
> figure="EntityFigure"/>
> <nodes
> name="Attribute"
> figure="AttributeNameFigure"/>
> <nodes
> name="TableLink"
> figure="TableLinkFigure"
> resizeConstraint="NONE"/>
> <connections
> name="EntityRelationship"
> figure="EntityRelationshipFigure"/>
> <compartments
> name="Attributes"
> figure="AttributeFigure"/>
> <compartments
> name="TableLink"
> figure="TableLinkCompFigure"/>
> <labels
> name="EntityName"
> figure="EntityNameFigure"/>
> <labels
> name="AttributeName"
> figure="AttributeNameFigure"/>
> <labels
> name="RelationshipName"
> figure="RelationshipNameFigure"
> elementIcon="false"/>
> <labels
> name="TableLinkName"
> figure="TableLinkNameFigure"/>
> </gmfgraph:Canvas>
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Modelworkz"
> nsURI="at.codeworkz.modelworkz" nsPrefix="mdlwrkz">
> <eClassifiers xsi:type="ecore:EClass" name="Map">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="title"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="entities"
> upperBound="-1"
> eType="#//Entity" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="entityrelationships" upperBound="-1"
> eType="#//EntityRelationship" containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Entity"
> eSuperTypes="#//NamedElement">
> <eStructuralFeatures xsi:type="ecore:EReference" name="attributes"
> upperBound="-1"
> eType="#//Attribute" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="tablelink"
> upperBound="-1"
> eType="#//TableLink" containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Attribute"
> eSuperTypes="#//NamedElement #//TypedElement"/>
> <eClassifiers xsi:type="ecore:EClass" name="EntityRelationship"
> eSuperTypes="#//NamedElement">
> <eStructuralFeatures xsi:type="ecore:EReference" name="source"
> lowerBound="1"
> eType="#//Entity"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="target"
> lowerBound="1"
> eType="#//Entity"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="NamedElement">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
> defaultValueLiteral=""/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="TypedElement">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
> eType="#//TypeNames"
> defaultValueLiteral=""/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EEnum" name="TypeNames">
> <eLiterals name="String"/>
> <eLiterals name="Integer"/>
> <eLiterals name="Date"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="TableLink"
> eSuperTypes="#//NamedElement">
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="abbreviation"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> </ecore:EPackage>
>
|
|
|
Re: ClassCastException 'Compartment Mapping' [message #58446 is a reply to message #56538] |
Mon, 02 October 2006 12:40  |
Eclipse User |
|
|
|
Originally posted by: markus.musil.codeworkz.at
Hi Michael,
thank you for your help. Worked perfectly!
regards,
markus
Michael Golubev schrieb:
> Hi,
>
> Just ensure you have different names for all nodes/figures in gmf graph.
> Now you have Compartment and Node with same name.
> If you are not able to open gmfraph resource in EMF editor, change it as
> text.
>
> Regards,
> Michael
>
> "Markus Musil" <markus.musil@codeworkz.at> wrote in message
> news:efegu0$183$1@utils.eclipse.org...
>> Markus Musil schrieb:
>>> Hi GMF-Community,
>>>
>>> I need some help. I tried to make a compartment where I can put a
>>> customized figure in.
>>> I thought I've done everything right, but if I try to generate the
>>> genmodel I'm getting the following error message:
>>>
>>> java.lang.ClassCastException: org.eclipse.gmf.gmfgraph.impl.NodeImpl
>>> at
>>> org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.getComp artment(CompartmentMappingImpl.java:88)
>>>
>>> at
>>> org.eclipse.gmf.mappings.impl.CompartmentMappingImpl.eGet(Co mpartmentMappingImpl.java:193)
>>>
>>> at
>>> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:594)
>>> at
>>> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:586)
>>> at
>>> org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImp l.hasNext(EContentsEList.java:416)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryPr oxyResolves(EObjectValidator.java:328)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.EObjectValidator.validate_EveryDe faultConstraint(EObjectValidator.java:183)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.EObjectValidator.validate(EObject Validator.java:168)
>>>
>>> at
>>> org.eclipse.gmf.internal.validate.ValidatorChain.validate(Va lidatorChain.java:70)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:127)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:146)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.doValidateContents( Diagnostician.java:142)
>>>
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:130)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:107)
>>> at
>>> org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostic ian.java:87)
>>> at
>>> org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.validate(TransformToGenModel.java:305)
>>>
>>> at
>>> org.eclipse.gmf.internal.codegen.popup.actions.TransformToGe nModel.run(TransformToGenModel.java:105)
>>>
>>> at
>>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>>>
>>> at
>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
>>> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 279)
>>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3312)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2941)
>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>>> at
>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>>
>>> at
>>> java.lang.reflect.Method.invoke(Method.java:585)
>>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>>
>>>
>>> eclipse.buildId=M20060629-1905
>>> java.version=1.5.0_06
>>> java.vendor=Apple Computer, Inc.
>>> BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=de_DE
>>> Framework arguments: -keyring
>>> /Users/guidmo/.eclipse_keyring -showlocation
>>> Command-line arguments: -os macosx -ws carbon -keyring
>>> /Users/guidmo/.eclipse_keyring -consoleLog -showlocation
>>>
>>> Thanks and Regards
>>> Markus
>>>
>> sorry something went wrong during adding the files
>>
>> thx
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <gmftool:ToolRegistry xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
>> <palette>
>> <tools
>> xsi:type="gmftool:ToolGroup"
>> title="Modelworkz">
>> <tools
>> xsi:type="gmftool:CreationTool"
>> title="Entity"
>> description="Create new Entity">
>> <smallIcon
>> xsi:type="gmftool:DefaultImage"/>
>> <largeIcon
>> xsi:type="gmftool:DefaultImage"/>
>> </tools>
>> <tools
>> xsi:type="gmftool:CreationTool"
>> title="Attribute"
>> description="Create new Attribute">
>> <smallIcon
>> xsi:type="gmftool:DefaultImage"/>
>> <largeIcon
>> xsi:type="gmftool:DefaultImage"/>
>> </tools>
>> <tools
>> xsi:type="gmftool:CreationTool"
>> title="EntityRelationship"
>> description="Create new EntityRelationship">
>> <smallIcon
>> xsi:type="gmftool:DefaultImage"/>
>> <largeIcon
>> xsi:type="gmftool:DefaultImage"/>
>> </tools>
>> <tools
>> xsi:type="gmftool:CreationTool"
>> title="TableLink"
>> description="Create new TableLink">
>> <smallIcon
>> xsi:type="gmftool:DefaultImage"/>
>> <largeIcon
>> xsi:type="gmftool:DefaultImage"/>
>> </tools>
>> </tools>
>> </palette>
>> </gmftool:ToolRegistry>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <gmfmap:Mapping xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>> xmlns:gmfmap="http://www.eclipse.org/gmf/2005/mappings"
>> xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition">
>> <nodes>
>> <containmentFeature
>> href="modelworkz.ecore#//Map/entities"/>
>> <ownedChild>
>> <domainMetaElement
>> href="modelworkz.ecore#//Entity"/>
>> <labelMappings>
>> <diagramLabel
>> href="modelworkz.gmfgraph#EntityName"/>
>> <features
>> href="modelworkz.ecore#//NamedElement/name"/>
>> </labelMappings>
>> <tool
>> xsi:type="gmftool:CreationTool"
>> href="modelworkz.gmftool#//@palette/@tools.0/@tools.0"/>
>> <diagramNode
>> href="modelworkz.gmfgraph#Entity"/>
>> <children
>> compartment="//@nodes.0/@ownedChild/@compartments.0"
>> referencedChild="//@nodes.0/@ownedChild/@children.0/@ownedChild ">
>> <containmentFeature
>> href="modelworkz.ecore#//Entity/attributes"/>
>> <childrenFeature
>> href="modelworkz.ecore#//Entity/attributes"/>
>> <ownedChild>
>> <domainMetaElement
>> href="modelworkz.ecore#//Attribute"/>
>> <labelMappings
>> viewPattern="{0}::{1}"
>> editPattern="{0}:{1}">
>> <diagramLabel
>> href="modelworkz.gmfgraph#AttributeName"/>
>> <features
>> href="modelworkz.ecore#//NamedElement/name"/>
>> <features
>> href="modelworkz.ecore#//TypedElement/type"/>
>> </labelMappings>
>> <tool
>> xsi:type="gmftool:CreationTool"
>> href="modelworkz.gmftool#//@palette/@tools.0/@tools.1"/>
>> <diagramNode
>> href="modelworkz.gmfgraph#AttributeName"/>
>> </ownedChild>
>> </children>
>> <children
>> compartment="//@nodes.0/@ownedChild/@compartments.1"
>> referencedChild="//@nodes.0/@ownedChild/@children.1/@ownedChild ">
>> <containmentFeature
>> href="modelworkz.ecore#//Entity/tablelink"/>
>> <childrenFeature
>> href="modelworkz.ecore#//Entity/tablelink"/>
>> <ownedChild>
>> <domainMetaElement
>> href="modelworkz.ecore#//TableLink"/>
>> <labelMappings>
>> <diagramLabel
>> href="modelworkz.gmfgraph#TableLinkName"/>
>> <features
>> href="modelworkz.ecore#//NamedElement/name"/>
>> </labelMappings>
>> <tool
>> xsi:type="gmftool:CreationTool"
>> href="modelworkz.gmftool#//@palette/@tools.0/@tools.3"/>
>> <diagramNode
>> href="modelworkz.gmfgraph#TableLinkName"/>
>> </ownedChild>
>> </children>
>> <compartments
>> children="//@nodes.0/@ownedChild/@children.0">
>> <compartment
>> href="modelworkz.gmfgraph#Attributes"/>
>> </compartments>
>> <compartments
>> children="//@nodes.0/@ownedChild/@children.1">
>> <compartment
>> href="modelworkz.gmfgraph#TableLink"/>
>> </compartments>
>> </ownedChild>
>> </nodes>
>> <links>
>> <domainMetaElement
>> href="modelworkz.ecore#//EntityRelationship"/>
>> <labelMappings>
>> <diagramLabel
>> href="modelworkz.gmfgraph#RelationshipName"/>
>> <features
>> href="modelworkz.ecore#//NamedElement/name"/>
>> </labelMappings>
>> <containmentFeature
>> href="modelworkz.ecore#//Map/entityrelationships"/>
>> <tool
>> xsi:type="gmftool:CreationTool"
>> href="modelworkz.gmftool#//@palette/@tools.0/@tools.2"/>
>> <diagramLink
>> href="modelworkz.gmfgraph#EntityRelationship"/>
>> <sourceMetaFeature
>> xsi:type="ecore:EReference"
>> href="modelworkz.ecore#//EntityRelationship/source"/>
>> <linkMetaFeature
>> xsi:type="ecore:EReference"
>> href="modelworkz.ecore#//EntityRelationship/target"/>
>> </links>
>> <diagram>
>> <diagramCanvas
>> href="modelworkz.gmfgraph#Modelworkz"/>
>> <domainModel
>> href="modelworkz.ecore#/"/>
>> <domainMetaElement
>> href="modelworkz.ecore#//Map"/>
>> <palette
>> href="modelworkz.gmftool#//@palette"/>
>> </diagram>
>> </gmfmap:Mapping>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <gmfgraph:Canvas xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:gmfgraph="http://www.eclipse.org/gmf/2005/GraphicalDefinition"
>> name="Modelworkz">
>> <figures
>> name="Default">
>> <figures
>> xsi:type="gmfgraph:Rectangle"
>> referencingElements="Attributes"
>> name="AttributeFigure"/>
>> <figures
>> xsi:type="gmfgraph:PolylineConnection"
>> referencingElements="EntityRelationship"
>> name="EntityRelationshipFigure"
>> targetDecoration="//@figures.0/@figures.1/@children.1">
>> <children
>> xsi:type="gmfgraph:Label"
>> referencingElements="RelationshipName"
>> name="RelationshipNameFigure"
>> text="<...>"/>
>> <children
>> xsi:type="gmfgraph:PolylineDecoration">
>> <template
>> x="-1"
>> y="1"/>
>> <template/>
>> <template
>> x="-1"
>> y="-1"/>
>> </children>
>> </figures>
>> <figures
>> xsi:type="gmfgraph:Rectangle"
>> referencingElements="Entity"
>> name="EntityFigure">
>> <children
>> xsi:type="gmfgraph:Label"
>> referencingElements="EntityName"
>> name="EntityNameFigure"
>> text="<...>"/>
>> </figures>
>> <figures
>> xsi:type="gmfgraph:Rectangle"
>> referencingElements="TableLink"
>> name="TableLinkFigure"
>> outline="false"
>> fill="false"
>> lineWidth="0">
>> <layoutData
>> xsi:type="gmfgraph:XYLayoutData"/>
>> <children
>> xsi:type="gmfgraph:Ellipse"
>> name="Top">
>> <foregroundColor
>> xsi:type="gmfgraph:RGBColor"
>> red="100"
>> green="100"
>> blue="100"/>
>> <backgroundColor
>> xsi:type="gmfgraph:RGBColor"
>> red="255"
>> green="255"
>> blue="255"/>
>> <location
>> x="5"
>> y="3"/>
>> <size
>> x="8"
>> y="4"/>
>> </children>
>> <children
>> xsi:type="gmfgraph:Polygon"
>> name="Container">
>> <foregroundColor
>> xsi:type="gmfgraph:RGBColor"
>> red="100"
>> green="100"
>> blue="100"/>
>> <backgroundColor
>> xsi:type="gmfgraph:RGBColor"
>> red="255"
>> green="255"
>> blue="255"/>
>> <template
>> x="1"
>> y="3"/>
>> <template
>> x="1"
>> y="28"/>
>> <template
>> x="9"
>> y="28"/>
>> <template
>> x="9"
>> y="3"/>
>> </children>
>> <maximumSize
>> dx="10"
>> dy="30"/>
>> <minimumSize
>> dx="10"
>> dy="30"/>
>> <preferredSize
>> dx="10"
>> dy="30"/>
>> <size
>> x="10"
>> y="30"/>
>> </figures>
>> <figures
>> xsi:type="gmfgraph:Label"
>> referencingElements="TableLinkName"
>> name="TableLinkNameFigure"
>> text="<...>"/>
>> <figures
>> xsi:type="gmfgraph:Label"
>> referencingElements="AttributeName Attribute"
>> name="AttributeNameFigure"
>> text="<...>"/>
>> <figures
>> xsi:type="gmfgraph:Rectangle"
>> referencingElements="TableLink"
>> name="TableLinkCompFigure"/>
>> </figures>
>> <nodes
>> name="Entity"
>> figure="EntityFigure"/>
>> <nodes
>> name="Attribute"
>> figure="AttributeNameFigure"/>
>> <nodes
>> name="TableLink"
>> figure="TableLinkFigure"
>> resizeConstraint="NONE"/>
>> <connections
>> name="EntityRelationship"
>> figure="EntityRelationshipFigure"/>
>> <compartments
>> name="Attributes"
>> figure="AttributeFigure"/>
>> <compartments
>> name="TableLink"
>> figure="TableLinkCompFigure"/>
>> <labels
>> name="EntityName"
>> figure="EntityNameFigure"/>
>> <labels
>> name="AttributeName"
>> figure="AttributeNameFigure"/>
>> <labels
>> name="RelationshipName"
>> figure="RelationshipNameFigure"
>> elementIcon="false"/>
>> <labels
>> name="TableLinkName"
>> figure="TableLinkNameFigure"/>
>> </gmfgraph:Canvas>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <ecore:EPackage xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Modelworkz"
>> nsURI="at.codeworkz.modelworkz" nsPrefix="mdlwrkz">
>> <eClassifiers xsi:type="ecore:EClass" name="Map">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="title"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="entities"
>> upperBound="-1"
>> eType="#//Entity" containment="true"/>
>> <eStructuralFeatures xsi:type="ecore:EReference"
>> name="entityrelationships" upperBound="-1"
>> eType="#//EntityRelationship" containment="true"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Entity"
>> eSuperTypes="#//NamedElement">
>> <eStructuralFeatures xsi:type="ecore:EReference" name="attributes"
>> upperBound="-1"
>> eType="#//Attribute" containment="true"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="tablelink"
>> upperBound="-1"
>> eType="#//TableLink" containment="true"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="Attribute"
>> eSuperTypes="#//NamedElement #//TypedElement"/>
>> <eClassifiers xsi:type="ecore:EClass" name="EntityRelationship"
>> eSuperTypes="#//NamedElement">
>> <eStructuralFeatures xsi:type="ecore:EReference" name="source"
>> lowerBound="1"
>> eType="#//Entity"/>
>> <eStructuralFeatures xsi:type="ecore:EReference" name="target"
>> lowerBound="1"
>> eType="#//Entity"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="NamedElement">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
>> defaultValueLiteral=""/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="TypedElement">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="type"
>> eType="#//TypeNames"
>> defaultValueLiteral=""/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EEnum" name="TypeNames">
>> <eLiterals name="String"/>
>> <eLiterals name="Integer"/>
>> <eLiterals name="Date"/>
>> </eClassifiers>
>> <eClassifiers xsi:type="ecore:EClass" name="TableLink"
>> eSuperTypes="#//NamedElement">
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="abbreviation"
>> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>> </eClassifiers>
>> </ecore:EPackage>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03598 seconds