01: package org.apache.ojb.tools.mapping.reversedb2;
02:
03: import org.apache.ojb.tools.mapping.reversedb2.gui.*;
04:
05: /* Copyright 2002-2005 The Apache Software Foundation
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19:
20: /**
21: *
22: * @author <a href="mailto:bfl@florianbruckner.com">Florian Bruckner</a>
23: * @version $Id: Main.java,v 1.1.2.1 2005/12/21 22:32:04 tomdz Exp $
24: */
25: public class Main {
26: public static final String PROPERTY_JDBCDRIVER = "JDBCDriver";
27: public static final String PROPERTY_JDBCURL = "JDBCUrl";
28: public static final String PROPERTY_JDBCUSER = "JDBCUser";
29: public static final String PROPERTY_MAINFRAME_WIDTH = "MainframeWidth";
30: public static final String PROPERTY_MAINFRAME_HEIGHT = "MainframeHeight";
31: public static final String PROPERTY_MAINFRAME_POSX = "MainframePosX";
32: public static final String PROPERTY_MAINFRAME_POSY = "MainframePosY";
33:
34: private ExtendedProperties reverseDbProperties = new ExtendedProperties(
35: "ReverseDb2.properties");
36:
37: private static Main singleton = new Main();
38:
39: public static ExtendedProperties getProperties() {
40: return singleton.reverseDbProperties;
41: }
42:
43: /**
44: * @param args the command line arguments
45: */
46: public static void main(String[] args) {
47: new JFrmMain().show();
48: }
49:
50: /** Creates a new instance of Main */
51: private Main() {
52: }
53:
54: }
|