Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT ColorDialog listener registration
SWT ColorDialog listener registration [message #437293] Wed, 02 June 2004 17:26 Go to next message
selim is currently offline selimFriend
Messages: 31
Registered: July 2009
Member
ColorDialog has no method to add any listener.
How can I get ColorDialog registered mouselistener or a listener?
ColorDialog.getParent() does not work.
Thanks.
Re: SWT ColorDialog listener registration [message #437373 is a reply to message #437293] Thu, 03 June 2004 13:02 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You can't. Dialogs in SWT are quite platform specific. As such, they are
presented as "lumps of functionality" rather than exposing the widgets
underneath (which vary wildy between platforms). Why do you need to do
this?

"Selim Yucel" <selimyucel@yahoo.com> wrote in message
news:c9l2kf$jif$1@eclipse.org...
> ColorDialog has no method to add any listener.
> How can I get ColorDialog registered mouselistener or a listener?
> ColorDialog.getParent() does not work.
> Thanks.
>
Re: SWT ColorDialog listener registration [message #437385 is a reply to message #437373] Thu, 03 June 2004 13:28 Go to previous messageGo to next message
selim is currently offline selimFriend
Messages: 31
Registered: July 2009
Member
I have a plugin application which is a 3DViewer. I like to set the back
ground color of viewer canvas instantly while the mouse moves on
gradiently painted custom color defining canvas of ColorDialog.
If I could find a way of reaching ColorDialog canvas, It would solve the
problem.
Thanks.



Steve Northover wrote:

> You can't. Dialogs in SWT are quite platform specific. As such, they are
> presented as "lumps of functionality" rather than exposing the widgets
> underneath (which vary wildy between platforms). Why do you need to do
> this?

> "Selim Yucel" <selimyucel@yahoo.com> wrote in message
> news:c9l2kf$jif$1@eclipse.org...
> > ColorDialog has no method to add any listener.
> > How can I get ColorDialog registered mouselistener or a listener?
> > ColorDialog.getParent() does not work.
> > Thanks.
> >
Re: SWT ColorDialog listener registration [message #437543 is a reply to message #437385] Mon, 07 June 2004 14:21 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You won't be able to do this without writing your own color dialog. As I
said, the operating system color dialogs are all totally different.

"Selim Yucel" <selimyucel@yahoo.com> wrote in message
news:c9n91h$9fd$1@eclipse.org...
> I have a plugin application which is a 3DViewer. I like to set the back
> ground color of viewer canvas instantly while the mouse moves on
> gradiently painted custom color defining canvas of ColorDialog.
> If I could find a way of reaching ColorDialog canvas, It would solve the
> problem.
> Thanks.
>
>
>
> Steve Northover wrote:
>
> > You can't. Dialogs in SWT are quite platform specific. As such, they
are
> > presented as "lumps of functionality" rather than exposing the widgets
> > underneath (which vary wildy between platforms). Why do you need to do
> > this?
>
> > "Selim Yucel" <selimyucel@yahoo.com> wrote in message
> > news:c9l2kf$jif$1@eclipse.org...
> > > ColorDialog has no method to add any listener.
> > > How can I get ColorDialog registered mouselistener or a listener?
> > > ColorDialog.getParent() does not work.
> > > Thanks.
> > >
>
>
Previous Topic:StyledText + Scrollbar issues
Next Topic:Accessibility for MenuItem, TreeItem
Goto Forum:
  


Current Time: Sat May 04 22:22:29 GMT 2024

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

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

Back to the top