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: 23
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.

Regards
Girish

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

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?

Michael
Re: opening Editor without resource file [message #1400582 is a reply to message #1125383] Mon, 14 July 2014 08:20 Go to previous message
Girish Kumar is currently offline Girish Kumar
Messages: 23
Registered: May 2011
Junior Member
Yes It doesn't work.. DiagramEditorInput requires URI

Regards
Girish
Previous Topic:How to execite graphiti application from commandline
Next Topic:Manhattan Connection Router
Goto Forum:
  


Current Time: Fri Aug 29 18:21:27 EDT 2014

Powered by FUDForum. Page generated in 0.01557 seconds