Skip to main content



      Home
Home » Eclipse Projects » GEF » Pallete is not refreshing
Pallete is not refreshing [message #168929] Sun, 20 February 2005 00:26 Go to next message
Eclipse UserFriend
Originally posted by: lic.gmail.com

hi,
I migrate from gef 2 to gef 3 and when I open the editor, the pallete is
not displaying properly, I debug and the information is there. But when
the editor is opened, the palette is not there, just a white box is showed.

Do I need to refresh the palette?

I think I set the information properly

PaletteViewer paletteViewer = new PaletteViewer();
paletteViewer.createControl(canvas);
((DefaultEditDomain) getDomain()).setPaletteViewer(paletteViewer);
((DefaultEditDomain) getDomain()).setPaletteRoot(getPaletteRoot());


Anyone has any idea about why my editor is not showing the palette?

Thanks in advance
Re: Pallete is not refreshing [message #170576 is a reply to message #168929] Sat, 05 March 2005 06:51 Go to previous message
Eclipse UserFriend
Can you provide some more details? Are you using GEF in an editor? Which
one of the editors? What did you do when migrating from GEF 2 to 3?

"lic " <lic@gmail.com> wrote in message news:cv971u$igk$1@www.eclipse.org...
> hi,
> I migrate from gef 2 to gef 3 and when I open the editor, the pallete is
> not displaying properly, I debug and the information is there. But when
> the editor is opened, the palette is not there, just a white box is
showed.
>
> Do I need to refresh the palette?
>
> I think I set the information properly
>
> PaletteViewer paletteViewer = new PaletteViewer();
> paletteViewer.createControl(canvas);
> ((DefaultEditDomain) getDomain()).setPaletteViewer(paletteViewer);
> ((DefaultEditDomain) getDomain()).setPaletteRoot(getPaletteRoot());
>
>
> Anyone has any idea about why my editor is not showing the palette?
>
> Thanks in advance
>
Previous Topic:ruler context menu
Next Topic:GEF as RCP ?
Goto Forum:
  


Current Time: Sun Jun 15 12:05:09 EDT 2025

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

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

Back to the top