Hi,
I have a custom button widget which is inherited from JButton. I've added a custom event in it.
I want this custom event to be default event for that button widget, and I do not want action event to be seen.
I've used beaninfo class for that widget, and I've set getDefaultEVentIndex() and getEventSetDescriptors() API.
First question: When you click add event handler, WindowBuilder shows all events. İs it possible to show
only the ones in "getEventSetDescriptors()"?
Second question: When you double click the custom button in designer, it automatically adds "action" event.
Is it possible for the designer to use the one in "getDefaultEVentIndex()"?
Or am I doing something wrong?
Thanks in advance..
Window Builder 6.9.2 for Windows (Eclipse 3.4)