Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » opening Editor without resource file(opening Editor without resource file)
opening Editor without resource file [message #1122130] Tue, 01 October 2013 04:59 Go to next message
Girish Kumar is currently offline Girish Kumar
Messages: 17
Registered: May 2011
Junior Member
Hi Friends,

I want to use Graphiti for Some Dependency Analysis.(Read Only)

Actually the Models are created using xtext Editor.

After Modeling is done, I need to open an editor showing dependency between nodes.

So In this case, I actually don't need to create resource or file.

GEF used to take the Model Object as Input(setInput in Editor Class) but Graphiti takes IFile

Also The Layouting was decided by the Figure, But I dont see any way.

Can i anybody help me out in solving this.


Re: opening Editor without resource file [message #1125383 is a reply to message #1122130] Fri, 04 October 2013 08:59 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1531
Registered: July 2009
Location: Walldorf, Germany
Senior Member

some parts of the editor integration require files, but in general a
Graphiti editor should open based upon a diagram URI. Have you tried open
the editor using the openEditor methods in WorkbenchPage passing a
DiagramEditorInput object?

Previous Topic:hide PaletteCompartmentEntry object
Next Topic:Move parent through children
Goto Forum:

Current Time: Wed Apr 23 20:02:33 EDT 2014

Powered by FUDForum. Page generated in 0.01693 seconds