Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » polyline color doesn't change after moving figure to seperate plug-in
polyline color doesn't change after moving figure to seperate plug-in [message #182617] Fri, 11 April 2008 13:36 Go to next message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

Hi all,

Subject says all I guess.

When I have the Figure as an inner class in the EditPart, the line color
changes to whatever you've set in the graphical definition.

Now I'm basically using a custom figure (I extracted my figures to a
seperate plugin) and, while the code is the same as when using the
Figure inner class, the color of the link won't change anymore...

Does anyone have any experiences with this?

~ Nico Lammers
Re: polyline color doesn't change after moving figure to seperate plug-in [message #182704 is a reply to message #182617] Fri, 11 April 2008 18:38 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Nico,

Try debugging ConnectionEditPart.refreshForegroundColor().

-----------------
Alex Shatalin
Re: polyline color doesn't change after moving figure to seperate plug-in [message #182839 is a reply to message #182704] Mon, 14 April 2008 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

Okay.. I would do that if I knew how ;) I installed the SDK, but Eclipse
won't show me the code for Connection(Node)EditPart...

Some Eclipse-noobishness here.. :(

Alex Shatalin wrote:
> Hello Nico,
>
> Try debugging ConnectionEditPart.refreshForegroundColor().
>
> -----------------
> Alex Shatalin
>
>
Re: polyline color doesn't change after moving figure to seperateplug-in [message #182862 is a reply to message #182839] Mon, 14 April 2008 10:12 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Nico,

> Eclipse won't show me the code for Connection(Node)EditPart...
This should be one of the super-classes of EditPart generated for the connection
in your diagram.

-----------------
Alex Shatalin
Re: polyline color doesn't change after moving figure to seperateplug-in [message #182894 is a reply to message #182862] Mon, 14 April 2008 11:12 Go to previous message
Eclipse UserFriend
Originally posted by: nico.lammers.gmail.com

I know.. but I mean that while debugging it doesn't show the code of the
runtime classes because there is no source code available.. I though
installing the GMF source/SDK would solve this, but apparently I'm
missing something .. don't know how to explain otherwise :(

~ Nico Lammers

Alex Shatalin wrote:
> Hello Nico,
>
>> Eclipse won't show me the code for Connection(Node)EditPart...
> This should be one of the super-classes of EditPart generated for the
> connection in your diagram.
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:The need for Compartments
Next Topic:Compartment in diagram
Goto Forum:
  


Current Time: Thu Apr 25 15:30:43 GMT 2024

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

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

Back to the top