Examples of CreateExerciseFromTestAnnotationsCommand


Examples of no.hal.jex.editor.commands.CreateExerciseFromTestAnnotationsCommand

  @Override
  protected Command createActionCommand(EditingDomain editingDomain, Collection selection) {
    if (selection.size() == 1) {
      Object owner = selection.iterator().next();
      if (owner instanceof Exercise) {
        return new CreateExerciseFromTestAnnotationsCommand((Exercise)owner, "tests");
      }
    }
    return UnexecutableCommand.INSTANCE;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.