Package | Description |
---|---|
lavesdk.algorithm | |
lavesdk.algorithm.plugin.views | |
lavesdk.algorithm.text | |
lavesdk.gui.dialogs |
Modifier and Type | Method and Description |
---|---|
void |
AlgorithmExerciseProvider.afterProcessingExercise(AlgorithmExercise<?> exercise,
AlgorithmExercise.ExamResult result,
java.lang.String lastSolution)
Is invoked when the exercise is processed.
|
void |
AlgorithmExerciseProvider.afterSolvingExercise(AlgorithmExercise<?> exercise,
boolean succeeded,
java.lang.String solution)
Is invoked every time the user has entered a new solution of the exercise.
|
void |
AlgorithmExerciseProvider.beforeProcessingExercise(AlgorithmExercise<?> exercise,
AlgorithmStep step)
Is invoked when the exercise of the current step in the algorithm is loaded and should be presented to the user.
|
Modifier and Type | Method and Description |
---|---|
void |
ExercisesListView.afterProcessingExercise(AlgorithmExercise<?> exercise,
AlgorithmExercise.ExamResult result,
java.lang.String lastSolution) |
void |
ExercisesListView.afterSolvingExercise(AlgorithmExercise<?> exercise,
boolean succeeded,
java.lang.String solution) |
void |
ExercisesListView.beforeProcessingExercise(AlgorithmExercise<?> exercise,
AlgorithmStep step) |
Modifier and Type | Method and Description |
---|---|
AlgorithmExercise<?> |
AlgorithmStep.getExercise()
Gets the exercise that is associated with the step.
|
AlgorithmExercise<?> |
AlgorithmText.getFinalExercise()
Gets the final exercise of the algorithm.
|
Modifier and Type | Method and Description |
---|---|
void |
AlgorithmStep.setExercise(AlgorithmExercise<?> exercise)
Sets the exercise that is associated with the step.
|
void |
AlgorithmText.setFinalExercise(AlgorithmExercise<?> exercise)
Sets the final exercise of the algorithm.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SolveExercisePane.showDialog(PluginHost host,
AlgorithmExercise<?> exercise,
SolveExerciseDialog.SolutionEntry<?>[] entries)
Shows the dialog to solve an exercise by requesting a user input.
|
static boolean |
SolveExercisePane.showDialog(PluginHost host,
AlgorithmExercise<?> exercise,
SolveExerciseDialog.SolutionEntry<?>[] entries,
LanguageFile langFile,
java.lang.String langID)
Shows the dialog to solve an exercise by requesting a user input.
|
static boolean |
SolveExercisePane.showDialog(PluginHost host,
AlgorithmExercise<?> exercise,
SolveExerciseDialog.SolutionEntry<?>[] entries,
LanguageFile langFile,
java.lang.String langID,
java.lang.String inputHint)
Shows the dialog to solve an exercise by requesting a user input.
|
static boolean |
SolveExercisePane.showDialog(PluginHost host,
AlgorithmExercise<?> exercise,
SolveExerciseDialog.SolutionEntry<?>[] entries,
java.lang.String inputHint)
Shows the dialog to solve an exercise by requesting a user input.
|
Constructor and Description |
---|
SolveExerciseDialog(PluginHost host,
AlgorithmExercise<?> exercise,
SolveExerciseDialog.SolutionEntry<?>[] entries,
java.lang.String inputHint,
LanguageFile langFile,
java.lang.String langID)
Creates a new solve exercise dialog.
|