public class Icy extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
EXIT_FORCE_DELAY |
static java.lang.String |
LIB_PATH |
static Version |
version
Icy Version
|
Constructor and Description |
---|
Icy() |
Modifier and Type | Method and Description |
---|---|
static void |
addSequence(Sequence sequence)
Deprecated.
Uses
Icy.getMainInterface().addSequence(Sequence) instead. |
static void |
announceRestart()
Show announcement to restart application
|
static void |
announceRestart(java.lang.String message)
Show announcement to restart application (custom message)
|
static boolean |
canExit(boolean showConfirm)
Returns
true if application can exit. |
static void |
clearCommandLinePluginArgs()
Clear the plugin command line arguments.
|
static void |
confirmRestart()
Restart application with user confirmation
|
static void |
confirmRestart(java.lang.String message)
Restart application with user confirmation (custom message)
|
static boolean |
exit(boolean restart)
Exit Icy, returns
true if the operation should success. |
static boolean |
exit(boolean restart,
boolean force)
Deprecated.
use
exit(boolean) instead |
static java.lang.String |
getChangeLog()
Return content of the
CHANGELOG.txt file |
static java.lang.String[] |
getCommandLineArgs()
Returns the command line arguments
|
static java.lang.String[] |
getCommandLinePluginArgs()
Returns the plugin command line arguments
|
static java.lang.String |
getLicense()
Return content of the
COPYING.txt file |
static MainInterface |
getMainInterface()
Return the main Icy interface.
|
static java.lang.String |
getReadMe()
Return content of the
README.txt file |
static Plugin |
getStartupPlugin()
Returns the startup plugin if any
|
static boolean |
isExiting()
Return true is the application is currently exiting.
|
static boolean |
isHeadLess()
Deprecated.
Use
MainInterface.isHeadLess() instead. |
static boolean |
isItkLibraryLoaded()
Return true is VTK library loaded.
|
static boolean |
isVtkLibraryLoaded()
Return true is VTK library loaded.
|
static void |
main(java.lang.String[] args) |
public static final java.lang.String LIB_PATH
public static final int EXIT_FORCE_DELAY
public Icy()
public static void main(java.lang.String[] args)
args
- Received from the command line.public static void confirmRestart()
public static void confirmRestart(java.lang.String message)
public static void announceRestart()
public static void announceRestart(java.lang.String message)
public static boolean canExit(boolean showConfirm)
true
if application can exit.public static boolean exit(boolean restart)
true
if the operation should success.@Deprecated public static boolean exit(boolean restart, boolean force)
exit(boolean)
insteadforce
- public static boolean isVtkLibraryLoaded()
public static boolean isItkLibraryLoaded()
@Deprecated public static boolean isHeadLess()
MainInterface.isHeadLess()
instead.public static boolean isExiting()
public static MainInterface getMainInterface()
public static java.lang.String[] getCommandLineArgs()
public static java.lang.String[] getCommandLinePluginArgs()
public static void clearCommandLinePluginArgs()
public static Plugin getStartupPlugin()
public static java.lang.String getChangeLog()
CHANGELOG.txt
filepublic static java.lang.String getLicense()
COPYING.txt
filepublic static java.lang.String getReadMe()
README.txt
file@Deprecated public static void addSequence(Sequence sequence)
Icy.getMainInterface().addSequence(Sequence)
instead.