Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Query With method.(createFigure)
Query With method.(createFigure) [message #178036] Wed, 19 March 2008 06:19 Go to next message
Eclipse UserFriend
Originally posted by: govind.ashrit.xxx.com

hi all

I am not be get(not visible) image for the connection between to
figures(say X-X)
but same thing is working for (Y-Y)

In the Editpart which gives connection between X-X the below method has
implementation. But For the EditPart which gives connection between Y-Y
has not implementation...

Whether i write anything????
------------------------------------------------
protected IFigure createFigure()


// Parent should assign one using setLabel() method

return null;
}
----------------------------------------
is bcoz of this i am not able to see (visible) on editor.



Thanks in advance

Regards
Govind
Re: Query With method.(createFigure) [message #178187 is a reply to message #178036] Wed, 19 March 2008 18:16 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello govind,


> // Parent should assign one using setLabel() method
This means, you have specified a figure wich is nested into another figure
for this very mapping. If you wanted to use standalone figure for this EditPart
- just modify mapping model to use top-level figure for it.

-----------------
Alex Shatalin
Re: Query With method.(createFigure) [message #178260 is a reply to message #178187] Thu, 20 March 2008 05:30 Go to previous message
Eclipse UserFriend
Originally posted by: govind.ashrit.xxx.com

Thanks a lot..
Previous Topic:multi-line text editor for label editing
Next Topic:Bend connections in a curve (arc)
Goto Forum:
  


Current Time: Thu Apr 18 05:02:22 GMT 2024

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

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

Back to the top