Skip to main content



      Home
Home » Eclipse Projects » GEF » Does GEF Editor require a physical file as an input for opening???
Does GEF Editor require a physical file as an input for opening??? [message #104315] Mon, 10 November 2003 02:07 Go to next message
Eclipse UserFriend
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 #104361 is a reply to message #104315] Mon, 10 November 2003 09:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This is a workbench issue related to IEditorInput. I think it's possible,
but check w/ platform.

"anotherneatguy" <anotherneatguy@yahoo.com> wrote in message
news:bondad$rt8$1@eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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
Previous Topic:CenteringLayout
Next Topic:Connecting connections to connections ...
Goto Forum:
  


Current Time: Wed May 07 05:03:02 EDT 2025

Powered by FUDForum. Page generated in 0.03891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top