コード例 #1
0
 @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));
   }
 }
コード例 #2
0
 protected T createCellEditor(Composite composite) {
   return mEditorType.cast(super.createCellEditorOn(composite));
 }