Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Derive Classes/Objects Invisible: Why?
Derive Classes/Objects Invisible: Why? [message #235466] Tue, 07 July 2009 05:20 Go to next message
Steven Punte is currently offline Steven PunteFriend
Messages: 34
Registered: July 2009
Member
I have a simple situation of class B is derived from class A.

The Palette area shows tools for creating objects of both classes.

I can properly create on the canvas object of class A.

However, when creating objects of class B, they (they newely created object)
disappear from the canvas. After saving and closing the diagram and then
reopenning it, the new class B object will appear at location <0,0>.

I have been looking in detail at the gmfgraph, gmftool, gmfmap files, but
cannot identify a key difference.

Any Suggestions Appreciated.


Steve Punte
Test Lens
www.testlens.com
Re: Derive Classes/Objects Invisible: Why? [message #235489 is a reply to message #235466] Tue, 07 July 2009 10:10 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Steven,

You have to add a constraint for NodeMapping of class A like: not self.oclIsKindOf(B)

-----------------
Alex Shatalin
Previous Topic:Copy / Paste in GMF
Next Topic:Problems comparing gmfgen files
Goto Forum:
  


Current Time: Wed Mar 03 08:44:37 GMT 2021

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

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

Back to the top