L & F [message #445253] |
Fri, 29 October 2004 13:26  |
Eclipse User |
|
|
|
Originally posted by: mark.huenken.web.de
Hi,
I know that SWT/JFace is not designed for customized look & feels, but I
still wonder if there are any recommended strategies how to build them.
Suppose that you have designed your own button: how do I make use of this
button in a standard composite SWT component that is incorporating a
standard button that I would replace with my own? Or can I only use it
inside my own custom composite components?
How far (if at all) can I go? Is it possible to use standard JFace
components that are incorporating my own components?
I know, there is no concept of a "pluggable" look and feel in SWT so there
are probably no easy answers to these questions, but I would also be
interested in solutions that are not that pretty (code copying of standard
composites to a customized L & F package etc.)
I would appreciate any thoughts on this.
Thanks,
Mark
|
|
|
Re: L & F [message #445287 is a reply to message #445253] |
Mon, 01 November 2004 11:43  |
Eclipse User |
|
|
|
Hi Mark,
The following article about the implementation of custom widgets in swt
should provide a good starting point:
http://eclipse.org/articles/Article-Writing%20Your%20Own%20W idget/Writing%20Your%20Own%20Widget.htm .
Grant
"markh" <mark.huenken@web.de> wrote in message
news:cltufb$esj$1@eclipse.org...
> Hi,
>
> I know that SWT/JFace is not designed for customized look & feels, but I
> still wonder if there are any recommended strategies how to build them.
>
> Suppose that you have designed your own button: how do I make use of this
> button in a standard composite SWT component that is incorporating a
> standard button that I would replace with my own? Or can I only use it
> inside my own custom composite components?
>
> How far (if at all) can I go? Is it possible to use standard JFace
> components that are incorporating my own components?
>
> I know, there is no concept of a "pluggable" look and feel in SWT so there
> are probably no easy answers to these questions, but I would also be
> interested in solutions that are not that pretty (code copying of standard
> composites to a customized L & F package etc.)
>
> I would appreciate any thoughts on this.
>
> Thanks,
> Mark
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03960 seconds