Skip to main content



      Home
Home » Archived » Visual Editor (VE) » How to remove Properties from the Property Sheet
How to remove Properties from the Property Sheet [message #106307] Mon, 12 September 2005 21:07 Go to next message
Eclipse UserFriend
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
Re: How to remove Properties from the Property Sheet [message #106432 is a reply to message #106307] Tue, 13 September 2005 10:02 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't really recommand doing that. It has been tried in the past but
it causes problems. This is because the VE expects certain properties to
be there just to handle it. For example bounds are needed if the visual
is not in a composite that has a layout assigned.

--
Thanks,
Rich Kulp
Re: How to remove Properties from the Property Sheet [message #610753 is a reply to message #106307] Tue, 13 September 2005 10:02 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't really recommand doing that. It has been tried in the past but
it causes problems. This is because the VE expects certain properties to
be there just to handle it. For example bounds are needed if the visual
is not in a composite that has a layout assigned.

--
Thanks,
Rich Kulp
Previous Topic:Editor cannot be changed at this time
Next Topic:Editor cannot be changed at this time
Goto Forum:
  


Current Time: Thu May 08 17:52:54 EDT 2025

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

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

Back to the top