Changing the property of the element during Runtime [message #42963] |
Fri, 08 September 2006 10:57  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.13729 seconds