public class Main extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | build | 
| protected static boolean | DEBUGDebug flag | 
| protected static MainFrame | frameMain Frame of the GUI; null when no GUI running | 
| static String | name | 
| protected static List<URL> | pendingCreoleUrlsThe list of pending URLs to add to the CREOLE register | 
| protected static int | STATUS_ERRORStatus flag for error exit. | 
| protected static int | STATUS_NORMALStatus flag for normal exit. | 
| static String | version | 
| Constructor and Description | 
|---|
| Main() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | applyUserPreferences()Reads the user config data and applies the required settings. | 
| static MainFrame | getMainFrame()Get the main frame of the GUI. | 
| static void | help()Display a help message | 
| static void | main(String[] args)Main routine for GATE. | 
| static void | processArgs(String[] args)Process arguments and set up member fields appropriately. | 
| protected static void | registerCreoleUrls()Register any CREOLE URLs that we got on the command line | 
| protected static void | runGui()Run the user interface. | 
| static void | usage()Display a usage message | 
protected static final boolean DEBUG
protected static final int STATUS_NORMAL
protected static final int STATUS_ERROR
protected static MainFrame frame
public static final String name
public static final String version
public static final String build
public static void main(String[] args) throws GateException
GateExceptionprotected static void registerCreoleUrls()
public static MainFrame getMainFrame() throws GateException
GateExceptionprotected static void runGui()
                      throws GateException
GateExceptionpublic static void applyUserPreferences()
Gate.init() but before
 any GUI components are created.public static void processArgs(String[] args)
public static void usage()
public static void help()
Copyright © 2024 GATE. All rights reserved.