Datasets:
apcl
/

Modalities:
Text
Formats:
webdataset
Libraries:
Datasets
WebDataset
mcmillco's picture
init
e789b06
raw
history blame
675 Bytes
TDAT: public void editElement(Object element, int column) {
if (cellEditor != null) {
applyEditorValue();
}
IStructuredSelection structuredSelection;
if (element instanceof TreePath) {
structuredSelection = new TreeSelection((TreePath) element, viewer
.getComparer());
} else {
structuredSelection = new StructuredSelection(element);
}
setSelection(structuredSelection, true);
Item[] selection = getSelection();
if (selection.length != 1) {
return;
}
treeItem = selection[0];
// Make sure selection is visible
showSelection();
columnNumber = column;
activateCellEditor();
}
COM: <s> start editing the given element </s>