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

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: 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: Sun Apr 18 00:38:56 GMT 2021

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

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

Back to the top