// check if we support direct edit
if (getEditPolicy(EditPolicy.DIRECT_EDIT_ROLE) == null) return; // there is nothing to be done
if(directEditManager == null) {
directEditManager = new TrayCategoryEntryEditPartDirectEditManager(this,
TextCellEditor.class, new CellEditorLocator() {
public void relocate(CellEditor celleditor) {
Text text = (Text) celleditor.getControl();
Point sel = text.getSelection();
Point pref = text.computeSize(-1, -1);
Label label = getDirectEditLabel();