Skip to main content



      Home
Home » Eclipse Projects » GEF » GEF in a view?
GEF in a view? [message #169937] Mon, 28 February 2005 08:55 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Scrolling in a view
Next Topic:ruler context menu
Goto Forum:
  


Current Time: Mon Jun 23 21:57:38 EDT 2025

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

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

Back to the top