Programatic Selection of NamedElement in UMLEditor [message #626856] |
Thu, 07 August 2008 14:48 |
Ronan B Messages: 273 Registered: July 2009 |
Senior Member |
|
|
Hi,
I hope I have chosen the right newsgroup for my issue. Please correct me
if I am wrong.
I have taken the org.eclipse.uml2.uml.editor.presentation.UMLEditor from
CVS and have added in a method public void
propertyChange(PropertyChangeEvent event) to enable the editor to hear
PropertyChangedEvents from another custom plugin (with no GUI). This
propertyChange unpacks the event, containing a NamedElement, and calls
setSelection() to update the currently selected. The status bar in the
editor is selected but the main editor does nothing. It doesn't seem to
understand the NamedElement even though it is in its model.
Any help is much appreciated as I have exhausted all the approaches I can
think of.
Kind Regards,
Ronan
|
|
|
Powered by
FUDForum. Page generated in 0.57293 seconds