Package | Description |
---|---|
lavesdk.algorithm | |
lavesdk.algorithm.plugin | |
lavesdk.algorithm.plugin.views | |
lavesdk.algorithm.text | |
lavesdk.sandbox |
Constructor and Description |
---|
AlgorithmRTE(AlgorithmPlugin plugin,
AlgorithmText text)
Creates a new algorithm runtime environment.
|
AlgorithmRTE(AlgorithmPlugin plugin,
AlgorithmText text,
AlgorithmExerciseProvider provider)
Creates a new algorithm runtime environment.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmText |
PluginHost.getPluginText(int index)
Gets the algorithm text of a plugin.
|
AlgorithmText |
AlgorithmPlugin.getText()
Gets the text of the algorithm that is represented by this plugin.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmText |
AlgorithmTextView.getText()
Gets the algorithm text that is displayed in the view.
|
Constructor and Description |
---|
AlgorithmTextView(PluginHost host,
java.lang.String title,
AlgorithmText text)
Creates a new view for the visualization of an algorithm text.
|
AlgorithmTextView(PluginHost host,
java.lang.String title,
AlgorithmText text,
boolean closable)
Creates a new view for the visualization of an algorithm text.
|
AlgorithmTextView(PluginHost host,
java.lang.String title,
AlgorithmText text,
boolean closable,
LanguageFile langFile,
java.lang.String langID)
Creates a new view for the visualization of an algorithm text.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmText |
AlgorithmText.getBaseCopy()
Returns a deep base copy of the algorithm text meaning that the returned text contains the
same structure as this text but some properties (like breakpoints, exercises, etc.) are not included.
|
AlgorithmText |
AlgorithmParagraph.getParent()
Gets the parent of the paragraph.
|
Constructor and Description |
---|
AlgorithmParagraph(AlgorithmText parent,
java.lang.String name,
int id)
Creates a new paragraph.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmText |
Sandbox.getPluginText(int index) |