Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to use SetCommand to set Label name in program?
How to use SetCommand to set Label name in program? [message #502118] Sun, 06 December 2009 01:46
No real name is currently offline No real nameFriend
Messages: 1
Registered: December 2009
Junior Member
Hi,

I am a newer in GMF.

Could anyone tells me how to use SetCommand to set the Label of the diagram?

I have a node A and node B. Node B is a compartment to node A. There is a label which should be read only showing the name of node B, just because node B has to be hided.

As soon as I add node B in node A, The label should change to the name of node B.

Could anyone tell me how to realize it?

I have found another Thread: http://www.eclipse.org/forums/index.php?t=msg&th=157947& amp; amp;start=0&S=8763d53c823f1bcc6e498f4a45417d25

But I don't know in which JAVA class should I use the SetCommand. And how to write the code.

Thank you very much!

[Updated on: Sun, 06 December 2009 01:56]

Report message to a moderator

Previous Topic:Problem with the bpmn tutorial
Next Topic:How to set multiple attachment points down side of Node?
Goto Forum:
  


Current Time: Thu Apr 25 01:11:17 GMT 2024

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

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

Back to the top