Skip to main content


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 10:51 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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 10:56]

Report message to a moderator

Re: Layout after shape.setVisible [message #908547 is a reply to message #908417] Wed, 05 September 2012 14:49 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,

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 15:31 Go to previous messageGo to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
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 13:40 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
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 25 12:56:11 GMT 2024

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

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

Back to the top