com.tensegrity.gui.swt.control.attributetree.editors
Class MetricExpressionItemEditor
java.lang.Object
com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
com.tensegrity.gui.swt.control.attributetree.editors.MetricExpressionItemEditor
- All Implemented Interfaces:
- AbstractAttributeTableItemEditor, java.util.EventListener, org.eclipse.swt.events.KeyListener, org.eclipse.swt.internal.SWTEventListener
- public class MetricExpressionItemEditor
- extends AttributeTableItemEditor
- implements org.eclipse.swt.events.KeyListener
This class handles the editing of metric expression attribute values
- Version:
- $Id: MetricExpressionItemEditor.java,v 1.7 2005/11/30 15:44:17 ArndHouben Exp $
- Author:
- Arnd Houben
|
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. |
void |
keyPressed(org.eclipse.swt.events.KeyEvent ev)
|
void |
keyReleased(org.eclipse.swt.events.KeyEvent e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricExpressionItemEditor
public MetricExpressionItemEditor(org.eclipse.swt.widgets.Composite parent,
AttributeTableItem tableItem)
- Constructor which creates a new MetricExpressionItemEditor instance
- Parameters:
parent - the composite to add this MetricExpressionItemEditor totableItem - the table item which should be edited
getEditorControl
public final 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.
- Specified by:
getEditorControl in interface AbstractAttributeTableItemEditor
- 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
keyPressed
public void keyPressed(org.eclipse.swt.events.KeyEvent ev)
- Specified by:
keyPressed in interface org.eclipse.swt.events.KeyListener
keyReleased
public void keyReleased(org.eclipse.swt.events.KeyEvent e)
- Specified by:
keyReleased in interface org.eclipse.swt.events.KeyListener
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.