com.tensegrity.gui.swt.control.attributetree.editors
Class BooleanItemEditor

java.lang.Object
  extended bycom.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
      extended bycom.tensegrity.gui.swt.control.attributetree.editors.BooleanItemEditor
All Implemented Interfaces:
AbstractAttributeTableItemEditor

public class BooleanItemEditor
extends AttributeTableItemEditor

This class handles the editing of boolean attribute values

Version:
$Id: BooleanItemEditor.java,v 1.2 2005/09/14 13:54:28 ArndHouben Exp $
Author:
Arnd Houben

Field Summary
 
Fields inherited from class com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
newValue
 
Constructor Summary
BooleanItemEditor(AttributeTableItem item)
          Constructs the editor
 
Method Summary
 void dispose()
          Callback method which is invoked to signal that the current editor is asked to remove itself.
 org.eclipse.swt.widgets.Control getEditorControl()
          Returns the editor component which replaces the corresponding attribute table entry for editing.
 
Methods inherited from class com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
addEditorListener, getItem, getValue, notifyListeners, removeEditorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanItemEditor

public BooleanItemEditor(AttributeTableItem item)
Constructs the editor

Parameters:
item - the attribute table item to edit
Method Detail

getEditorControl

public org.eclipse.swt.widgets.Control getEditorControl()
Description copied from interface: AbstractAttributeTableItemEditor
Returns the editor component which replaces the corresponding attribute table entry for editing. Null is returned to signal that the entry is not replaced. The latter case is typical for an editor which pops up a dialog for editing.

Returns:
the editor control or null if none is required

dispose

public final void dispose()
Description copied from interface: AbstractAttributeTableItemEditor
Callback method which is invoked to signal that the current editor is asked to remove itself. For implementing classes this is a good place to free occupied resources.

Specified by:
dispose in interface AbstractAttributeTableItemEditor
Specified by:
dispose in class AttributeTableItemEditor


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.