/** * Asks the entry currently being edited to apply its current cell editor * value. */ private void applyEditorValue() { TreeItem treeItem = treeEditor.getItem(); // treeItem can be null when view is opened if (treeItem == null || treeItem.isDisposed()) { return; } IPropertySheetEntry entry = (IPropertySheetEntry) treeItem.getData(); entry.applyEditorValue(); }
/** * Asks the entry currently being edited to apply its current cell editor * value. */ private void applyEditorValue() { TreeItem treeItem = treeEditor.getItem(); // treeItem can be null when view is opened if (treeItem == null || treeItem.isDisposed()) { return; } IPropertySheetEntry entry = (IPropertySheetEntry) treeItem.getData(); entry.applyEditorValue(); }
/** * Asks the entry currently being edited to apply its current cell editor * value. */ private void applyEditorValue() { TreeItem treeItem = treeEditor.getItem(); // treeItem can be null when view is opened if (treeItem == null || treeItem.isDisposed()) { return; } IPropertySheetEntry entry = (IPropertySheetEntry) treeItem.getData(); entry.applyEditorValue(); }
protected void comboSelected(Event event) TreeItem treeItem = ((TreeEditor)compositeEditor).getItem(); String text = combo.getItem(combo.getSelectionIndex()); treeItem.setText(getColumn(), text);