Layers [message #200851] |
Thu, 27 October 2005 21:11 |
Eclipse User |
|
|
|
Originally posted by: eriksen.ai.sri.com
How do I add figures to different layers? I have searched google for
examples and I can't find anything about GEF and Layers. Please help.
I would like to have 3 layers: background, foreground and selection layer.
How do I do this? How do I setup rules for my figures to be added to the
right layers?
Example code or pointers are appreciated.
Thanks,
Michael
|
|
|
Re: Layers [message #201118 is a reply to message #200851] |
Sat, 29 October 2005 10:38 |
Eclipse User |
|
|
|
Originally posted by: mvsteenbergen.eljakim.scratch-this.nl
You just create the layers yourself (new Layer()) and add child figures
(layer.add(child)).
M.
Michael A. Eriksen wrote:
> I would like to have 3 layers: background, foreground and selection layer.
> How do I do this? How do I setup rules for my figures to be added to the
> right layers?
|
|
|
Re: Layers [message #201585 is a reply to message #200851] |
Wed, 02 November 2005 00:23 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Put the layers in a LayeredPane.
"Michael A. Eriksen" <eriksen@ai.sri.com> wrote in message
news:djrfpg$1uk$1@news.eclipse.org...
> How do I add figures to different layers? I have searched google for
> examples and I can't find anything about GEF and Layers. Please help.
>
>
>
> I would like to have 3 layers: background, foreground and selection layer.
> How do I do this? How do I setup rules for my figures to be added to the
> right layers?
>
>
>
> Example code or pointers are appreciated.
>
>
>
> Thanks,
>
>
>
> Michael
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02401 seconds