KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > tool > codegen > eclipse > util > SettingsConstants


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy of
6  * the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations under
14  * the License.
15  */

16 package org.apache.axis.tool.codegen.eclipse.util;
17
18 public interface SettingsConstants {
19
20     // ######################################################################
21
//WSDL Selection page constants
22
/**
23      * The key for storing the WSDL location in the dialog settings of the
24      * WSDLFileSelectionPage
25      */

26     static final String JavaDoc PREF_WSDL_LOCATION = "PREF_WSDL_LOCATION";
27
28     // ######################################################################
29
// Tools selection page
30
static final String JavaDoc PREF_TOOL_SELECTION_WSDL2JAVA = "PREF_TOOL_SELECTION_WSDL2JAVA";
31
32     static final String JavaDoc PREF_TOOL_SELECTION_JAVA2WSDL = "PREF_TOOL_SELECTION_JAVA2WSDL";
33
34     // ######################################################################
35
// Output selection page
36
/**
37      * The key to store the output location in the settings
38      *
39      */

40     static final String JavaDoc PREF_OUTPUT_LOCATION = "PREF_OUTPUT_LOCATION";
41
42     //Options page constants
43
/**
44      * Position in the combox for choosing the target programming language. Default is 0
45      */

46     static final String JavaDoc PREF_LANGUAGE_INDEX = "PREF_LANGUAGE_INDEX";
47
48     /**
49      * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
50      */

51     static final String JavaDoc PREF_RADIO_SYNC_AND_ASYNC = "PREF_RADIO_SYNC_AND_ASYNC";
52
53     /**
54      * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
55      */

56     static final String JavaDoc PREF_RADIO_SYNC_ONLY = "PREF_RADIO_SYNC_ONLY";
57
58     /**
59      * Three radio buttons: Generate Code for Sync calls, Async and Both. Both is default.
60      */

61     static final String JavaDoc PREF_RADIO_ASYNC_ONLY = "PREF_RADIO_ASYNC_ONLY";
62
63     /**
64      * Specifies the full qualified package name for the generated source code.
65      */

66     static final String JavaDoc PREF_PACKAGE_NAME = "PREF_PACKAGE_NAME";
67
68     /**
69      * A boolean value whether JUnit test classes are generated or not.
70      */

71     static final String JavaDoc PREF_CHECK_GENERATE_TESTCASE = "PREF_CHECK_GENERATE_TESTCASE";
72
73     /**
74      * A boolean value whether the server-side skeletons are generated or not
75      */

76     static final String JavaDoc PREF_CHECK_GENERATE_SERVERSIDE = "PREF_CHECK_GENERATE_SERVERSIDE";
77
78     /**
79      * A boolean value whether the server-side configuration file for Axis2 (server.xml) will be generated or not.
80      */

81     static final String JavaDoc PREF_CHECK_GENERATE_SERVERCONFIG = "PREF_CHECK_GENERATE_SERVERCONFIG";
82
83     // ##################################################################################
84
// Java source file selection page
85
static final String JavaDoc JAVA_CLASS_NAME = "JAVA_CLASS_NAME";
86
87     static final String JavaDoc JAVA_CLASS_LOCATION_NAME = "JAVA_CLASS_LOCATION_NAME";
88     
89     // ##################################################################################
90
// Java2wsdl options selection page
91
static final String JavaDoc PREF_JAVA_INPUT_WSDL_NAME = "INPUT_WSDL";
92     
93     static final String JavaDoc PREF_JAVA_LOCATION = "LOCATION_URL";
94     static final String JavaDoc PREF_JAVA_BINDING_NAME = "BINDING_NAME";
95     static final String JavaDoc PREF_JAVA_MODE_INDEX = "MODE_INDEX";
96     static final String JavaDoc PREF_JAVA_STYLE_INDEX = "STYLE_INDEX";
97     static final String JavaDoc PREF_JAVA_PORTYPE_NAME = "PORTYPE_NAME";
98     
99     // ##################################################################################
100
//output page
101
static final String JavaDoc JAVA_OUTPUT_WSDL_NAME = "OUTPUT_WSDL";
102     static final String JavaDoc PREF_JAVA_OUTPUT_WSDL_LOCATION = "OUTPUT_WSDL_LOCATION";
103     // ##################################################################################
104
// Page constants
105
static final int WSDL_2_JAVA_TYPE = 1;
106      static final int JAVA_2_WSDL_TYPE = 2;
107      static final int UNSPECIFIED_TYPE = 3;
108     
109     // ##################################################################################
110
// WSDL Mode constants
111
static final String JavaDoc WSDL_ALL = "All";
112      static final String JavaDoc WSDL_INTERFACE_ONLY = "Interface only";
113      static final String JavaDoc WSDL_IMPLEMENTATION_ONLY = "Implementation only";
114      
115      // ###########################################################
116
static final String JavaDoc WSDL_STYLE_DOCUMENT="Document";
117      static final String JavaDoc WSDL_STYLE_RPC="rpc";
118      static final String JavaDoc WSDL_STYLE_WRAPPED="wrapped";
119     
120 }
121
Popular Tags