KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > tools > mapping > reversedb > gui > actions > DBConnPropertiesAction


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

17  
18 /**
19  *
20  * @author Florian Bruckner
21  * @version $Revision: 1.1.2.1 $
22  */

23 public class DBConnPropertiesAction extends javax.swing.AbstractAction JavaDoc
24 {
25     org.apache.ojb.tools.mapping.reversedb.gui.JFrmMainFrame mainFrame;
26   /** Creates a new instance of DBConnPropertiesAction */
27     public DBConnPropertiesAction(org.apache.ojb.tools.mapping.reversedb.gui.JFrmMainFrame pmainFrame)
28   {
29     super();
30     this.mainFrame = pmainFrame;
31     this.putValue(NAME, "Connect to Database");
32   }
33   
34   public void actionPerformed (java.awt.event.ActionEvent JavaDoc actionEvent)
35   {
36     new org.apache.ojb.tools.mapping.reversedb.gui.JDlgDBConnection(mainFrame, true, mainFrame).show();
37   }
38 }
39
40 /***************************** Changelog *****************************
41 // $Log: DBConnPropertiesAction.java,v $
42 // Revision 1.1.2.1 2005/12/21 22:32:06 tomdz
43 // Updated license
44 //
45 // Revision 1.1 2004/05/05 16:38:25 arminw
46 // fix fault
47 // wrong package structure used:
48 // org.apache.ojb.tools.reversdb
49 // org.apache.ojb.tools.reversdb2
50 //
51 // instead of
52 // org.apache.ojb.tools.mapping.reversdb
53 // org.apache.ojb.tools.mapping.reversdb2
54 //
55 // Revision 1.1 2004/05/04 13:44:59 arminw
56 // move reverseDB stuff
57 //
58 // Revision 1.6 2004/04/05 12:16:24 tomdz
59 // Fixed/updated license in files leftover from automatic license transition
60 //
61 // Revision 1.5 2004/04/04 23:53:42 brianm
62 // Fixed initial copyright dates to match cvs repository
63 //
64 // Revision 1.4 2004/03/11 18:16:23 brianm
65 // ASL 2.0
66 //
67 // Revision 1.3 2002/11/08 13:47:38 brj
68 // corrected some compiler warnings
69 //
70 // Revision 1.2 2002/06/17 19:34:34 jvanzyl
71 // Correcting all the package references.
72 // PR:
73 // Obtained from:
74 // Submitted by:
75 // Reviewed by:
76 //
77 // Revision 1.1.1.1 2002/06/17 18:16:54 jvanzyl
78 // Initial OJB import
79 //
80 // Revision 1.2 2002/05/16 11:47:09 florianbruckner
81 // fix CR/LF issue, change license to ASL
82 //
83 // Revision 1.1 2002/04/18 11:44:16 mpoeschl
84 //
85 // move files to new location
86 //
87 // Revision 1.2 2002/04/07 09:05:17 thma
88 // *** empty log message ***
89 //
90 // Revision 1.1.1.1 2002/02/20 13:35:25 Administrator
91 // initial import
92 //
93 /***************************** Changelog *****************************/

94  
95
Popular Tags