com.tensegrity.gui.swt.control.attributetree.editors
Class RasterItemEditor
java.lang.Object
com.tensegrity.gui.swt.control.attributetree.editors.AttributeTableItemEditor
com.tensegrity.gui.swt.control.attributetree.editors.RasterItemEditor
- All Implemented Interfaces:
- AbstractAttributeTableItemEditor
- public class RasterItemEditor
- extends AttributeTableItemEditor
This class handles the editing of primitive or raster attribute values
- Version:
- $Id: RasterItemEditor.java,v 1.3 2005/09/14 13:54:28 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 |
setLocation(int x,
int y)
Sets the location of the edit dialog. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RasterItemEditor
public RasterItemEditor(org.eclipse.swt.widgets.Composite parent,
AttributeTableItem tableItem)
- Constructor which creates a new RasterItemEditor instance
- Parameters:
parent - the composite to add this RasterItemEditor totableItem - the table item which should be edited
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
setLocation
public final void setLocation(int x,
int y)
- Sets the location of the edit dialog.
- Parameters:
x - the x position on screen relative to dialog parenty - the y position on screen relative to dialog parent
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.