Skip to main content



      Home
Home » Eclipse Projects » GEF » Two palettes in the same editor
Two palettes in the same editor [message #226639] Mon, 20 November 2006 06:02 Go to next message
Eclipse UserFriend
Originally posted by: vconesa.hotmail.com

Hello,

We'd like to use two palettes inside the same editor and we've found it
impossible. But we have seen that SWTDesignerPro has two palettes, and we
suspect that they have inserted an editor inside the main editor. We'd like
to do the same but we don't know how. Can anybody help us please?

Victor Conesa Ribelles
justInMind
www.justinmind.com
e-mail: info@justinmind.com
Re: Two palettes in the same editor [message #226678 is a reply to message #226639] Mon, 20 November 2006 15:49 Go to previous message
Eclipse UserFriend
Hi Victor

Look at the GraphicalEditorWithPalette class and review the
createPartControl() method.

GraphicalEditorWithPalette makes use of an SWT Splitter to divide the editor
into a graphical viewer and palette viewer.

In your editor, provide two SWT Splitter to divide your editor into a
graphical viewer and two palette viewers.

Cheers...
Anthony

"Victor Conesa" <vconesa@hotmail.com> wrote in message
news:ejs1uk$sto$1@utils.eclipse.org...
> Hello,
>
> We'd like to use two palettes inside the same editor and we've found it
> impossible. But we have seen that SWTDesignerPro has two palettes, and we
> suspect that they have inserted an editor inside the main editor. We'd
> like to do the same but we don't know how. Can anybody help us please?
>
> Victor Conesa Ribelles
> justInMind
> www.justinmind.com
> e-mail: info@justinmind.com
>
>
Previous Topic:How to make example work?
Next Topic:the problem I add a image in editor
Goto Forum:
  


Current Time: Thu May 15 16:43:03 EDT 2025

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

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

Back to the top