Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:12 Go to next message
Milind is currently offline MilindFriend
Messages: 31
Registered: April 2010
Member
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 11:50 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

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


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
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 May 18 03:39:14 GMT 2024

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

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

Back to the top