Skip to main content



      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 11:02 Go to next message
Eclipse UserFriend
Hello everybody,

I'm trying to obtain a "org.eclipse.graphiti.mm.pictograms.Diagram" 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...
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fjavadoc%2Forg%2Feclipse%2Fgraphiti%2Fui%2Feditor%2FDiagramEditorInput.html

Any suggestion or idea?
Thanks!
Re: org.eclipse.graphiti.ui.editor.DiagramEditorInput [message #1012919 is a reply to message #1012468] Fri, 22 February 2013 08:07 Go to previous message
Eclipse UserFriend
Alex,

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 http://help.eclipse.org/juno/index.jsp?nav=%2F22

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.

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


Current Time: Tue Jul 22 19:03:17 EDT 2025

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

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

Back to the top