1 19 20 package org.netbeans.modules.subversion.ui.copy; 21 22 import org.netbeans.modules.subversion.ui.wizards.*; 23 24 28 public class MergeOneFolderPanel extends javax.swing.JPanel { 29 30 31 public MergeOneFolderPanel() { 32 initComponents(); 33 } 34 35 40 private void initComponents() { 42 jLabel8 = new javax.swing.JLabel (); 43 jLabel9 = new javax.swing.JLabel (); 44 45 setName(org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_Message")); mergeStartRepositoryFolderLabel.setLabelFor(mergeStartUrlComboBox); 47 org.openide.awt.Mnemonics.setLocalizedText(mergeStartRepositoryFolderLabel, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_RepositoryFolder")); mergeStartRepositoryFolderLabel.getAccessibleContext().setAccessibleDescription("Repository Folder"); 49 50 mergeAfterRevisionLabel.setIcon(new javax.swing.ImageIcon (getClass().getResource("/org/netbeans/modules/subversion/resources/icons/ending_revision.png"))); 51 mergeAfterRevisionLabel.setLabelFor(mergeEndRevisionTextField); 52 org.openide.awt.Mnemonics.setLocalizedText(mergeAfterRevisionLabel, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_EndingRev")); mergeAfterRevisionLabel.getAccessibleContext().setAccessibleDescription("End Repository Revision for Merging"); 54 55 mergeEndRevisionTextField.getAccessibleContext().setAccessibleName("Ending Revision"); 56 mergeEndRevisionTextField.getAccessibleContext().setAccessibleDescription("Ending Revision for Merging"); 57 58 org.openide.awt.Mnemonics.setLocalizedText(mergeStartSearchButton, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_Search")); mergeStartSearchButton.getAccessibleContext().setAccessibleDescription("Search Repository Revision"); 60 61 org.openide.awt.Mnemonics.setLocalizedText(mergeAfterEmptyLabel, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_EmptyHint")); 63 mergeStartUrlComboBox.setEditable(true); 64 65 org.openide.awt.Mnemonics.setLocalizedText(mergeStartBrowseButton, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_Browse")); mergeStartBrowseButton.getAccessibleContext().setAccessibleDescription("Browse Repository Folder"); 67 68 org.openide.awt.Mnemonics.setLocalizedText(mergeEndSearchButton, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_Search2")); mergeEndSearchButton.getAccessibleContext().setAccessibleDescription("Search End Repository Revision for Merging"); 70 71 mergeStartRevisionTextField.getAccessibleContext().setAccessibleDescription("Starting Revision for Merging"); 72 73 jLabel8.setIcon(new javax.swing.ImageIcon (getClass().getResource("/org/netbeans/modules/subversion/resources/icons/starting_revision.png"))); 74 jLabel8.setLabelFor(mergeStartRevisionTextField); 75 org.openide.awt.Mnemonics.setLocalizedText(jLabel8, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_Start")); jLabel8.getAccessibleContext().setAccessibleDescription("Start Revision for Merging"); 77 78 org.openide.awt.Mnemonics.setLocalizedText(jLabel9, org.openide.util.NbBundle.getMessage(MergeOneFolderPanel.class, "CTL_MergeOneFolder_EmptyHint")); 80 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 81 this.setLayout(layout); 82 layout.setHorizontalGroup( 83 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 84 .add(layout.createSequentialGroup() 85 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) 86 .add(mergeAfterRevisionLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 87 .add(jLabel8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 88 .add(mergeStartRepositoryFolderLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 89 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 90 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 91 .add(mergeAfterEmptyLabel) 92 .add(jLabel9) 93 .add(layout.createSequentialGroup() 94 .add(mergeStartRevisionTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 93, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 95 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 96 .add(mergeStartSearchButton)) 97 .add(layout.createSequentialGroup() 98 .add(mergeEndRevisionTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 93, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 99 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 100 .add(mergeEndSearchButton)) 101 .add(mergeStartUrlComboBox, 0, 422, Short.MAX_VALUE)) 102 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 103 .add(mergeStartBrowseButton)) 104 ); 105 layout.setVerticalGroup( 106 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 107 .add(layout.createSequentialGroup() 108 .addContainerGap() 109 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 110 .add(mergeStartBrowseButton) 111 .add(mergeStartRepositoryFolderLabel) 112 .add(mergeStartUrlComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 113 .add(12, 12, 12) 114 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 115 .add(mergeStartRevisionTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 116 .add(mergeStartSearchButton) 117 .add(jLabel8)) 118 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 119 .add(jLabel9) 120 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 121 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 122 .add(mergeEndRevisionTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 123 .add(mergeEndSearchButton) 124 .add(mergeAfterRevisionLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 125 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 126 .add(mergeAfterEmptyLabel) 127 .addContainerGap()) 128 ); 129 } 131 132 private javax.swing.JLabel jLabel8; 134 private javax.swing.JLabel jLabel9; 135 final javax.swing.JLabel mergeAfterEmptyLabel = new javax.swing.JLabel (); 136 final javax.swing.JLabel mergeAfterRevisionLabel = new javax.swing.JLabel (); 137 final javax.swing.JTextField mergeEndRevisionTextField = new javax.swing.JTextField (); 138 final javax.swing.JButton mergeEndSearchButton = new javax.swing.JButton (); 139 final javax.swing.JButton mergeStartBrowseButton = new javax.swing.JButton (); 140 final javax.swing.JLabel mergeStartRepositoryFolderLabel = new javax.swing.JLabel (); 141 final javax.swing.JTextField mergeStartRevisionTextField = new javax.swing.JTextField (); 142 final javax.swing.JButton mergeStartSearchButton = new javax.swing.JButton (); 143 final javax.swing.JComboBox mergeStartUrlComboBox = new javax.swing.JComboBox (); 144 146 } 147 | Popular Tags |