public void deactivate() { super.deactivate(); // if (_wrapped != null) // { // _wrapped.deactivate(); // } }
/** * @param event * deactivation event * @since 3.4 * */ protected void deactivate(ColumnViewerEditorDeactivationEvent event) { deactivate(); }
/** * @param event * deactivation event * */ protected void deactivate(ColumnViewerEditorDeactivationEvent event) { deactivate(); }
/** * @param event * deactivation event * @since 3.4 * */ protected void deactivate(ColumnViewerEditorDeactivationEvent event) { deactivate(); }
/** * Cancels the active cell editor, without saving the value back to the * domain model. */ public void cancelEditing() { if (cellEditor != null) { setEditor(null, null, 0); cellEditor.removeListener(cellEditorListener); CellEditor oldEditor = cellEditor; cellEditor = null; oldEditor.deactivate(); } }
/** * Processes a focus lost event that occurred in this cell editor. * <p> * The default implementation of this framework method applies the current * value and deactivates the cell editor. Subclasses should call this method * at appropriate times. Subclasses may also extend or reimplement. * </p> */ protected void focusLost() { if (isActivated()) { fireApplyEditorValue(); deactivate(); } }
/** * Cancels the active cell editor, without saving the value back to the * domain model. */ public void cancelEditing() { if (fCellEditor != null) { setEditor(null, null, 0); fCellEditor.removeListener(fCellEditorListener); CellEditor oldEditor = fCellEditor; fCellEditor = null; oldEditor.deactivate(); } }
/** * Processes a focus lost event that occurred in this cell editor. * <p> * The default implementation of this framework method applies the current * value and deactivates the cell editor. Subclasses should call this method * at appropriate times. Subclasses may also extend or reimplement. * </p> */ protected void focusLost() { if (isActivated()) { fireApplyEditorValue(); deactivate(); } }
/** * Processes a focus lost event that occurred in this cell editor. * <p> * The default implementation of this framework method applies the current * value and deactivates the cell editor. Subclasses should call this method * at appropriate times. Subclasses may also extend or reimplement. * </p> */ protected void focusLost() { if (isActivated()) { fireApplyEditorValue(); deactivate(); } }
/** * Creates the control for this cell editor under the given parent control. * * @param parent * the parent control */ public void create(Composite parent) { Assert.isTrue(control == null); control = createControl(parent); // See 1GD5CA6: ITPUI:ALL - TaskView.setSelection does not work // Control is created with getVisible()==true by default. // This causes composite.setFocus() to work incorrectly. // The cell editor's control grabs focus instead, even if it is not // active. // Make the control invisible here by default. deactivate(); }
/** * Processes a key release event that occurred in this cell editor. * <p> * The default implementation of this framework method cancels editing when * the ESC key is pressed. When the RETURN key is pressed the current value * is applied and the cell editor deactivates. Subclasses should call this * method at appropriate times. Subclasses may also extend or reimplement. * </p> * * @param keyEvent * the key event */ protected void keyReleaseOccured(KeyEvent keyEvent) { if (keyEvent.character == '\u001b') { // Escape character fireCancelEditor(); } else if (keyEvent.character == '\r') { // Return key fireApplyEditorValue(); deactivate(); } }
/** * Creates the control for this cell editor under the given parent control. * * @param parent * the parent control * @since 2.1 */ public void create(Composite parent) { Assert.isTrue(control == null); control = createControl(parent); // See 1GD5CA6: ITPUI:ALL - TaskView.setSelection does not work // Control is created with getVisible()==true by default. // This causes composite.setFocus() to work incorrectly. // The cell editor's control grabs focus instead, even if it is not // active. // Make the control invisible here by default. deactivate(); }
/** * Creates the control for this cell editor under the given parent control. * * @param parent * the parent control * @since 2.1 */ public void create(Composite parent) { Assert.isTrue(control == null); control = createControl(parent); // See 1GD5CA6: ITPUI:ALL - TaskView.setSelection does not work // Control is created with getVisible()==true by default. // This causes composite.setFocus() to work incorrectly. // The cell editor's control grabs focus instead, even if it is not // active. // Make the control invisible here by default. deactivate(); }
@Override public void deactivate() { if (button != null && !button.isDisposed()) { button.removeFocusListener(getButtonFocusListener()); } super.deactivate(); }
public void deactivate() { fCellEditor.removeListener(this); fControl.removeFocusListener(this); fCellEditor.deactivate(); fTree1.forceFocus(); }
@Override public void deactivate() { if (button != null && !button.isDisposed()) { button.removeFocusListener(getButtonFocusListener()); } super.deactivate(); }
public void deactivate() { if (button != null && !button.isDisposed()) { button.removeFocusListener(getButtonFocusListener()); } super.deactivate(); }
/** * Deactivate the currently active cell editor. */ /* package */ void deactivateCellEditor() { treeEditor.setEditor(null, null, columnToEdit); if (cellEditor != null) { cellEditor.deactivate(); fireCellEditorDeactivated(cellEditor); cellEditor.removeListener(editorListener); cellEditor = null; } // clear any error message from the editor setErrorMessage(null); }
/** * Deactivate the currently active cell editor. */ /* package */ void deactivateCellEditor() { treeEditor.setEditor(null, null, columnToEdit); if (cellEditor != null) { cellEditor.deactivate(); fireCellEditorDeactivated(cellEditor); cellEditor.removeListener(editorListener); cellEditor = null; } // clear any error message from the editor setErrorMessage(null); }
/** * Deactivate the currently active cell editor. */ /* package */ void deactivateCellEditor() { treeEditor.setEditor(null, null, columnToEdit); if (cellEditor != null) { cellEditor.deactivate(); fireCellEditorDeactivated(cellEditor); cellEditor.removeListener(editorListener); cellEditor = null; } // clear any error message from the editor setErrorMessage(null); }