Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can i create new listener and attach to a widget with custom EventId(Can i create new listener and attach to a widget with custom EventId)
Can i create new listener and attach to a widget with custom EventId [message #1125087] Fri, 04 October 2013 02:24
PALANI SANKAR is currently offline PALANI SANKAR
Messages: 35
Registered: April 2013
Member
Hi All

I am having a doubt in SWT/JFace

I have a treeViewer can i add newListener in the way i defined below?

treeViewer.addListener(1000, new CustomListener()){// 1000 0r any integer for my custom usage

MyMethod(){

}

}

can i pass my own id and can i use the custom listener?If i am correct i ll proceed with the approach.

Thanks
Palani


Thanks
Palani
Previous Topic:Diagonal Gradient
Next Topic:How to wrap the description on the first page of wizard
Goto Forum:
  


Current Time: Sat Aug 30 02:29:08 EDT 2014

Powered by FUDForum. Page generated in 0.01449 seconds