@Override protected final T createCellEditorOn(Composite composite) { InstallOptionsModelTypeDef typeDef = ((InstallOptionsWidget) getEditPart().getModel()).getTypeDef(); if (typeDef == null || !typeDef.getSettings().contains(getDirectEditProperty())) { return null; } else { return mEditorType.cast(createCellEditor(composite)); } }
protected T createCellEditor(Composite composite) { return mEditorType.cast(super.createCellEditorOn(composite)); }