|Re: See business object instances in the package explorer [message #903707 is a reply to message #903210]
||Thu, 23 August 2012 12:11
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
The Graphiti tutorial uses the Eclipse Common Navigator Framework for the
tree representation, not sure if this is what Thomas mentioned. You might
want to have a look into the Graphiti examples common plugin, the packages
under o.e.g.examples.common.navigator hold the required coding.
"Anis B." schrieb im Newsbeitrag news:firstname.lastname@example.org...
Sorry, this is a newbie question but I've been searching the whole day
yesterday with no luck. I am building an editor for a custom ontology based
on a meta-model expressed in ECore. So far I've managed to do what I
intended to do. However there is one thing that did work like by magic while
I did the tutorial and that I can't figure out how to customize to my
In the tutorial, when we add eclasses to the diagram and save it, the
instances so added appear in the Package Explorer under "EClasses". This is
perfect if we need to draw the same instance of the EClass on the diagram -
which we could do simply by dragging the Eclass from package explorer to the
In my application, I need to mimic this same behaviour. Some concepts of my
ontology are heavily linked to other concepts and instead of having the
connection lines all over the place (rendering the diagram unreadable) I
would like to be able add to the diagram multiple figures of the same
concept. Do you have an Idea how I could do that? Ideally, I would sort the
instances in the package explorer - i.e. instead of having everything
classified under Eclasses, I could create several categories so instances of
Dogs go under Dogs and instances of Cats go under Cats.
Sorry if my post is too verbose, I wanted to give you guys as much details
as I could. I hope you could help me out. Thanks in advance!!
Powered by FUDForum
. Page generated in 0.17914 seconds