Problems with GEF diagram editor in a ViewPart [message #243410] |
Thu, 05 June 2008 22:45  |
Eclipse User |
|
|
|
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 11:16  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03266 seconds