public class GlobalAction
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.Action |
DEBUG
An action that enable or disable the debugging mode.
|
static javax.swing.Action |
JCONSOLE
An action that Launches the jconsole tool if it is available.
|
static javax.swing.Action |
LAUNCH_MAIN
An action that launch the main method of the class
which name is obtained using
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button. |
static javax.swing.Action |
LAUNCH_MDK_CONFIG
An action that launches a new MaDKit instance using the configuration file
which name is obtained using
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button. |
static javax.swing.Action |
LOAD_JAR_FILE
Opens a dialog for selecting the jar file to add.
|
static javax.swing.Action |
LOAD_LOCAL_DEMOS
Load the jar files which are in the "demos" directory if there is one in the working directory
|
static javax.swing.Action |
LOG_FILES
An action that create a log file for each agent having a non
null logger. |
| Constructor and Description |
|---|
GlobalAction() |
public static final javax.swing.Action JCONSOLE
null if jconsole is unavailable.
jconsole is available on environments containing the oracle JDK.public static final javax.swing.Action DEBUG
Level.ALL.
When disabled, all the loggers are set to Level.INFO.public static final javax.swing.Action LOG_FILES
null logger.public static final javax.swing.Action LAUNCH_MAIN
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button.public static final javax.swing.Action LOAD_JAR_FILE
public static final javax.swing.Action LOAD_LOCAL_DEMOS
public static final javax.swing.Action LAUNCH_MDK_CONFIG
ActionEvent.getActionCommand()
on the received event, i.e. the action command of the button.
Fabien Michel, Olivier Gutknecht, Jacques Ferber - November 18 2014