Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » hiding and redrawing figures
hiding and redrawing figures [message #183750] Mon, 21 April 2008 15:10 Go to next message
Amro Al-Akkad is currently offline Amro Al-AkkadFriend
Messages: 33
Registered: July 2009
Member
hi folks!

I'm developing a design-time tool for a component-based setting.
The component are connected via output ports to input ports.
In my application I'd like to offer 2 perspectives for the same domain:
a. technical one: where each port of the components is illustrated.
b. business one: like business-flow only the components should be
visualized.

Is there a possibility hide certain shapes by an action/perspective switch?
And is it further possible to redraw figures which left over?

Regards,
Amro
Re: hiding and redrawing figures [message #203882 is a reply to message #183750] Fri, 29 August 2008 13:31 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Did you get any answer to this question already or found any solution?

We tried this once and did it manually and programmatically by deeply
hacking into the editParts. This was quite ugly and did not work too well.

Maybe you should have a look at the UML2Tools. They have implemented
filters which allow to hide elements. E.g. in the StateMachine Editor
you can select a group of elements and let them hide via the context menu.

Cheers,
Hauke
Re: hiding and redrawing figures [message #203905 is a reply to message #203882] Fri, 29 August 2008 15:24 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
Hi,

Did you try doing your filtering/hiding via visible attribute on the View
(notation model)?

Cheers,
Alex
Previous Topic:Auto resize of figures/compartments
Next Topic:Decorations from SVG?
Goto Forum:
  


Current Time: Fri Apr 26 00:31:33 GMT 2024

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

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

Back to the top