Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Changing the property of the element during Runtime
Changing the property of the element during Runtime [message #42963] Fri, 08 September 2006 10:57 Go to next message
Eclipse UserFriend
Originally posted by: ganesh.mohan.hp.com

Hello,

I have a element which reprsents a vxml tag say "connector". It has the
attributes filename. Is it possible on, runtime i can change the attribute
value of this connector such that when i right click on the figure and
select "show Properties", the updated value is shown.

i,e I right click on a figure , i get a combo box with list of filenames.
When i select a particular filename, i would like to set the filename
attribute of the figure with the selection i made. This change must
reflect in the properties when i right click on the figure and say "Show
Property".

Thanx,
Ganesh
Re: Changing the property of the element during Runtime [message #43253 is a reply to message #42963] Fri, 08 September 2006 13:39 Go to previous message
Eclipse UserFriend
Originally posted by: khai.n.situvista.com

If you want to add a right-click menu item to modify a property at
runtime then yes you can; there was a thread in the last couple of days
that has the sample code for it. Any changes you make using the given
code will have support for undo and redo, and will immediately show the
changes in the Properties View.

Look for "Custom action to change model element property" in this same
newsgroup.


-- Khai --

Ganesh Mohan wrote:
> Hello,
>
> I have a element which reprsents a vxml tag say "connector". It has the
> attributes filename. Is it possible on, runtime i can change the
> attribute value of this connector such that when i right click on the
> figure and select "show Properties", the updated value is shown.
>
> i,e I right click on a figure , i get a combo box with list of
> filenames. When i select a particular filename, i would like to set the
> filename attribute of the figure with the selection i made. This change
> must reflect in the properties when i right click on the figure and say
> "Show Property".
>
> Thanx,
> Ganesh
>
Previous Topic:contributing 'before' and 'after' commands without using inheritance
Next Topic:Custom action to change model element property
Goto Forum:
  


Current Time: Tue Jul 22 22:55:45 EDT 2025

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

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

Back to the top