Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Problems with GEF diagram editor in a ViewPart
Problems with GEF diagram editor in a ViewPart [message #243410] Fri, 06 June 2008 02:45 Go to next message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
Hello.

I am pretty new to GEF and having some problems implementing a diagram
editor based on GEF inside a view.
I looked at the Digraph1 example and found out that it uses a
ScrollingGraphicalViewer inside the ViewPart. Can this implementation be
extended to the same degree as a GraphicalEditor (like drag, resize, add
items)?
One drawback I already see is that the GraphicalViewer doesn't seem to
have a palette (like GraphicalEditorWithPalette). Is it possible to have
tools like "SelectionToolEntry" or "MarqueeToolEntry" as actions in a
toolbar instead as tools in the palette? Is there an easy way to
accomplish this?

Best regards,
Kai
Re: Problems with GEF diagram editor in a ViewPart [message #243467 is a reply to message #243410] Mon, 09 June 2008 15:16 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Kai

Not sure I understand why your view would be editable with these features,
sounds more like you have an editor.

If this is a view, what is the content of your active editor when your GEF
view is open?

Cheers...
Anthony

"Kai Schlamp" <schlamp@gmx.de> wrote in message
news:72207094953b327cf7b5dc5206d73fe6$1@www.eclipse.org...
> Hello.
>
> I am pretty new to GEF and having some problems implementing a diagram
> editor based on GEF inside a view.
> I looked at the Digraph1 example and found out that it uses a
> ScrollingGraphicalViewer inside the ViewPart. Can this implementation be
> extended to the same degree as a GraphicalEditor (like drag, resize, add
> items)?
> One drawback I already see is that the GraphicalViewer doesn't seem to
> have a palette (like GraphicalEditorWithPalette). Is it possible to have
> tools like "SelectionToolEntry" or "MarqueeToolEntry" as actions in a
> toolbar instead as tools in the palette? Is there an easy way to
> accomplish this?
>
> Best regards,
> Kai
>
>
Previous Topic:Copy GEF diagram as WMF?
Next Topic:[Announce] GEF 3.4.0RC4 is available
Goto Forum:
  


Current Time: Thu Nov 27 05:48:31 GMT 2014

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

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