Add missing NetBeans *.form files.
[nbgit.git] / src / org / netbeans / modules / git / ui / repository / RepositoryPanel.java
blobf110e74c7d272628c93bfbcbd875034f22b46077
1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4 * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
6 * The contents of this file are subject to the terms of either the GNU
7 * General Public License Version 2 only ("GPL") or the Common
8 * Development and Distribution License("CDDL") (collectively, the
9 * "License"). You may not use this file except in compliance with the
10 * License. You can obtain a copy of the License at
11 * http://www.netbeans.org/cddl-gplv2.html
12 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
13 * specific language governing permissions and limitations under the
14 * License. When distributing the software, include this License Header
15 * Notice in each file and include the License file at
16 * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
17 * particular file as subject to the "Classpath" exception as provided
18 * by Sun in the GPL Version 2 section of the License file that
19 * accompanied this code. If applicable, add the following below the
20 * License Header, with the fields enclosed by brackets [] replaced by
21 * your own identifying information:
22 * "Portions Copyrighted [year] [name of copyright owner]"
24 * Contributor(s):
26 * The Original Software is NetBeans. The Initial Developer of the Original
27 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
28 * Microsystems, Inc. All Rights Reserved.
29 * Portions Copyright 2008 Alexander Coles (Ikonoklastik Productions).
31 * If you wish your version of this file to be governed by only the CDDL
32 * or only the GPL Version 2, indicate your decision by adding
33 * "[Contributor] elects to include this software in this distribution
34 * under the [CDDL or GPL Version 2] license." If you do not indicate a
35 * single choice of license, a recipient has the option to distribute
36 * your version of this file under either the CDDL, the GPL Version 2 or
37 * to extend the choice of license to its licensees as provided above.
38 * However, if you add GPL Version 2 code and therefore, elected the GPL
39 * Version 2 license, then the option applies only if the new code is
40 * made subject to such option by the copyright holder.
42 package org.netbeans.modules.git.ui.repository;
45 /**
47 * @author Petr Kuzel
49 public class RepositoryPanel extends javax.swing.JPanel {
51 /** Creates new form RepositoryPanel */
52 public RepositoryPanel() {
53 initComponents();
56 /** This method is called from within the constructor to
57 * initialize the form.
58 * WARNING: Do NOT modify this code. The content of this method is
59 * always regenerated by the Form Editor.
61 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
62 private void initComponents() {
64 setMinimumSize(new java.awt.Dimension(480, 160));
65 setName("null");
66 setVerifyInputWhenFocusTarget(false);
68 titleLabel.setText("null");
70 jLabel2.setLabelFor(urlComboBox);
71 org.openide.awt.Mnemonics.setLocalizedText(jLabel2, "null");
73 urlComboBox.setEditable(true);
75 org.openide.awt.Mnemonics.setLocalizedText(proxySettingsButton, "null");
76 proxySettingsButton.setToolTipText("null");
78 tipLabel.setText("-"); // NOI18N
79 tipLabel.setMaximumSize(new java.awt.Dimension(32767, 32767));
81 removeButton.setText("null");
83 userPasswordField.setMinimumSize(new java.awt.Dimension(11, 22));
84 userPasswordField.setPreferredSize(new java.awt.Dimension(11, 22));
86 passwordLabel.setLabelFor(userPasswordField);
87 org.openide.awt.Mnemonics.setLocalizedText(passwordLabel, "null");
88 passwordLabel.setToolTipText("null");
90 userLabel.setLabelFor(userTextField);
91 org.openide.awt.Mnemonics.setLocalizedText(userLabel, "null");
92 userLabel.setToolTipText("null");
94 userTextField.setMinimumSize(new java.awt.Dimension(11, 22));
95 userTextField.setPreferredSize(new java.awt.Dimension(11, 22));
97 leaveBlankLabel.setText("null");
99 tunnelLabel.setText("null");
101 tunnelCommandLabel.setText("null");
103 tunnelHelpLabel.setText("null");
105 savePasswordCheckBox.setMnemonic('v');
106 savePasswordCheckBox.setText("null");
107 savePasswordCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0));
109 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
110 this.setLayout(layout);
111 layout.setHorizontalGroup(
112 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
113 .add(titleLabel)
114 .add(layout.createSequentialGroup()
115 .add(proxySettingsButton)
116 .addContainerGap())
117 .add(layout.createSequentialGroup()
118 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
119 .add(jLabel2)
120 .add(userLabel)
121 .add(passwordLabel))
122 .add(38, 38, 38)
123 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
124 .add(layout.createSequentialGroup()
125 .add(savePasswordCheckBox)
126 .addContainerGap())
127 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
128 .add(tipLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 564, Short.MAX_VALUE)
129 .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
130 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
131 .add(urlComboBox, 0, 451, Short.MAX_VALUE)
132 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
133 .add(removeButton))
134 .add(layout.createSequentialGroup()
135 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
136 .add(org.jdesktop.layout.GroupLayout.LEADING, userPasswordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
137 .add(org.jdesktop.layout.GroupLayout.LEADING, userTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 145, Short.MAX_VALUE))
138 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
139 .add(leaveBlankLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 389, Short.MAX_VALUE)
140 .addContainerGap()))))
141 .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
142 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
143 .add(org.jdesktop.layout.GroupLayout.LEADING, tunnelHelpLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 669, Short.MAX_VALUE)
144 .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
145 .add(tunnelLabel)
146 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
147 .add(tunnelCommandTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 592, Short.MAX_VALUE))
148 .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
149 .add(tunnelCommandLabel)
150 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
151 .addContainerGap())
153 layout.setVerticalGroup(
154 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
155 .add(layout.createSequentialGroup()
156 .add(titleLabel)
157 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
158 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
159 .add(jLabel2)
160 .add(removeButton)
161 .add(urlComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
162 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
163 .add(tipLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
164 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
165 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
166 .add(userLabel)
167 .add(userTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
168 .add(leaveBlankLabel))
169 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
170 .add(layout.createSequentialGroup()
171 .add(2, 2, 2)
172 .add(userPasswordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 22, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
173 .add(layout.createSequentialGroup()
174 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
175 .add(passwordLabel)))
176 .add(3, 3, 3)
177 .add(savePasswordCheckBox)
178 .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)
179 .add(proxySettingsButton)
180 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
181 .add(tunnelCommandLabel)
182 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
183 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
184 .add(tunnelLabel)
185 .add(tunnelCommandTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
186 .add(18, 18, 18)
187 .add(tunnelHelpLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 78, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
188 .addContainerGap(48, Short.MAX_VALUE))
191 titleLabel.getAccessibleContext().setAccessibleDescription("null");
192 titleLabel.getAccessibleContext().setAccessibleParent(this);
193 jLabel2.getAccessibleContext().setAccessibleParent(this);
194 urlComboBox.getAccessibleContext().setAccessibleName("null");
195 urlComboBox.getAccessibleContext().setAccessibleDescription("null");
196 urlComboBox.getAccessibleContext().setAccessibleParent(this);
197 proxySettingsButton.getAccessibleContext().setAccessibleParent(this);
198 removeButton.getAccessibleContext().setAccessibleName("null");
199 removeButton.getAccessibleContext().setAccessibleDescription("null");
200 userPasswordField.getAccessibleContext().setAccessibleParent(this);
201 passwordLabel.getAccessibleContext().setAccessibleParent(this);
202 userLabel.getAccessibleContext().setAccessibleParent(this);
203 userTextField.getAccessibleContext().setAccessibleParent(this);
204 leaveBlankLabel.getAccessibleContext().setAccessibleDescription("null");
205 leaveBlankLabel.getAccessibleContext().setAccessibleParent(this);
206 savePasswordCheckBox.getAccessibleContext().setAccessibleDescription("null");
208 getAccessibleContext().setAccessibleDescription("null");
209 }// </editor-fold>//GEN-END:initComponents
212 // Variables declaration - do not modify//GEN-BEGIN:variables
213 private final javax.swing.JLabel jLabel2 = new javax.swing.JLabel();
214 final javax.swing.JLabel leaveBlankLabel = new javax.swing.JLabel();
215 final javax.swing.JLabel passwordLabel = new javax.swing.JLabel();
216 final javax.swing.JButton proxySettingsButton = new javax.swing.JButton();
217 final javax.swing.JButton removeButton = new javax.swing.JButton();
218 final javax.swing.JCheckBox savePasswordCheckBox = new javax.swing.JCheckBox();
219 final javax.swing.JLabel tipLabel = new javax.swing.JLabel();
220 final javax.swing.JLabel titleLabel = new javax.swing.JLabel();
221 final javax.swing.JLabel tunnelCommandLabel = new javax.swing.JLabel();
222 final javax.swing.JTextField tunnelCommandTextField = new javax.swing.JTextField();
223 final javax.swing.JLabel tunnelHelpLabel = new javax.swing.JLabel();
224 final javax.swing.JLabel tunnelLabel = new javax.swing.JLabel();
225 final javax.swing.JComboBox urlComboBox = new javax.swing.JComboBox();
226 final javax.swing.JLabel userLabel = new javax.swing.JLabel();
227 final javax.swing.JPasswordField userPasswordField = new javax.swing.JPasswordField();
228 final javax.swing.JTextField userTextField = new javax.swing.JTextField();
229 // End of variables declaration//GEN-END:variables