Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Two palettes in the same editor
Two palettes in the same editor [message #226639] Mon, 20 November 2006 11: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 20:49 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
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: Wed Apr 24 18:19:05 GMT 2024

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

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

Back to the top