001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.axis2.tool.codegen.eclipse.util;
020:
021: public interface SettingsConstants {
022:
023: // ######################################################################
024: //WSDL Selection page constants
025: /**
026: * The key for storing the WSDL location in the dialog settings of the
027: * WSDLFileSelectionPage
028: */
029: static final String PREF_WSDL_LOCATION = "PREF_WSDL_LOCATION";
030:
031: // ######################################################################
032: // Tools selection page
033: static final String PREF_TOOL_SELECTION_WSDL2JAVA = "PREF_TOOL_SELECTION_WSDL2JAVA";
034:
035: static final String PREF_TOOL_SELECTION_JAVA2WSDL = "PREF_TOOL_SELECTION_JAVA2WSDL";
036:
037: // ######################################################################
038: // Codegen Options selection page
039: static final String PREF_OPTION_SELECTION_DEFULT = "PREF_OPTION_SELECTION_DEFULT";
040:
041: static final String PREF_OPTION_SELECTION_CUSTOM = "PREF_OPTION_SELECTION_CUSTOM";
042:
043: // ######################################################################
044: // Output selection page
045: /**
046: * The key to store the output location in the settings
047: *
048: */
049: static final String PREF_OUTPUT_LOCATION = "PREF_OUTPUT_LOCATION";
050: static final String PREF_CHECK_BROWSE_PROJECTS = "PREF_CHECK_BROWSE_PROJECTS";
051:
052: //Options page constants
053: /**
054: * Position in the combox for choosing the target programming language. Default is 0
055: */
056: static final String PREF_LANGUAGE_INDEX = "PREF_LANGUAGE_INDEX";
057:
058: /**
059: * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
060: */
061: static final String PREF_RADIO_SYNC_AND_ASYNC = "PREF_RADIO_SYNC_AND_ASYNC";
062:
063: /**
064: * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
065: */
066: static final String PREF_RADIO_SYNC_ONLY = "PREF_RADIO_SYNC_ONLY";
067:
068: /**
069: * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
070: */
071: static final String PREF_RADIO_ASYNC_ONLY = "PREF_RADIO_ASYNC_ONLY";
072:
073: /**
074: * Specifies the full qualified package name for the generated source code.
075: */
076: static final String PREF_PACKAGE_NAME = "PREF_PACKAGE_NAME";
077:
078: /**
079: * A boolean value whether JUnit test classes are generated or not.
080: */
081: static final String PREF_CHECK_GENERATE_TESTCASE = "PREF_CHECK_GENERATE_TESTCASE";
082:
083: /**
084: * A boolean value whether the server-side skeletons are generated or not
085: */
086: static final String PREF_CHECK_GENERATE_SERVERSIDE = "PREF_CHECK_GENERATE_SERVERSIDE";
087:
088: /**
089: * A boolean value whether the server-side skeletons are generated or not
090: */
091: static final String PREF_CHECK_GENERATE_CLIENTSIDE = "PREF_CHECK_GENERATE_CLIENTSIDE";
092:
093: /**
094: * A boolean value whether the server-side configuration file for Axis2 (server.xml) will be generated or not.
095: */
096: static final String PREF_CHECK_GENERATE_SERVERCONFIG = "PREF_CHECK_GENERATE_SERVERCONFIG";
097:
098: static final String PREF_COMBO_PORTNAME_INDEX = "PREF_TEXT_PORTNAME";
099:
100: static final String PREF_COMBO_SERVICENAME_INDEX = "PREF_TEXT_SERVICENAME";
101:
102: static final String PREF_DATABINDER_INDEX = "PREF_DATABINDER_INDEX";
103:
104: static final String PREF_GEN_ALL = "PREF_GEN_ALL";
105: static final String PREF_GEN_SS_INTERFACE = "PREF_GEN_SERVERSIDE_INTERFACE";
106:
107: // ##################################################################################
108: // Java source file selection page
109: static final String JAVA_CLASS_NAME = "JAVA_CLASS_NAME";
110: static final String JAVA_CLASS_PATH_ENTRIES = "JAVA_CLASS_PATH_NAME";
111:
112: // ##################################################################################
113: // Java2wsdl options selection page
114: static final String PREF_JAVA_TARGET_NS = "TARGET_NS";
115: static final String PREF_JAVA_TARGET_NS_PREF = "TARGET_NS_PREF";
116: static final String PREF_JAVA_SCHEMA_TARGET_NS = "SCHEMA_TARGET_NS";
117: static final String PREF_JAVA_SERVICE_NAME = "SCHEMA_SERVICE";
118: static final String PREF_JAVA_STYLE_INDEX = "STYLE_INDEX";
119: static final String PREF_JAVA_SCHEMA_TARGET_NS_PREF = "SCHEMA_TARGET_NS_PREF";
120:
121: // ##################################################################################
122: //output page
123: static final String JAVA_OUTPUT_WSDL_NAME = "OUTPUT_WSDL";
124: static final String PREF_JAVA_OUTPUT_WSDL_LOCATION = "OUTPUT_WSDL_LOCATION";
125: static final String PREF_JAVA_OUTPUT_FILESYATEM = "OUTPUT_WSDL_LOCATION_FILESYATEM";
126: static final String PREF_JAVA_OUTPUT_WORKSPACE = "OUTPUT_WSDL_LOCATION_WORKSPACE";
127: // ##################################################################################
128: // Page constants
129: static final int WSDL_2_JAVA_TYPE = 1;
130: static final int JAVA_2_WSDL_TYPE = 2;
131: static final int UNSPECIFIED_TYPE = 3;
132:
133: // ##################################################################################
134: // Codegen Options constants
135: static final int CODEGEN_DEFAULT_TYPE = 11;
136: static final int CODEGEN_CUSTOM_TYPE = 12;
137: static final int CODEGEN_UNDECLEARED_TYPE = 13;
138:
139: // ##################################################################################
140: // WSDL Mode constants
141: static final String WSDL_ALL = "All";
142: static final String WSDL_INTERFACE_ONLY = "Interface only";
143: static final String WSDL_IMPLEMENTATION_ONLY = "Implementation only";
144:
145: // ###########################################################
146: static final String WSDL_STYLE_DOCUMENT = "Document";
147: static final String WSDL_STYLE_RPC = "rpc";
148: static final String WSDL_STYLE_WRAPPED = "wrapped";
149:
150: // ###########################################################
151: static final String PREF_CHECK_WORKSPACE = "PREF_CHECK_WORKSPACE";
152:
153: static final String PREF_CHECK_FILE_SYSTEM = "PREF_CHECK_FILE_SYSTEM";
154:
155: static final String PREF_CHECK_AXIS_LIB_COPY = "PREF_CHECK_FILE_SYSTEM";
156:
157: static final String PREF_CHECK_JAR_CREATION = "PREF_CHECK_FILE_SYSTEM";
158:
159: static final String PREF_AXIS_HOME_OUTPUT_LOCATION = "PREF_OUTPUT_LOCATION";
160:
161: static final String PREF_AXIS_LIB_LOCATION = "PREF_OUTPUT_LOCATION";
162:
163: static final String PREF_JAR_FILE_NAME = "PREF_OUTPUT_LOCATION";
164:
165: static final String PREF_CODEGEN_OPTION_INDEX = "PREF_CODEGEN_OPTION_INDEX";
166:
167: static final String PREF_CHECK_AXIS_PLUGIN_LIB_COPY = "PREF_CHECK_AXIS_PLUGIN_LIB_COPY";
168:
169: }
|