Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Strange Behaviour (Tree of Shapes)
Strange Behaviour (Tree of Shapes) [message #906045] Fri, 31 August 2012 14:09 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member
I Have structure of shapes like this {
ContainerShape (InvisibleRect)
-Shape (Text)
-ContainerShape(InvisibleRect)
  -ContainerShape (Rectangle, lines=gray, ...)
    -Shape (Text)


It should render something like Label followed by a rectangle with text inside, and it appears, but the rectangle with gray lines is appearing with dashed red lines, which is not set anywhere.
Actually I put a breakpoint at the return of add, and all is set as it should.

Do you know why? Is it something related to my hierarchy?


I need that way because i'm creating a highly polymorphic structure promoting reuse of code.


Thanks.







}

[Updated on: Fri, 31 August 2012 14:10]

Report message to a moderator

Re: Strange Behaviour (Tree of Shapes) [message #906057 is a reply to message #906045] Fri, 31 August 2012 14:36 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Rui,

the dashed red line usually comes from an update feature returning true on updateNeeded. Probably your update feature expects something different that the diagram contains.

Michael
Re: Strange Behaviour (Tree of Shapes) [message #906069 is a reply to message #906057] Fri, 31 August 2012 14:56 Go to previous message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member
Yeap. You are right. I see now why. I changed my ADD feature, but not the update feature. I didn't know this behaviour could be triggered.

Thanks
Previous Topic:Using Swing with Graphiti
Next Topic:Idioms support
Goto Forum:
  


Current Time: Sat Apr 27 00:16:41 GMT 2024

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

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

Back to the top