public abstract class ExtendedTreeEditor
extends TreeEditor
TreeEditor
calls editItem(TreeItem)
when the cell editor potentially needs to be activated.
Activation is determined by checking for when a click happens on the single selection that was previously in effect,
or when the user hits the space key when a single selection is in effect.Modifier and Type | Field and Description |
---|---|
protected TreeItem |
editTreeItem |
protected TreeItem |
selectedTreeItem |
protected Tree |
tree |
Constructor and Description |
---|
ExtendedTreeEditor(Tree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
editItem(TreeItem treeItem) |
void |
keyPressed(KeyEvent event) |
void |
keyReleased(KeyEvent event) |
void |
mouseDoubleClick(MouseEvent event) |
void |
mouseDown(MouseEvent event) |
void |
mouseUp(MouseEvent event) |
void |
widgetDefaultSelected(SelectionEvent event) |
void |
widgetSelected(SelectionEvent event) |
protected Tree tree
protected TreeItem selectedTreeItem
protected TreeItem editTreeItem
public void mouseDoubleClick(MouseEvent event)
public void mouseDown(MouseEvent event)
public void mouseUp(MouseEvent event)
public void widgetDefaultSelected(SelectionEvent event)
public void widgetSelected(SelectionEvent event)
public void keyPressed(KeyEvent event)
public void keyReleased(KeyEvent event)
protected abstract void editItem(TreeItem treeItem)