Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Customize standard UML Editor to hide selected elements?
Customize standard UML Editor to hide selected elements? [message #473642] Wed, 04 July 2007 03:32 Go to next message
Jon Kosmoski is currently offline Jon KosmoskiFriend
Messages: 5
Registered: July 2009
Junior Member
Hi, Double-clicking a .uml file opens it in the standard UML Editor (as a
tree) implemented by the org.eclipse.uml2.uml.editor.presentation.UMLEditor
class. I would like to have this editor view not show the Association
elements under a Package. Is there a way to inject some filtering into the
standard editor. If not, is my best bet to implement my own UML editor that
supercedes the standard one?
Thanks for any assistance that anyone can offer, - Jon
Re: Customize standard UML Editor to hide selected elements? [message #473762 is a reply to message #473642] Thu, 05 July 2007 12:48 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Jon,

The editor provided in UML2 is really just a sample. While this sample
provides no mechanism to filter elements, it's certainly possible to create
your own (derived) editor that provides the functionality you are looking
for. Note that the editor that gets launched by default for a given file
extension can be configured in Eclipse, so it's also possible for you to
register your custom editor against the '.uml' file extension...

Kenn

"Jon Kosmoski" <jkosmoski@snotmail.com> wrote in message
news:f6f4c6$e1m$1@build.eclipse.org...
> Hi, Double-clicking a .uml file opens it in the standard UML Editor (as a
> tree) implemented by the
> org.eclipse.uml2.uml.editor.presentation.UMLEditor class. I would like to
> have this editor view not show the Association elements under a Package.
> Is there a way to inject some filtering into the standard editor. If not,
> is my best bet to implement my own UML editor that supercedes the standard
> one?
> Thanks for any assistance that anyone can offer, - Jon
>
>
>
Re: Customize standard UML Editor to hide selected elements? [message #622815 is a reply to message #473642] Thu, 05 July 2007 12:48 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Jon,

The editor provided in UML2 is really just a sample. While this sample
provides no mechanism to filter elements, it's certainly possible to create
your own (derived) editor that provides the functionality you are looking
for. Note that the editor that gets launched by default for a given file
extension can be configured in Eclipse, so it's also possible for you to
register your custom editor against the '.uml' file extension...

Kenn

"Jon Kosmoski" <jkosmoski@snotmail.com> wrote in message
news:f6f4c6$e1m$1@build.eclipse.org...
> Hi, Double-clicking a .uml file opens it in the standard UML Editor (as a
> tree) implemented by the
> org.eclipse.uml2.uml.editor.presentation.UMLEditor class. I would like to
> have this editor view not show the Association elements under a Package.
> Is there a way to inject some filtering into the standard editor. If not,
> is my best bet to implement my own UML editor that supercedes the standard
> one?
> Thanks for any assistance that anyone can offer, - Jon
>
>
>
Previous Topic:Referencing a uml model element from a ecore model
Next Topic:introduction to uml2 profiles
Goto Forum:
  


Current Time: Fri Apr 26 23:55:08 GMT 2024

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

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

Back to the top