public class GraphanaInitializer
extends java.lang.Object
Constructor and Description |
---|
GraphanaInitializer() |
Modifier and Type | Method and Description |
---|---|
static MainControl |
init()
Fully Initializes the Graphana framework with a ConsoleInteraction view and the default GraphanaScriptSystem.
|
static MainControl |
init(boolean includeBasicFunctionSet,
boolean includeStdLibraries,
boolean includeStdVisualizers)
Initializes the Graphana framework with a ConsoleInteraction view and the GraphanaScriptSystem.
|
static MainControl |
init(UserInterface userInterface,
GraphanaScriptSystemInterface scriptSystem,
boolean includeBasicFunctionSet,
boolean includeStdLibraries,
boolean includeStdVisualizers)
Initializes the Graphana framework.
|
static void |
registerDefaultArgumentComponents(view.argumentcomponents.ArgumentComponentManager argumentComponentManager)
Registers the GUI components for the default types.
|
static void |
registerDefaultArgumentComponents(view.VisualizingUserInterface visualizingUserInterface)
Registers the GUI components for the default types.
|
public static MainControl init(UserInterface userInterface, GraphanaScriptSystemInterface scriptSystem, boolean includeBasicFunctionSet, boolean includeStdLibraries, boolean includeStdVisualizers)
userInterface
- The user interface with which user output and input is realized.scriptSystem
- The script system which determines the syntax of the script.includeBasicFunctionSet
- Determines whether default operations shall be declared.includeStdLibraries
- Determines whether default libraries shall be declared.includeStdVisualizers
- Determines whether default graph visualizers shall be declared.public static MainControl init(boolean includeBasicFunctionSet, boolean includeStdLibraries, boolean includeStdVisualizers)
includeBasicFunctionSet
- Determines whether default operations shall be declaredincludeStdLibraries
- Determines whether default libraries shall be declaredincludeStdVisualizers
- Determines whether default graph visualizers shall be declaredpublic static void registerDefaultArgumentComponents(view.argumentcomponents.ArgumentComponentManager argumentComponentManager)
argumentComponentManager
- the manager in which to register the components.public static void registerDefaultArgumentComponents(view.VisualizingUserInterface visualizingUserInterface)
visualizingUserInterface
- the user interface in which to register the components.public static MainControl init()