Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Hide/Unhide Circuit
Hide/Unhide Circuit [message #239962] Tue, 27 November 2007 11:05 Go to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

I have displayed few Circuit in my GraphicalViewer.
I want to hide/unhide some of the with respect to some condition.

Could anyone please help me, by providing some knowledge about this?

Thanks in Advance.
Manoj
Re: Hide/Unhide Circuit [message #240029 is a reply to message #239962] Mon, 03 December 2007 17:09 Go to previous messageGo to next message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
Hi,

You could try setting the visibility flag on the circuit figure to not
visible - setVisible(false). Alternatively, you don't need to create an
edit part for such circuits at all, so you could tweak circuit's parent
edit parent refereshChildren() method.

Cheers,
Alex
Re: Hide/Unhide Circuit [message #240081 is a reply to message #240029] Tue, 04 December 2007 04:48 Go to previous message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Thanks Alex,

I have used the setVisible(), and it is working.
Thanks again for the idea.

Regards,
Manoj

Alex Boyko wrote:
> Hi,
>
> You could try setting the visibility flag on the circuit figure to not
> visible - setVisible(false). Alternatively, you don't need to create an
> edit part for such circuits at all, so you could tweak circuit's parent
> edit parent refereshChildren() method.
>
> Cheers,
> Alex
>
Previous Topic:WireEditPart & performRequest
Next Topic:Palette on the rigth side
Goto Forum:
  


Current Time: Thu Apr 25 03:52:09 GMT 2024

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

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

Back to the top