Skip to main content


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 08:59 Go to next message
Girish Kumar is currently offline Girish KumarFriend
Messages: 48
Registered: May 2011
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 12:59 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
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 12:20 Go to previous message
Girish Kumar is currently offline Girish KumarFriend
Messages: 48
Registered: May 2011
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 Apr 26 14:11:38 GMT 2024

Powered by FUDForum. Page generated in 0.05067 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top