Pallete is not refreshing [message #168929] |
Sun, 20 February 2005 00:26  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03008 seconds