GEF in a view? [message #169937] |
Mon, 28 February 2005 08:55  |
Eclipse User |
|
|
|
Originally posted by: junk.junk.com
Hi,
I am trying to have a GEF editor in an Eclipse view. I know GEF is usually
used in an Editor, but I have a plugin that needs a single instance of the
editor, so I'd rather have everything in a view.
The eclipse documentation gave me some hope because it reads "The majority
of GEF applications will be Eclipse Editors (IEditorPart). Although this
is not required, we will generally assume that this is the case.".
So I tried creating my ScrollingGraphicalViewer in my view, and I tried to
work my way through exceptions. But I got to a point where I needed an
EditDomain and the only
|
|
|
Re: GEF in a view? [message #170560 is a reply to message #169937] |
Sat, 05 March 2005 06:29  |
Eclipse User |
|
|
|
Creating a GEF viewer in an Eclipse View is perfectly fine. Just do the
same things that you would in an Editor. As for the EditDomain, you can
just create a new DefaultEditDomain (which will also give you a command
stack).
"mberube" <junk@junk.com> wrote in message
news:cvv7td$3et$1@www.eclipse.org...
> Hi,
>
> I am trying to have a GEF editor in an Eclipse view. I know GEF is usually
> used in an Editor, but I have a plugin that needs a single instance of the
> editor, so I'd rather have everything in a view.
>
> The eclipse documentation gave me some hope because it reads "The majority
> of GEF applications will be Eclipse Editors (IEditorPart). Although this
> is not required, we will generally assume that this is the case.".
>
> So I tried creating my ScrollingGraphicalViewer in my view, and I tried to
> work my way through exceptions. But I got to a point where I needed an
> EditDomain and the only
>
|
|
|
Powered by
FUDForum. Page generated in 0.03942 seconds