[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Link Mapping to shortcuts
|
Hello all,
As posted previously by others in the newsgroup, I have problems with
creation of a link mapping between "normal" nodes and shortcut nodes.
In my Editor 1, I have Class C which has a reference to a property P.
In my Sub-Editor I am able to create a shortcut to Class C()
Now I want to link my Elements in the sub-Editor with the property P
which does not work.
So , as read in older posts , I created a "fake" node mapping to my
model element P in my Sub-Editor.
In .graph I made a Figure Descriptor with Rectangle,Label and Child
Accessor. I made a Node and Diagram Label and in .gmfmap I added a Top
level node and did not give a creation tool.
I tried to ignore the Validation but still cannot generate diagram code.
Generation fails with an Excpetion
org.eclipse.gmf.gmfgraph.impl.FigureDescriptorImpl cannot be cast to
org.eclipse.gmf.gmfgraph.Node
Did someone else have had a similar problem?
thx for any help,
JanRed