Example usage for org.eclipse.jface.viewers CellEditor setStyle

List of usage examples for org.eclipse.jface.viewers CellEditor setStyle

Introduction

In this page you can find the example usage for org.eclipse.jface.viewers CellEditor setStyle.

Prototype

public void setStyle(int style) 

Source Link

Document

Sets the style bits for this cell editor.

Usage

From source file:uk.ac.stfc.isis.ibex.ui.configserver.editing.iocs.SimLevelEditingSupport.java

License:Open Source License

@Override
protected CellEditor getCellEditor(Object element) {
    CellEditor editor = super.getCellEditor(element);
    editor.setStyle(SWT.READ_ONLY);

    return editor;
}