myerramalli wrote:Sorry, I cannot post the source of the Button.
You have stated the following sentence in your previous email,
>If you subclass an existing SWT widget, your subclass will inherit all of the superclass's properties. If your widget further defines public getter/setter pairs, those will be picked up as custom properties.
The above custom widget does have public getter/setter methods, but the designer does not show them on the pallette. How can I see the custom properties?
myerramalli wrote:Sorry for the confusion. I am not aware that I am positing the message in the Swing Designer support . thank you for the patient reply.
I don't see the Custom node in the property pallatte. I will get back to you .
myerramalli wrote:Since the file is big . I have sent the file as attachment to email@example.com
Please post your response in this thread.
myerramalli wrote:Here are 2 variations
1. Created a project, created a class, pasted the code of Custom Widget,built the project and placed the custm widget on the Custom Controls pallette.Created a swt application and layed out the widget.
-> I was able to see the custom properties in the property pallette
2. Created a project, included the jar file that contains my custom Widgets. placed the widgets on the Custom Controls, created a swt application and layed out the widget.
-->Could not see the custom properties
Why does not designer able to recognize the properties when the widgets come from a jar file?
Users browsing this forum: Google [Bot] and 1 guest