Class CloseableTextCellEditor

java.lang.Object
org.eclipse.jface.viewers.CellEditor
org.eclipse.jface.viewers.TextCellEditor
org.csstudio.opibuilder.widgets.editparts.CloseableTextCellEditor

public class CloseableTextCellEditor extends TextCellEditor
A TextCellEditor that exposes a method to externally allow accepting a value. This was introduced because we want to have the ability to accept a direct edit in SWT, when for example an action button in Draw2D is clicked (both focus systems are independent, hence this trickery).
  • Constructor Details

    • CloseableTextCellEditor

      public CloseableTextCellEditor(Composite composite, int style)
  • Method Details

    • acceptValue

      public void acceptValue()
      Accept the current value and close the direct editor