org.eclipse.emf.common.ui.celleditor
Class MultiColumnTableEditor
java.lang.Object
org.eclipse.swt.custom.ControlEditor
org.eclipse.swt.custom.TableEditor
org.eclipse.emf.common.ui.celleditor.BasicTableEditor
org.eclipse.emf.common.ui.celleditor.MultiColumnTableEditor
- All Implemented Interfaces:
- java.util.EventListener, KeyListener, MouseListener, SelectionListener, org.eclipse.swt.internal.SWTEventListener
public abstract class MultiColumnTableEditor
- extends BasicTableEditor
- implements KeyListener, MouseListener, SelectionListener
An abstract base class for implementing table editing where multiple columns (all by default) are editable.
A table cursor is used to provide keyboard navigation over the table.
Provisional API. Please do not use it for anything more than experimentation.
- Since:
- 2.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cursor
protected TableCursor cursor
editableColumns
protected int editableColumns
MultiColumnTableEditor
public MultiColumnTableEditor(Table table)
MultiColumnTableEditor
public MultiColumnTableEditor(Table table,
int editableColumns)
dispose
public void dispose()
- Overrides:
dispose
in class TableEditor
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interface KeyListener
mouseDoubleClick
public void mouseDoubleClick(MouseEvent e)
- Specified by:
mouseDoubleClick
in interface MouseListener
mouseDown
public void mouseDown(MouseEvent e)
- Specified by:
mouseDown
in interface MouseListener
mouseUp
public void mouseUp(MouseEvent e)
- Specified by:
mouseUp
in interface MouseListener
widgetSelected
public void widgetSelected(SelectionEvent e)
- Specified by:
widgetSelected
in interface SelectionListener
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent e)
- Specified by:
widgetDefaultSelected
in interface SelectionListener
edit
protected void edit(TableItem item,
int column)
- Overrides:
edit
in class BasicTableEditor
canEdit
protected boolean canEdit(TableItem item,
int column)
- Overrides:
canEdit
in class BasicTableEditor
endEditing
protected void endEditing(TableItem item,
int column,
Control editor,
boolean accept)
- Overrides:
endEditing
in class BasicTableEditor