Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Programatic Selection of NamedElement in UMLEditor
Programatic Selection of NamedElement in UMLEditor [message #626856] Thu, 07 August 2008 14:48
Ronan B is currently offline Ronan BFriend
Messages: 273
Registered: July 2009
Senior Member
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,
Previous Topic:Associations
Next Topic:LiteralSpecification
Goto Forum:

Current Time: Fri Aug 12 13:15:46 GMT 2022

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

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

Back to the top