Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to add resize listener for CoolBarItem?
How to add resize listener for CoolBarItem? [message #463331] Thu, 03 November 2005 16:43 Go to next message
Eclipse UserFriend
Originally posted by: siegfried.heintze.com

I'm looking at
http://download.eclipse.org/eclipse/downloads/documentation/ 2.0/html/plugins/org.eclipse.platform.doc.isv/reference/api/ index.html
trying to figure out where the event types are defined.

function org.eclipse.swt.widgets.Widget.addListener accepts an integer event
type. Where are the integer values for this event types documented? I'm
assuming that I will be able to determine when the coolbar item is resized
and subsequently I can resize my org.eclipse.swt.widgets.Text according.

Is there an easier way to do this?

Thanks,
siegfried
Re: How to add resize listener for CoolBarItem? [message #463415 is a reply to message #463331] Fri, 04 November 2005 20:42 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
The integer event types are documented in the class SWT. You can also use
the more familiar Java Beans listener pattern.

"Siegfried Heintze" <siegfried@heintze.com> wrote in message
news:dkden2$nsa$1@news.eclipse.org...
> I'm looking at
>
http://download.eclipse.org/eclipse/downloads/documentation/ 2.0/html/plugins/org.eclipse.platform.doc.isv/reference/api/ index.html
> trying to figure out where the event types are defined.
>
> function org.eclipse.swt.widgets.Widget.addListener accepts an integer
event
> type. Where are the integer values for this event types documented? I'm
> assuming that I will be able to determine when the coolbar item is resized
> and subsequently I can resize my org.eclipse.swt.widgets.Text according.
>
> Is there an easier way to do this?
>
> Thanks,
> siegfried
>
>
Previous Topic:tableItem.setImage: unable to set different size images after first time?
Next Topic:open combobox' dropdown programmatically?
Goto Forum:
  


Current Time: Sat Apr 20 09:21:47 GMT 2024

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

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

Back to the top