Search in sources :

Example 1 with MultiLineTextCellEditor

use of org.csstudio.opibuilder.visualparts.MultiLineTextCellEditor in project yamcs-studio by yamcs.

the class MultiLineTextPropertyDescriptor method createPropertyEditor.

/**
 * {@inheritDoc}
 */
@Override
public CellEditor createPropertyEditor(final Composite parent) {
    final String title = NLS.bind("Edit {0}", getDisplayName());
    CellEditor editor = new MultiLineTextCellEditor(parent, title);
    if (getValidator() != null) {
        editor.setValidator(getValidator());
    }
    return editor;
}
Also used : MultiLineTextCellEditor(org.csstudio.opibuilder.visualparts.MultiLineTextCellEditor) CellEditor(org.eclipse.jface.viewers.CellEditor) MultiLineTextCellEditor(org.csstudio.opibuilder.visualparts.MultiLineTextCellEditor)

Aggregations

MultiLineTextCellEditor (org.csstudio.opibuilder.visualparts.MultiLineTextCellEditor)1 CellEditor (org.eclipse.jface.viewers.CellEditor)1