org.eclipse.emf.common.ui.celleditor
Class ExtendedTableEditor

java.lang.Object
  extended by org.eclipse.swt.custom.ControlEditor
      extended by org.eclipse.swt.custom.TableEditor
          extended by org.eclipse.emf.common.ui.celleditor.ExtendedTableEditor
All Implemented Interfaces:
java.util.EventListener, KeyListener, MouseListener, SelectionListener, org.eclipse.swt.internal.SWTEventListener

Deprecated. Use SingleColumnTableEditor or MultiColumnTableEditor.

@Deprecated
public abstract class ExtendedTableEditor
extends TableEditor
implements KeyListener, MouseListener, SelectionListener

This base class for implementing a TableEditor that calls editItem(org.eclipse.swt.widgets.TableItem, int) when the cell editor potentially needs to be activated. This API is under construction; please do not use it for anything more than experimentation. It also does not fully support keyboard navigation.


Field Summary
protected  TableItem editTableItem
          Deprecated.  
protected  int editTableItemColumn
          Deprecated.  
protected  TableItem selectedTableItem
          Deprecated.  
protected  Table table
          Deprecated.  
 
Fields inherited from class org.eclipse.swt.custom.ControlEditor
grabHorizontal, grabVertical, horizontalAlignment, minimumHeight, minimumWidth, verticalAlignment
 
Constructor Summary
ExtendedTableEditor(Table table)
          Deprecated.  
 
Method Summary
 void dismiss()
          Deprecated.  
protected abstract  void editItem(TableItem tableItem, int column)
          Deprecated.  
 void keyPressed(KeyEvent event)
          Deprecated.  
 void keyReleased(KeyEvent event)
          Deprecated.  
 void mouseDoubleClick(MouseEvent event)
          Deprecated.  
 void mouseDown(MouseEvent event)
          Deprecated.  
 void mouseUp(MouseEvent event)
          Deprecated.  
 void setEditor(Control canvas, TableItem tableItem, int column)
          Deprecated.  
 void widgetDefaultSelected(SelectionEvent event)
          Deprecated.  
 void widgetSelected(SelectionEvent event)
          Deprecated.  
 
Methods inherited from class org.eclipse.swt.custom.TableEditor
dispose, getColumn, getItem, layout, setColumn, setEditor, setItem
 
Methods inherited from class org.eclipse.swt.custom.ControlEditor
getEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected Table table
Deprecated. 

selectedTableItem

protected TableItem selectedTableItem
Deprecated. 

editTableItem

protected TableItem editTableItem
Deprecated. 

editTableItemColumn

protected int editTableItemColumn
Deprecated. 
Constructor Detail

ExtendedTableEditor

public ExtendedTableEditor(Table table)
Deprecated. 
Method Detail

mouseDoubleClick

public void mouseDoubleClick(MouseEvent event)
Deprecated. 
Specified by:
mouseDoubleClick in interface MouseListener

mouseDown

public void mouseDown(MouseEvent event)
Deprecated. 
Specified by:
mouseDown in interface MouseListener

dismiss

public void dismiss()
Deprecated. 

mouseUp

public void mouseUp(MouseEvent event)
Deprecated. 
Specified by:
mouseUp in interface MouseListener

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent event)
Deprecated. 
Specified by:
widgetDefaultSelected in interface SelectionListener

widgetSelected

public void widgetSelected(SelectionEvent event)
Deprecated. 
Specified by:
widgetSelected in interface SelectionListener

keyPressed

public void keyPressed(KeyEvent event)
Deprecated. 
Specified by:
keyPressed in interface KeyListener

keyReleased

public void keyReleased(KeyEvent event)
Deprecated. 
Specified by:
keyReleased in interface KeyListener

editItem

protected abstract void editItem(TableItem tableItem,
                                 int column)
Deprecated. 

setEditor

public void setEditor(Control canvas,
                      TableItem tableItem,
                      int column)
Deprecated. 
Overrides:
setEditor in class TableEditor

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.