Does GEF Editor require a physical file as an input for opening??? [message #104315] |
Mon, 10 November 2003 02:07  |
Eclipse User |
|
|
|
Hi All,
I have a requirement where my model can be opened by several editors.
My model is stored in One physical file, and lets say it contains several
namespaces.I would like to open each namespace in a
separate GEF editor.So one editor maps to one namespace,
and all the editors operate on the same model[containing different
namespaces]
So when the user clicks on a namespaceA in the Model view,nameSpaceA gets
opened in the editor.
Is this possible via GEF???If possible what could be the possible issues
that i may have to consider while saving ,undo,redo???
rgds,
Mark
|
|
|
|
Re: Does GEF Editor require a physical file as an input for opening??? [message #104371 is a reply to message #104315] |
Mon, 10 November 2003 09:33  |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.Rigidsoftware.com
No, it requires only an IEditorInput. I have an editor that edits some of
the parts in my drawing when you double click them. It takes as input
(basically) the model object. modifies it, and when its closed, the
original editor now contains an updated version since hey both held the
same object.
You determine what is behind your IEditorInput.
CL
On Mon, 10 Nov 2003 12:37:44 +0530, anotherneatguy wrote:
> Hi All,
>
> I have a requirement where my model can be opened by several editors. My
> model is stored in One physical file, and lets say it contains several
> namespaces.I would like to open each namespace in a separate GEF
> editor.So one editor maps to one namespace, and all the editors operate
> on the same model[containing different namespaces] So when the user
> clicks on a namespaceA in the Model view,nameSpaceA gets opened in the
> editor.
>
> Is this possible via GEF???If possible what could be the possible issues
> that i may have to consider while saving ,undo,redo???
>
> rgds,
> Mark
|
|
|
Powered by
FUDForum. Page generated in 0.03891 seconds