Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » changing values programmatically at UML model
changing values programmatically at UML model [message #716382] Wed, 17 August 2011 08:51 Go to next message
Atif Javed is currently offline Atif JavedFriend
Messages: 21
Registered: March 2010
Junior Member
Hello Friends,

I want to change some values at UML model programmatically. I am able to get values but don't have idea about how to change and update values at UML model. Any help is appreciated.

Regards,
Atif/
Re: changing values programmatically at UML model [message #716478 is a reply to message #716382] Wed, 17 August 2011 14:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26289
Registered: July 2009
Senior Member
Call the setX(value) methods or use getX().add(value) methods if it's
multi-valued.

On 17/08/2011 1:51 AM, Muhammad Atif Javed wrote:
> Hello Friends,
>
> I want to change some values at UML model programmatically. I am able
> to get values but don't have idea about how to change and update
> values at UML model. Any help is appreciated.
>
> Regards,
> Atif/
>
Re: changing values programmatically at UML model [message #716713 is a reply to message #716382] Thu, 18 August 2011 08:00 Go to previous message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
You can change value either like Ed says using java code or if you are not an experienced Eclipse developer then you can open the .uml file with the UML Editor. You can see the structure of the model and if you click on a model element and open the property tab you would be able to change value manually.
Hope this help.
Previous Topic:How to draw diagrams in Indigo?
Next Topic:Stereotypes are not applied to exported MD-xmi files
Goto Forum:
  


Current Time: Mon Dec 22 17:43:44 GMT 2014

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

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