01: /*
02:
03: Derby - Class org.apache.derby.ui.common.CommonNames
04:
05: Licensed to the Apache Software Foundation (ASF) under one or more
06: contributor license agreements. See the NOTICE file distributed with
07: this work for additional information regarding copyright ownership.
08: The ASF licenses this file to you under the Apache License, Version 2.0
09: (the "License"); you may not use this file except in compliance with
10: the License. You may obtain a copy of the License at
11:
12: http://www.apache.org/licenses/LICENSE-2.0
13:
14: Unless required by applicable law or agreed to in writing, software
15: distributed under the License is distributed on an "AS IS" BASIS,
16: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: See the License for the specific language governing permissions and
18: limitations under the License.
19:
20: */
21:
22: package org.apache.derby.ui.common;
23:
24: public class CommonNames {
25: //Network Server related
26: public static String DERBY_SERVER_CLASS = "org.apache.derby.drda.NetworkServerControl";
27: public static String DERBY_SERVER = "Derby Network Server";
28: public static String START_DERBY_SERVER = "start";
29: public static String SHUTDOWN_DERBY_SERVER = "shutdown";
30:
31: //Tools related
32: public static String SYSINFO_CLASS = "org.apache.derby.tools.sysinfo";
33: public static String SYSINFO = "SYSINFO";
34: public static String IJ_CLASS = "org.apache.derby.tools.ij";
35: public static String IJ = "IJ";
36: public static String SQL_SCRIPT = "SQL Script";
37:
38: //actual information
39: public static String CORE_PATH = "org.apache.derby.core";
40: public static String UI_PATH = "org.apache.derby.ui";
41: public static String PLUGIN_NAME = "Apache Derby Ui Plug-in";
42:
43: //The next to be used with UI_PATH for adding nature. isrunning and decorator
44: public static String DERBY_NATURE = UI_PATH + "." + "derbyEngine";
45: public static String ISRUNNING = "isrun";
46: public static String RUNDECORATOR = UI_PATH + "."
47: + "DerbyIsRunningDecorator";
48:
49: //Launch Config Types
50: public static String START_SERVER_LAUNCH_CONFIG_TYPE = UI_PATH
51: + ".startDerbyServerLaunchConfigurationType";
52: public static String STOP_SERVER_LAUNCH_CONFIG_TYPE = UI_PATH
53: + ".stopDerbyServerLaunchConfigurationType";
54: public static String IJ_LAUNCH_CONFIG_TYPE = UI_PATH
55: + ".ijDerbyLaunchConfigurationType";
56: public static String SYSINFO_LAUNCH_CONFIG_TYPE = UI_PATH
57: + ".sysinfoDerbyLaunchConfigurationType";
58:
59: //JVM Poperties
60: public static String D_IJ_PROTOCOL = " -Dij.protocol=";
61: public static String DERBY_PROTOCOL = "jdbc:derby:";
62: public static String D_SYSTEM_HOME = " -Dderby.system.home=";
63:
64: }
|