Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to set label text programmatically
how to set label text programmatically [message #498584] Tue, 17 November 2009 15:19 Go to next message
Yuzhang Han is currently offline Yuzhang HanFriend
Messages: 19
Registered: September 2009
Junior Member
Hi there,
could anyone tell me how to set the text of a label of a node in the program? many thanx!
Re: how to set label text programmatically [message #498614 is a reply to message #498584] Tue, 17 November 2009 16:46 Go to previous message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member
Hi,

you could either use a SetCommand or an AbstractEMFOperation to change an atribute in your diagram programmatically.

Best regards,
Artur

Yuzhang Han wrote on Tue, 17 November 2009 10:19
Hi there,
could anyone tell me how to set the text of a label of a node in the program? many thanx!

Previous Topic:CAN NOT CHANGE AN ICON IN THE PALETTE
Next Topic:Graphical Editor from DTD: How to handle CDATA references?
Goto Forum:
  


Current Time: Fri Apr 19 15:38:44 GMT 2024

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

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

Back to the top