public class Launcher extends Object
Andami's launching class. This is the class used to create the Andami's
plugin environment.
Syntax:
java [-Xmx512M (for 512MB of RAM)] [-classpath={a colon-separated(unix) or
semicolon-separated(windows) list of files containg base library of classes}]
[-Djava.library.path=PATH_TO_NATIVE_LIBRARIES]
PATH_TO_APPLICATION_HOME_DIRECTORY PATH_TO_APPLICATION_PLUGINS_DIRECTORY
[{list of additional custom application arguments separated by spaces}]
Modifier and Type | Class and Description |
---|---|
static class |
Launcher.LaunchException |
static class |
Launcher.MapWithAlias<Item> |
class |
Launcher.PluginMenuItem |
static class |
Launcher.PluginsConfig |
static class |
Launcher.PluginsServices |
class |
Launcher.TerminationProcess
Manages Andami termination process
|
Modifier and Type | Field and Description |
---|---|
protected static AndamiConfig |
andamiConfig |
protected static String |
andamiConfigPath |
protected static String |
appHomeDir |
protected static String |
appName |
protected static String |
CASTORENCODING |
protected static HashMap<Class<? extends IExtension>,ExtensionDecorator> |
classesExtensions |
protected static List<IExtension> |
extensions |
protected static MDIFrame |
frame |
protected static ListBaseException |
launcherrors |
protected static Locale |
locale |
protected static Logger |
logger |
protected static String |
nonWinDefaultLookAndFeel |
protected static Launcher.PluginsConfig |
pluginsConfig |
protected static List<String> |
pluginsOrdered |
protected static Launcher.PluginsServices |
pluginsServices |
protected static Preferences |
prefs |
protected static MultiSplashWindow |
splashWindow |
protected static Theme |
theme |
Constructor and Description |
---|
Launcher() |
protected static Logger logger
protected static Preferences prefs
protected static AndamiConfig andamiConfig
protected static MultiSplashWindow splashWindow
protected static String appName
protected static Locale locale
protected static Launcher.PluginsConfig pluginsConfig
protected static Launcher.PluginsServices pluginsServices
protected static MDIFrame frame
protected static HashMap<Class<? extends IExtension>,ExtensionDecorator> classesExtensions
protected static String andamiConfigPath
protected static final String nonWinDefaultLookAndFeel
protected static List<IExtension> extensions
protected static String appHomeDir
protected static final String CASTORENCODING
protected static ListBaseException launcherrors
protected static Theme theme
public static Launcher getInstance()
protected void downloadExtensions(String extDir)
protected void addError(Throwable ex)
protected void addError(String msg)
public static Arguments getArguments()
public static String getApplicationName()
public static String getApplicationDirectory()
public static File getApplicationFolder()
public List<Launcher.PluginMenuItem> getPluginMenuItems()
public static PluginServices getPluginServices(String name)
public static void closeApplication()
public static IExtension getExtensionByName(String extensionName)
public static Iterator getExtensionIterator()
public static HashMap getPluginConfig()
public static AndamiConfig getAndamiConfig()
public static String getDefaultLookAndFeel()
public static String getAppHomeDir()
public static File getApplicationHomeFolder()
public static void setAppHomeDir(String appHomeDir)
appHomeDir
- public static void initIconThemes()
public static void manageUnsavedData(String prompt) throws Exception
Exception
public static Launcher.TerminationProcess getTerminationProcess()
public static String getInformation()
public static String getInformation(PackageInfo[] pkgs)