Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Hiding GMF elements(I want to hide gmf elements)
Hiding GMF elements [message #551099] Thu, 05 August 2010 04:43 Go to next message
Eclipse UserFriend
Hello, I,m making a gmf editor and I would like to hide and show, some labels in the graphical editor.

I want to hide labels when they are empty, that is to say, that label is equal to "". When label content is set, the label will be shown.

I´ve tried with setVisible() method but it did not work.

How can I do this?

Thanks, Pablo.

[Updated on: Thu, 05 August 2010 05:44] by Moderator

Re: Hiding GMF elements [message #553028 is a reply to message #551099] Mon, 16 August 2010 02:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi Pablo

R u talking abt hiding the labels (attributes) text label of domain elements.

Regards
govi
Re: Hiding GMF elements [message #553070 is a reply to message #553028] Mon, 16 August 2010 06:18 Go to previous message
Eclipse UserFriend
Hi,


Identify the EditPart class corresponding to your label. Then take a look at the refreshVisuals method.

Cheers,
Emil.
Previous Topic:How can we use shortcuts in an RCP application
Next Topic:How to create and excute a command manually
Goto Forum:
  


Current Time: Mon Jul 07 18:34:11 EDT 2025

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

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

Back to the top