1 /* 2 * Zemucan: A Syntax Assistant for DB2 3 * Copyright (C) 2009, 2010 Andres Gomez Casanova 4 * 5 * This file is part of Zemucan. 6 * 7 * Zemucan is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU Lesser General Public License as published by 9 * the Free Software Foundation; either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * Zemucan is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public License 18 * along with this library; if not, see <http://www.gnu.org/licenses/>. 19 * 20 * Contact: 21 * a n g o c a at y a h o o dot c o m 22 * Cra. 45 No 61 - 31, Bogota, Colombia. 23 * 24 * Author: $LastChangedBy: angoca $: 25 * Date: $LastChangedDate: 2011-03-06 23:10:20 -0500 (dom, 06 mar 2011) $: 26 * Revision: $LastChangedRevision: 1917 $: 27 * URL: $HeadURL: https://zemucan.svn.sourceforge.net/svnroot/zemucan/branches/zemucan_v1/source-code/tools/src/main/java/name/angoca/zemucan/tools/Constants.java $: 28 */ 29 package name.angoca.zemucan.tools; 30 31 /** 32 * Set of constants used in all the application.<br/> 33 * <b>Control Version</b><br /> 34 * <ul> 35 * <li>0.0.1 Instance creation.</li> 36 * <li>0.1.0 New constants.</li> 37 * <li>0.1.1 Execution values.</li> 38 * <li>0.1.2 Configuration filename value.</li> 39 * <li>1.0.0 Moved to version 1.</li> 40 * <li>1.1.0 Configuration file name and property.</li> 41 * <li>1.2.0 Exit and prompt properties.</li> 42 * <li>1.2.1 GraphToken renamed by GraphNode.</li> 43 * <li>1.3.0 Grammar reader.</li> 44 * <li>1.4.0 Extra tokens problem.</li> 45 * <li>1.5.0 File descriptor.</li> 46 * <li>1.6.0 Without Extra nodes.</li> 47 * <li>1.7.0 Next node.</li> 48 * </ul> 49 * 50 * @author Andres Gomez Casanova <a 51 * href="mailto:a n g o c a at y a h o o dot c o m">(AngocA)</a> 52 * @version 1.7.0 2010-09-15 53 */ 54 public interface Constants { 55 /** 56 * Id of the About Information Content token. 57 */ 58 String ABOUT_CONTENT_TOKEN_ID = "ABOUT_CONTENT_TOKEN_ID"; //$NON-NLS-1$ 59 /** 60 * Id of the About Information token. 61 */ 62 String ABOUT_TOKEN_ID = "ABOUT_TOKEN_ID"; //$NON-NLS-1$ 63 /** 64 * Property: About Information token. 65 */ 66 String ABOUT_TOKEN_PROPERTY = "AboutToken"; //$NON-NLS-1$ 67 /** 68 * Property value: About Information token. 69 */ 70 String ABOUT_TOKEN_VALUE = "about"; //$NON-NLS-1$ 71 /** 72 * Id of the ending node. 73 */ 74 String ENDING_NODE = "ENDING_NODE"; //$NON-NLS-1$ 75 /** 76 * Property: Grammar file descriptor. 77 */ 78 String GRAMMAR_FILE_DESCRIPTORS_PROPERTY = "GrammarFileDescriptors"; //$NON-NLS-1$ 79 /** 80 * Property: Grammar file reader. 81 */ 82 String GRAMMAR_READER_NAME_PROPERTY = "GrammarReaderName"; //$NON-NLS-1$ 83 /** 84 * Id of the Help Content token. 85 */ 86 String HELP_CONTENT_TOKEN_ID = "HELP_CONTENT_TOKEN_ID"; //$NON-NLS-1$ 87 /** 88 * Id of the Help token. 89 */ 90 String HELP_TOKEN_ID = "HELP_TOKEN_ID"; //$NON-NLS-1$ 91 /** 92 * Property: Help token. 93 */ 94 String HELP_TOKEN_PROPERTY = "HelpToken"; //$NON-NLS-1$ 95 /** 96 * Property value: Help token. 97 */ 98 String HELP_TOKEN_VALUE = "?"; //$NON-NLS-1$ 99 /** 100 * Id of the License Content token. 101 */ 102 String LICENSE_CONTENT_TOKEN_ID = "LICENSE_CONTENT_TOKEN_ID"; //$NON-NLS-1$ 103 /** 104 * Id of the License token. 105 */ 106 String LICENSE_TOKEN_ID = "LICENSE_TOKEN_ID"; //$NON-NLS-1$ 107 /** 108 * Property: License token. 109 */ 110 String LICENSE_TOKEN_PROPERTY = "LicenseToken"; //$NON-NLS-1$ 111 /** 112 * Property value: License token. 113 */ 114 String LICENSE_TOKEN_VALUE = "license"; //$NON-NLS-1$ 115 /** 116 * Name of a Next node. 117 */ 118 String NEXT_NODE = "NEXT_NODE"; 119 /** 120 * Name of the starting node. 121 */ 122 String STARTING_NODE = "STARTING_NODE"; //$NON-NLS-1$ 123 /** 124 * System property that permits to add extra nodes to the graph. 125 */ 126 String WITHOUT_EXTRA_NODES = "WithoutExtraNodes"; //$NON-NLS-1$ 127 /** 128 * Configuration file property. 129 */ 130 String ZEMUCAN_CONF_XML_PROPERTY = "ConfigFile"; //$NON-NLS-1$ 131 /** 132 * Configuration file name. 133 */ 134 String ZEMUCAN_CONF_XML_FILENAME = "sa_conf.xml"; //$NON-NLS-1$ 135 136 }