Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CheckBoxCellEditor in Propertsheet
CheckBoxCellEditor in Propertsheet [message #300314] Tue, 07 March 2006 15:54
vigan is currently offline viganFriend
Messages: 6
Registered: July 2009
Junior Member
Hello

I'm trying to create a propertyfield containing a CheckBox.
I'm using the CheckBoxCellEditor class but it doesn't work.

I've discovered this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=72351

But according to the status it should be solved.
I'm working with eclipse vers. 3.1.2.

I've tried the following:


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;
}
}

Thanx Andy
Previous Topic:Huge Jar File Issue
Next Topic:how migrate to Eclipse3.1
Goto Forum:
  


Current Time: Tue Oct 15 09:40:45 GMT 2024

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

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

Back to the top