Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » L & F
L & F [message #445253] Fri, 29 October 2004 17:26 Go to next message
Eclipse UserFriend
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 16:43 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
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
>
>
Previous Topic:org.eclipse.jface.util.Assert$AssertionFailedException Caused by Display == null
Next Topic:TableViewer & table cell color
Goto Forum:
  


Current Time: Thu Apr 18 03:47:28 GMT 2024

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

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

Back to the top