|Re: Loading diagram provider when graphiti editor is to open [message #626137 is a reply to message #625913]
||Wed, 22 September 2010 07:26
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
Right. You would create your editor input object and pass it to the |
DiagramEditor. This could e.g. be done in an action that can be triggered
from a project explorer. In that case no overriding of the editor should be
"Ashwani Kr Sharma" <firstname.lastname@example.org> wrote in message
> Thanks Michael.
> The approach of overriding DiagramEditor is understood.
> About the other approach of creating my own input. I that case where will
> set the input to the editor ?
> I think in that i will need to create an action where i do it, or still
> override DiagramEditor and replace the input from FileEditorInput to mine
> in the init() method.
> Ashwani Kr Sharma
Powered by FUDForum
. Page generated in 0.01662 seconds