[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Is it possible to hide/unhide the element and its connection on mouse click?

Hello Steve,

Its not so difficult to hide/unhide a view in the diagram, simply you can create and install your own EditPolicy on the parent EditPart then return a command that hide/unhide the view (use View#Setvisible(true/false)) then the parent EditPart will return only the visible children after checking the visibility of each child.

hope that help you,

Ali

Steve a écrit :
Hi,

Thanks for the reply.I will keep you posted with how it goes.Looks like it would require to customize a bunch of internal classes.It should be interesting.Btw if you find/hear about anyone already done this, plz be kind enough to share it here.

Thanks,

Steve