Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Changes in latest Graphiti build
Changes in latest Graphiti build [message #784593] Fri, 27 January 2012 13:47 Go to previous message
Martin Fluegge is currently offline Martin Fluegge
Messages: 141
Registered: July 2009
Senior Member
Hi @all,

I am experiencing some problems with the latest build of Graphiti. It
seems that Graphiti has changed slighty, which influences Dawn’s
Graphiti extension. Although the version is the same (0.9.0) there are
some difference between today’s build and the one from last November.

Maybe someone can point me to the right way to fix the problems before I
start digging through the Code ;)

1.) DiagramEditor.doSave(IProgressMonitor monitor) has been made final.
Dawn overwrites this method to influence the save behaviour. Actually it
would be nice if the method could be made non-final again, if there are
no serious reasons for it.

2.) The method getDiagram() has been remove from the DiagramEditorInput.
Internally I am also using this method when Iam setting the input in the
editor to retrieve the diagram’s resource. I think I could parse the
resource set from the editingdomain to find this resource, but maybe
there is a more elegant way in Graphiti to retrieve the resource, may
some Util class?

3.) The constructor DiagramEditorInput(URI, TransactionalEditingDomain,
String, boolean) has disappeared. This might have something to with 2.)
as the editing domain was only used for getting the diagram, so if 2.)
is solved this one is obsolete. :)

Thanks in advance and have a nice weekend. :)

Cheers,

Martin
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:image creation without opening an editor possible?
Next Topic:Zoom/Scaling issues with borders/connections
Goto Forum:
  


Current Time: Sat May 18 21:46:18 EDT 2013

Powered by FUDForum. Page generated in 0.01632 seconds