Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to disable the node in the tool palette
How to disable the node in the tool palette [message #534495] Wed, 19 May 2010 07:12 Go to next message
Eclipse UserFriend
Hi all,

I have a node in the compartment. The nodes in the subdiagram opened on clicking the compartment, should be programmatically disabled based on the attribute value of the parent node.

I have tried making some changes in #Diagram#EditPartFactory. But could not succeed.

Can anyone please tell on how to implement the above scenerio.
Re: How to disable the node in the tool palette [message #535718 is a reply to message #534495] Tue, 25 May 2010 07:50 Go to previous message
Eclipse UserFriend
Hi,

not sure to understand:
you want to open another diagram on click on an element but this feature can be deactivated when a properties have a defined value?

if it is that, I suggest you to take a look to OpenDiagramEditPolicy

Regards
Previous Topic:Keep Selected Object(node) active until user select the other Object(node in the GMF diagram editor
Next Topic:OCL statement in mapping to prevent node creation
Goto Forum:
  


Current Time: Sat Apr 19 04:32:49 EDT 2025

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

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

Back to the top