|
What this is
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.cvsclient.customizer;
import org.openide.util.*;
import org.openide.*;
import javax.swing.event.*;
import java.awt.event.*;
import javax.swing.tree.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import org.netbeans.modules.javacvs.util.*;
import org.netbeans.modules.cvsclient.JavaCvsSettings;
import org.netbeans.modules.cvsclient.IndependantClient;
import org.netbeans.modules.javacvs.events.CommandErrorListener;
import org.netbeans.modules.cvsclient.FsCommandFactory;
import org.netbeans.modules.javacvs.events.CommandErrorEvent;
import org.netbeans.modules.cvsclient.commands.ErrorLogPanel;
import org.netbeans.modules.javacvs.commands.CvsCheckout;
/**
*
* @author mkleint
* @version
*/
public class Cust4MountPanel extends org.netbeans.modules.vcscore.cmdline.RelativeMountPanel
implements TreeSelectionListener, CommandErrorListener {
private NbJavaCvsCustomizer customizer;
private ArrayList listeners;
private String workingDir;
private JButton btnCheckout;
static final long serialVersionUID = 5574652503187921114L;
public Cust4MountPanel() {
super();
setPreferredSize(new Dimension(300, 300));
//initComponents ();
// isValid = false;
//trRelMount.addTreeSelectionListener(this);
/* JPanel buttnPanel = new JPanel();
buttnPanel.setLayout(new BoxLayout(buttnPanel, BoxLayout.Y_AXIS));
btnCheckout = new javax.swing.JButton();
btnCheckout.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/cvsclient/customizer/Bundle").getString("RelativeMountPanel.btnCheckout.text"));
btnCheckout.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/modules/cvsclient/customizer/Bundle").getString("RelativeMountPanel.btnCheckout.mnemonic").charAt (0));
btnCheckout.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnCheckoutActionPerformed(evt);
}
});
buttnPanel.add(btnCheckout);
buttnPanel.add(javax.swing.Box.createVerticalStrut(12));
add(buttnPanel, BorderLayout.NORTH);
*/
}
/*
private void btnCheckoutActionPerformed(java.awt.event.ActionEvent evt) {
// Add your handling code here:
performCheckout();
}
*/
public String getName() {
return org.openide.util.NbBundle.getBundle(Cust4MountPanel.class).getString("Cust4MountPanel.mountDialogLabel"); // NOI18N
}
/** Test whether the panel is finished and it is safe to proceed to the next one.
* If the panel is valid, the "Next" (or "Finish") button will be enabled.
* @return
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.