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: 257
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: 257
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 message
Michael Wenz is currently offline Michael Wenz
Messages: 1275
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
Previous Topic:Graphiti as RCP
Next Topic:AddFeature in Palette
Goto Forum:
  


Current Time: Tue May 28 14:14:08 EDT 2013

Powered by FUDForum. Page generated in 0.01506 seconds