| Changes in latest Graphiti build [message #784593] |
Fri, 27 January 2012 13:47  |
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
|
|
|