|
Re: nested palette containers [message #221552 is a reply to message #221531] |
Tue, 15 August 2006 18:12 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Stacks could always be used inside drawers.
"Sebastian Gurin" <sgurin@montevideo.com.uy> wrote in message
news:20060815114812.333b7fe0@localhost.localdomain...
> Hi
>
> Well, I want to have nested palette containers in my editor in GEF 3.1. I
> tried all
> the containers combination possible but don't work (
>
> java.lang.IllegalArgumentException: This container can not contain this
> type of child: $PaletteStack
> at org.eclipse.gef.palette.PaletteContainer.add(PaletteContaine r.java:77)
>
> )
>
> A PaletteStack inside a PaletteDrawer would be nice, but also nested
> PaletteStack would
> be ok. Nevertheless, it seems that this don't work in gef3.1.
>
> Well, Is there a way to have some kind of nested PaletteContainers in
> gef3.1 (I don't see
> viable to update my project to a new gef version now). What I want to have
> is something like
> the predefined shapes in msword:
>
> PredefinedShapes --> the only "desplegable" button in the palette
> |--Stars
> |--Star1
> |--Star2
> |--Arrows
> |--Arrow1
> ...
>
> Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.06051 seconds