Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » org.eclipse.graphiti.ui.editor.DiagramEditorInput(The method getDiagram() is undefined for the type DiagramEditorInput)
icon4.gif  org.eclipse.graphiti.ui.editor.DiagramEditorInput [message #1012468] Thu, 21 February 2013 16:02 Go to next message
Alex Stud is currently offline Alex StudFriend
Messages: 1
Registered: February 2013
Junior Member
Hello everybody,

I'm trying to obtain a "" from "org.eclipse.graphiti.ui.editor.DiagramEditorInput".

I'm developing the plug-in with EclipsePDE but it says that this class does not have the "getDiagram()" method.

But the documentation says that it should have...

Any suggestion or idea?
Re: org.eclipse.graphiti.ui.editor.DiagramEditorInput [message #1012919 is a reply to message #1012468] Fri, 22 February 2013 13:07 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1894
Registered: July 2009
Location: Walldorf, Germany
Senior Member

there is a mixture of versions. Probably you use Graphiti 0.9.x (part of
Eclipse Juno), while you refer to the Graphiti 0.8.x (part of Indigo)
documentation. The link below points to the Indigo docu at least. The Juno
version is at

The background is that there was an (incompatible) change in the editor API
also affecting DiagramEditorInput. It now stores only a URI of the diagram,
which means that you will need an editing domain to actually resolve teh
diagram instance.

Previous Topic:Drawing 2 different connections for same source and target pictograms
Next Topic:Disable reconnection
Goto Forum:

Current Time: Mon Jun 25 14:22:36 GMT 2018

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

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

Back to the top