Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » disabling a diagram element in GMF
disabling a diagram element in GMF [message #211475] Tue, 18 November 2008 17:10 Go to next message
Eclipse UserFriend
Originally posted by: majid.alfifi.gmail.com

Hi,

How can I disable a diagram element in GMF model? by disable I mean make
it un-editable and make it appear gray to convey that it's disabled?

Thanks,
Majid
Re: disabling a diagram element in GMF [message #211494 is a reply to message #211475] Wed, 19 November 2008 10:35 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Majid,

Try using EditPart.enable/disableEditMode()

-----------------
Alex Shatalin
Re: disabling a diagram element in GMF [message #211582 is a reply to message #211494] Thu, 20 November 2008 01:38 Go to previous message
Eclipse UserFriend
Originally posted by: majid.alfifi.gmail.com

Thanks Alex.

That was what am looking for.

~Majid
Previous Topic:Does adding color children to figures Still work or do i have to do it programatically ?
Next Topic:reordering children in compartment with DnD
Goto Forum:
  


Current Time: Fri Apr 26 03:39:13 GMT 2024

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

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

Back to the top