How to remove Properties from the Property Sheet [message #610744] |
Tue, 13 September 2005 01:07 |
Eclipse User |
|
|
|
Originally posted by: xxx.yahoo.com
I have followed the "Extending the Visual Editor" tutorial to create
custom swt widgets
and added some properties. I just want to show only the properties that I
added and remove
the rest of it like bounds, background etc..
public BeanInfo[] getAdditionalBeanInfo() {
return null;
}
didn't remove the additional properties
I looked into the Ve code for SWT and saw all SWT BeanInfo classes
extending from IvjBeanInfo and in the tutorial it says to extend from
SimpleBeanInfo for SWT widgets.
I read that SWT widgets are not complete Java Bean and properties like
fieldname are annotations. How to remove the annotations from the property
sheet.
Do I have to write the Decoders for all the custom widgets?
Also, Do I need to do more than the tutorial to create custom widgets in
VE?
Thanks in Advance,
--ConfusedBean
|
|
|
Powered by
FUDForum. Page generated in 0.02191 seconds