Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Layout after shape.setVisible
Layout after shape.setVisible [message #908417] Wed, 05 September 2012 06:51 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 186
Registered: October 2010
Senior Member
Hi.

I have a layout feature, that simply set true or false the visible property of a non-active shape, however visually nothing happens. Otherwise, if I addicionally invoke something like setX in the respective GA, the layout happens as it should.

Am I missing something? This is the expected behaviour?

If this is the expected behaviour, there is anyaway of "touching" GA ?


Thanks
Rui

[Updated on: Wed, 05 September 2012 06:56]

Report message to a moderator

Re: Layout after shape.setVisible [message #908547 is a reply to message #908417] Wed, 05 September 2012 10:49 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1527
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Rui,

can you check if your update feature is being called? And if yes, if it
checks that change and tells the Graphiti framework that an update is
needed?

Michael
Re: Layout after shape.setVisible [message #908572 is a reply to message #908547] Wed, 05 September 2012 11:31 Go to previous messageGo to next message
Rui Domingues is currently offline Rui Domingues
Messages: 186
Registered: October 2010
Senior Member
Yes. Update feature is being called, it checks update is needed, update is done, and shape is not becoming visible, unless I programmatically, change something in GA.


The cenario is:
I have two images which switch shape's visible property, exclusively.


Thanks
Re: Layout after shape.setVisible [message #909073 is a reply to message #908572] Thu, 06 September 2012 09:40 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1527
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Sounds like a bug. Can you extract that as a small reproducable example and
create a bugzilla for it?

Thanks,
Michael
Previous Topic:How to Outline
Next Topic:Add feature (inside not active container shape)
Goto Forum:
  


Current Time: Thu Apr 17 11:33:46 EDT 2014

Powered by FUDForum. Page generated in 0.06676 seconds