Skip to main content



      Home
Home » Eclipse Projects » GEF » Multiple Views in one Editor?
Multiple Views in one Editor? [message #47168] Wed, 04 December 2002 09:22 Go to next message
Eclipse UserFriend
Hello Guys!

I want to show two different views using GEF. The user should be able to
drag Objects from one view to the other. The data for both views is obtained
through an RMI-Connection, so I don't need two Editors to handle different
file types.
Now I don't know what is the best solution for this:
1. Use two Editors and somehow handle Drag and Drop between them.
2. Use one Editor and two Viewers, seperated by a Splitter. This would be
much like GraphicalEditorWithPalette.

I tried to go the second way, but stopped to think as I saw that Splitter
has only Package access rights - is that a sign that multiple views in one
Editor should not be used?
Would it be difficult to implement drag'n drop between two different
Editors?
Which solution would you recommend?

Thanks for any Feedback! :-)

Manfred Goetz.
Re: Multiple Views in one Editor? [message #47263 is a reply to message #47168] Wed, 04 December 2002 10:16 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.us.eye-bee-em.com

You can use SashForm from SWT. The only difference in Splitter is that way
the separator is painted.

"Manfred Goetz" <xgoetz@de.ibm.com> wrote in message
news:asl2ud$8ob$1@rogue.oti.com...
> Hello Guys!
>
> I want to show two different views using GEF. The user should be able to
> drag Objects from one view to the other. The data for both views is
obtained
> through an RMI-Connection, so I don't need two Editors to handle different
> file types.
> Now I don't know what is the best solution for this:
> 1. Use two Editors and somehow handle Drag and Drop between them.
> 2. Use one Editor and two Viewers, seperated by a Splitter. This would be
> much like GraphicalEditorWithPalette.
>
> I tried to go the second way, but stopped to think as I saw that Splitter
> has only Package access rights - is that a sign that multiple views in one
> Editor should not be used?
> Would it be difficult to implement drag'n drop between two different
> Editors?
> Which solution would you recommend?
>
> Thanks for any Feedback! :-)
>
> Manfred Goetz.
>
>
>
Previous Topic:enforcing order of child figures in a editpart
Next Topic:Clipboard
Goto Forum:
  


Current Time: Fri May 09 18:42:48 EDT 2025

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

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

Back to the top