Saving diagram drawn on the GMF Editor [message #758207] |
Tue, 22 November 2011 05:46  |
Eclipse User |
|
|
|
Hi All,
Is it possible to save the diagram which is drawn on the GMF Editor ?
Like If I draw some diagram on GMF Editor, When I open it next time I should be able to retrieve the diagram... This would save a lot of time from creating a diagram which is similar to my previous diagram.
Regards,
Vinay
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Saving diagram drawn on the GMF Editor [message #758497 is a reply to message #758480] |
Wed, 23 November 2011 08:07   |
Eclipse User |
|
|
|
Vinay,
You seem to be repeating yourself. If you open your generated editor
and hit Ctrl-O twice, you should be able to find the isDirty method.
Every thing a command is executed the editor should test this state again...
On 23/11/2011 1:22 PM, vinny503 wrote:
> Hi Ed Merks,
>
> I was asking about saving the previous diagram, But Is it possible to
> save all the diagrams, Like I draw different diagrams whenever I open
> a GMF Editor, So When I open it next time, Is it possible to retain
> the diagram which I have drawn 1st. Like saving it in hard disk.
>
> Regards,
> Vinay
|
|
|
Re: Saving diagram drawn on the GMF Editor [message #758506 is a reply to message #758497] |
Wed, 23 November 2011 08:54  |
Eclipse User |
|
|
|
Hi,
I am able to find isDirty() method in DiagramDocumentEditor class which is being extended by xxxDiagramEditor.java file, But since it is not present in xxxDiagramEditor.java file,So the Save and Save All will be enabled, But Save As...is still disabled.
Regards,
Vinay
|
|
|
Powered by
FUDForum. Page generated in 0.06351 seconds