Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to keep active the model outline
How to keep active the model outline [message #1060371] Fri, 24 May 2013 06:35 Go to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

I am have a problem similar to this previous post

http://www.eclipse.org/forums/index.php/t/481691/

I do have an already existing XText grammr to which corresponds an ECORE meta-model and I am developing a Graphiti editor for it. Now I'd like to drag and drop elements from a model, instance of this meta-model, to the Graphiti editor. The problem is that I'd like the XText outline to be active at the same time of the Graphiti editor. What instead happens is that the when I select the Graphiti editor I get an empty outline.


Follow me on Twitter @andreasindico

Re: How to keep active the model outline [message #1060580 is a reply to message #1060371] Mon, 27 May 2013 03:20 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

Any advice would be very welcome

Follow me on Twitter @andreasindico

Re: How to keep active the model outline [message #1060767 is a reply to message #1060580] Tue, 28 May 2013 07:48 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1527
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Andrea,

the examples.common plugin implements an exemplary outline. See packages
org.eclipse.graphiti.examples.common.outline and
org.eclipse.graphiti.examples.common.outline.tree.

This should give you an idea how to activate the outline page you want to
see.

Michael
Re: How to keep active the model outline [message #1062700 is a reply to message #1060767] Mon, 10 June 2013 08:24 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea Sindico
Messages: 266
Registered: November 2010
Senior Member

Hi Michael,
I have the jar files in my plugins folder but I can't see how to use the examples Sad


Follow me on Twitter @andreasindico

Re: How to keep active the model outline [message #1064068 is a reply to message #1062700] Mon, 17 June 2013 09:32 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1527
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Andrea,

you can import that plugin using the "import plug-ins and fragments wizard"
under File --> Import. There you can also choose to add the sources (source
plugins are also provided by Graphiti SDK).

Michael
Previous Topic:Diagram Validation Decoration
Next Topic:decorating visual representation of business objects with icons provided from outside of the editor
Goto Forum:
  


Current Time: Fri Apr 18 01:43:31 EDT 2014

Powered by FUDForum. Page generated in 0.19941 seconds