Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » CheckBoxCellEditor in property field
CheckBoxCellEditor in property field [message #301053] Wed, 22 March 2006 11:53
Eclipse UserFriend
Hello

I'm trying to create a property field in the property sheet.
This property field should contain a CheckBox.

I'm using the CheckBoxCellEditor class but I can't get it to work.

I've tried the following, which is analog to the TextPropertyDescriptor:


Does anyone have any idea what my mistake is?

Thanx andy

public class CheckBoxDesciptor extends PropertyDescriptor {

public CheckBoxDesciptor(Object id, String displayName) {
super(id, displayName);
}
public CellEditor createPropertyEditor(Composite parent) {
CheckboxCellEditor editor = new CheckboxCellEditor(parent);
if (getValidator() != null)
editor.setValidator(getValidator());
return editor;
}
}
Previous Topic:How to include CVS $ Id: $ in XML documents
Next Topic:@WebService annotation
Goto Forum:
  


Current Time: Sat May 10 01:37:46 EDT 2025

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

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

Back to the top