01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * When distributing Covered Code, include this CDDL Header Notice in each file
10: * and include the License file at http://www.netbeans.org/cddl.txt.
11: * If applicable, add the following below the CDDL Header, with the fields
12: * enclosed by brackets [] replaced by your own identifying information:
13: * "Portions Copyrighted [year] [name of copyright owner]"
14: *
15: * The Original Software is NetBeans. The Initial Developer of the Original
16: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17: * Microsystems, Inc. All Rights Reserved.
18: */
19:
20: /*
21: *
22: * Copyright 2005 Sun Microsystems, Inc.
23: *
24: * Licensed under the Apache License, Version 2.0 (the "License");
25: * you may not use this file except in compliance with the License.
26: * You may obtain a copy of the License at
27: *
28: * http://www.apache.org/licenses/LICENSE-2.0
29: *
30: * Unless required by applicable law or agreed to in writing, software
31: * distributed under the License is distributed on an "AS IS" BASIS,
32: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33: * See the License for the specific language governing permissions and
34: * limitations under the License.
35: *
36: */
37: package org.netbeans.modules.jdbcwizard.wizards;
38:
39: import org.openide.WizardDescriptor;
40:
41: /**
42: * Extends name input panel by implementing the WizardDescriptor.FinishablePanel interface to allow
43: * successful closure of the wizard from this panel.
44: *
45: * @author
46: */
47: public class JDBCWizardNameFinishPanel extends JDBCWizardNamePanel
48: implements WizardDescriptor.FinishablePanel {
49:
50: /**
51: *
52: */
53: private static final long serialVersionUID = 1L;
54:
55: /**
56: * No-arg constructor for this wizard descriptor.
57: */
58: public JDBCWizardNameFinishPanel() {
59: super ();
60: }
61:
62: /**
63: * Create the wizard finish panel descriptor, using the given owner and panel title.
64: *
65: * @param myOwner JDBCWizard that owns this panel
66: * @param panelTitle text to display as panel title
67: */
68: public JDBCWizardNameFinishPanel(
69: final JDBCCollaborationWizard myOwner,
70: final String panelTitle) {
71: super (myOwner, panelTitle);
72: }
73:
74: public boolean isFinishPanel() {
75: return true;
76: }
77: }
|