List of usage examples for org.eclipse.jface.viewers ColumnViewerEditorDeactivationEvent EDITOR_CANCELED
int EDITOR_CANCELED
To view the source code for org.eclipse.jface.viewers ColumnViewerEditorDeactivationEvent EDITOR_CANCELED.
Click Source Link
From source file:br.ufes.inf.nemo.ontouml.transformation.onto2info.ui.util.BooleanCellEditor.java
License:Open Source License
protected void deactivate(ColumnViewerEditorDeactivationEvent event) { //System.out.println("--> deactivate()"); super.deactivate(event); if (event.eventType == ColumnViewerEditorDeactivationEvent.EDITOR_CANCELED) { row.setImage(index, restoredImage); row.setText(index, restoredText); }//ww w.jav a 2 s . c o m // TODO Add a way to enable key traversal when CheckBoxes don't get focus // if( Util.isMac() ) { // button.getParent().removeKeyListener(macSelectionListener); // } row = null; restoredImage = null; restoredText = null; }
From source file:org.eclipse.jface.snippets.viewers.BooleanCellEditor.java
License:Open Source License
@Override protected void deactivate(ColumnViewerEditorDeactivationEvent event) { super.deactivate(event); if (event.eventType == ColumnViewerEditorDeactivationEvent.EDITOR_CANCELED) { row.setImage(index, restoredImage); row.setText(index, restoredText); }/*from ww w . j a va 2s. co m*/ //TODO Add a way to enable key traversal when CheckBoxes don't get focus // if( Util.isMac() ) { // button.getParent().removeKeyListener(macSelectionListener); // } row = null; restoredImage = null; restoredText = null; }
From source file:org.salever.common.swtjface.extend.widget.BooleanCellEditor.java
License:Open Source License
protected void deactivate(ColumnViewerEditorDeactivationEvent event) { super.deactivate(event); if (event.eventType == ColumnViewerEditorDeactivationEvent.EDITOR_CANCELED) { row.setImage(index, restoredImage); row.setText(index, restoredText); }//w w w . j av a 2 s. c om //TODO Add a way to enable key traversal when CheckBoxes don't get focus // if( Util.isMac() ) { // button.getParent().removeKeyListener(macSelectionListener); // } row = null; restoredImage = null; restoredText = null; }