Changeset 6622 for trunk/gli/src/org/greenstone/gatherer/util
- Timestamp:
- 2004-01-27T16:35:34+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocument.java
r6539 r6622 895 895 } 896 896 897 /** Listens for actions on the read button, and if detected creates a new ReadTask to test the document. */ 897 /** Listens for actions on the read button, and if detected creates a new ReadTask to test the document. 898 * @author John Thompson, Greenstone Project, New Zealand Digital Library, University of Waikato 899 * @version 2.41 final 900 */ 898 901 static private class ReadButtonListener 899 902 implements ActionListener { … … 918 921 } 919 922 920 /** This threaded task opens a large document, aptly named 'big.txt', and then bombards the document object we are testing with lines from the file. This file should be several megs (such as Alice or TREC) to fully test functionality, thread conditions etc. */ 923 /** This threaded task opens a large document, aptly named 'big.txt', and then bombards the document object we are testing with lines from the file. This file should be several megs (such as Alice or TREC) to fully test functionality, thread conditions etc. 924 * @author John Thompson, Greenstone Project, New Zealand Digital Library, University of Waikato 925 * @version 2.41 final 926 */ 921 927 static private class ReadTask 922 928 extends Thread { -
trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java
r6582 r6622 140 140 static final public String LANGUAGE_DEFAULT_STR = "defaultlanguage"; 141 141 static final public String LANGUAGE_STR = "language"; 142 static final public String LANGUAGEDEPENDANT_ATTRIBUTE = "language_depend ant";142 static final public String LANGUAGEDEPENDANT_ATTRIBUTE = "language_dependent"; 143 143 static final public String LANGUAGES_ELEMENT = "Languages"; 144 144 static final public String LANGUAGES_STR = "languages"; … … 167 167 static final public String MGPP_ATTRIBUTE = "mgpp_enabled"; 168 168 static final public String MINUS_CHARACTER = "-"; 169 static final public String MIRROR_ARGUMENT = "-mirror"; 169 170 static final public String MODE_STR = "Mode: "; 170 171 static final public String MODEGLI_ELEMENT = "ModeGLI"; … … 175 176 static final public String NEWLINE_ELEMENT = "NewLine"; 176 177 static final public String NO_LOAD_ARGUMENT = "-no_load"; 178 static final public String NO_WGET_STR = "NoWGet"; 177 179 static final public String ONE_CHARACTER = "1"; 178 180 static final public String OPEN_PARENTHESIS_CHARACTER = "("; … … 232 234 static final public String VALUE_ATTRIBUTE = "value"; 233 235 static final public String VALUE_TREE_ATTRIBUTE = "remember_values"; 234 static final public String WIN_9X_OPEN_COMMAND = "command.com /c start \"%1\""; 235 static final public String WIN_OPEN_COMMAND = "cmd.exe /c start \"\" \"%1\""; 236 static final public String WGET_ARGUMENT = "-wget"; 237 static final public String WGET_OLD_STR = "<WGet1.9"; 238 static final public String WGET_STR = "WGet1.9"; 239 static final public String WIN_9X_OPEN_COMMAND = "command.com /c start \"%1\""; 240 static final public String WIN_OPEN_COMMAND = "cmd.exe /c start \"\" \"%1\""; 241 static final public String WORKFLOW_MIRROR = "workflow.mirror"; 236 242 static final public String YES_STR = "yes"; 237 243 static final public String ZERO_CHARACTER = "0"; -
trunk/gli/src/org/greenstone/gatherer/util/SynchronizedTreeModelTools.java
r6212 r6622 42 42 } 43 43 44 static final public Runnable insertNodeInto(final DefaultTreeModel model, final MutableTreeNode parent, final MutableTreeNode target_node, boolean wait_allowed) {44 static final public Runnable insertNodeInto(final DefaultTreeModel model, final MutableTreeNode parent, final MutableTreeNode target_node, final boolean wait_allowed) { 45 45 final Runnable doInsertNodeInto = new Runnable() { 46 46 public void run() { 47 47 ///ystem.err.print("Running task... "); 48 Gatherer.println("insertNodeInto(" + model + ", " + parent + ", " + target_node + ", " + wait_allowed); 48 49 int index = -1; 49 50 int pos = 0;
Note:
See TracChangeset
for help on using the changeset viewer.