public class GUICommandPaneFactory
extends java.lang.Object
Constructor and Description |
---|
GUICommandPaneFactory(CommandManager commandManager) |
Modifier and Type | Method and Description |
---|---|
CommandManager |
getCommandManager() |
javafx.scene.Parent |
getCommandPane(java.lang.String commandName)
Get a configuration pane with the run button.
|
javafx.scene.Parent |
getConfigurationDialog(java.lang.String commandName,
java.util.Map<java.lang.String,javafx.beans.value.ObservableValue> option2property)
Get a configuration pane and its properties.
|
static void |
showExceptionAlert(java.lang.String headerText,
java.lang.Throwable th) |
@ConstructorProperties(value="commandManager") public GUICommandPaneFactory(CommandManager commandManager)
public javafx.scene.Parent getConfigurationDialog(java.lang.String commandName, java.util.Map<java.lang.String,javafx.beans.value.ObservableValue> option2property)
Map<String, ObservableValue>
commandName
- a name of commandoption2property
- an empty Map to store propertiespublic javafx.scene.Parent getCommandPane(java.lang.String commandName)
commandName
- a name of commandpublic static void showExceptionAlert(java.lang.String headerText, java.lang.Throwable th)
public CommandManager getCommandManager()