Revision: 16621
http://sourceforge.net/p/gate/code/16621
Author: johann_p
Date: 2013-03-27 12:54:57 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
Change visibility of some class members from private to
protected so that users can subclass more easily.
Modified Paths:
--------------
gate/trunk/src/gate/Main.java
Modified: gate/trunk/src/gate/Main.java
===================================================================
--- gate/trunk/src/gate/Main.java 2013-03-27 02:43:41 UTC (rev 16620)
+++ gate/trunk/src/gate/Main.java 2013-03-27 12:54:57 UTC (rev 16621)
@@ -63,13 +63,13 @@
public class Main {
/** Debug flag */
- private static final boolean DEBUG = false;
+ protected static final boolean DEBUG = false;
/** Status flag for normal exit. */
- private static final int STATUS_NORMAL = 0;
+ protected static final int STATUS_NORMAL = 0;
/** Status flag for error exit. */
- private static final int STATUS_ERROR = 1;
+ protected static final int STATUS_ERROR = 1;
/** Main routine for GATE.
* Command-line arguments:
@@ -128,7 +128,7 @@
} // main
/** Register any CREOLE URLs that we got on the command line */
- private static void registerCreoleUrls() {
+ protected static void registerCreoleUrls() {
CreoleRegister reg = Gate.getCreoleRegister();
Iterator<URL> iter = pendingCreoleUrls.iterator();
while(iter.hasNext()) {
@@ -144,7 +144,7 @@
} // registerCreoleUrls()
/** Main Frame of the GUI; null when no GUI running */
- private static MainFrame frame;
+ protected static MainFrame frame;
/**
* Get the main frame of the GUI. If the GUI isn't running, it
@@ -157,7 +157,7 @@
} // getMainFrame()
/** Run the user interface. */
- private static void runGui() throws GateException {
+ protected static void runGui() throws GateException {
try {
Class rmClass = Gate.class.getClassLoader().loadClass(
"org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager");
@@ -482,7 +482,7 @@
private static List annotatorNames = new ArrayList();
/** Map of annotator arguments. */
- private static Map annotatorArgsMap = new HashMap();
+ protected static Map annotatorArgsMap = new HashMap();
/** List of classes we were asked to debug. */
private static List debugNames = new ArrayList();
@@ -590,6 +590,6 @@
} // help()
/** The list of pending URLs to add to the CREOLE register */
- private static List<URL> pendingCreoleUrls = new ArrayList<URL>();
+ protected static List<URL> pendingCreoleUrls = new ArrayList<URL>();
} // class Main
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs