- Timestamp:
- 2003-08-29T10:17:44+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/SubcollectionManager.java
r5310 r5342 188 188 JPanel border_pane = new JPanel(); 189 189 JPanel header_pane = new JPanel(); 190 instructions_area = new JTextArea(get(" Instructions"));190 instructions_area = new JTextArea(get("CDM.SubcollectionManager.Instructions")); 191 191 instructions_area.setEditable(false); 192 192 instructions_area.setLineWrap(true); … … 194 194 instructions_area.setWrapStyleWord(true); 195 195 tabbed_pane = new JTabbedPane(); 196 JLabel title = new JLabel(get(" Title"));196 JLabel title = new JLabel(get("CDM.SubcollectionManager.Title")); 197 197 title.setHorizontalAlignment(JLabel.CENTER); 198 198 199 199 JPanel button_pane_3 = new JPanel(); 200 add_button = new JButton(get(" Add"));200 add_button = new JButton(get("CDM.SubcollectionManager.Add")); 201 201 add_button.setMnemonic(KeyEvent.VK_A); 202 202 add_button.setEnabled(false); 203 remove_button = new JButton(get(" Remove"));203 remove_button = new JButton(get("CDM.SubcollectionManager.Remove")); 204 204 remove_button.setMnemonic(KeyEvent.VK_R); 205 205 remove_button.setEnabled(false); 206 update_button = new JButton(get(" Replace"));206 update_button = new JButton(get("CDM.SubcollectionManager.Replace")); 207 207 update_button.setMnemonic(KeyEvent.VK_U); 208 208 update_button.setEnabled(false); … … 210 210 JPanel button_pane = new JPanel(); 211 211 JPanel button_pane_1 = new JPanel(); 212 include_button = new JRadioButton(get(" Include"));212 include_button = new JRadioButton(get("CDM.SubcollectionManager.Include")); 213 213 include_button.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false)); 214 214 include_button.setMnemonic(KeyEvent.VK_I); 215 215 include_button.setOpaque(false); 216 exclude_button = new JRadioButton(get(" Exclude"));216 exclude_button = new JRadioButton(get("CDM.SubcollectionManager.Exclude")); 217 217 exclude_button.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false)); 218 218 exclude_button.setMnemonic(KeyEvent.VK_X); 219 219 exclude_button.setOpaque(false); 220 220 flags_field = new NonWhitespaceField(); 221 JLabel flags_label = new JLabel(get(" Flags"));222 JLabel inclusive_label = new JLabel(get(" Inclusive"));221 JLabel flags_label = new JLabel(get("CDM.SubcollectionManager.Flags")); 222 JLabel inclusive_label = new JLabel(get("CDM.SubcollectionManager.Inclusive")); 223 223 JPanel inclusive_pane = new JPanel(); 224 224 match_field = new JTextField(); 225 JLabel match_label = new JLabel(get(" Match"));225 JLabel match_label = new JLabel(get("CDM.SubcollectionManager.Match")); 226 226 name_field = new NonWhitespaceField(); 227 JLabel name_label = new JLabel(get(" Name"));227 JLabel name_label = new JLabel(get("CDM.SubcollectionManager.Name")); 228 228 Vector source_model = Gatherer.c_man.getCollection().msm.getAssignedElements(); 229 229 source_model.add(0, StaticStrings.FILENAME_STR); 230 230 source_combobox = new JComboBox(source_model); 231 JLabel source_label = new JLabel(get(" Source"));231 JLabel source_label = new JLabel(get("CDM.SubcollectionManager.Source")); 232 232 subcollection_list = new JList(model); 233 233 subcollection_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); … … 238 238 include_button.setSelected(true); 239 239 JPanel subcollection_list_pane = new JPanel(); 240 JLabel subcollection_list_label = new JLabel(get(" Assigned"));240 JLabel subcollection_list_label = new JLabel(get("CDM.SubcollectionManager.Assigned")); 241 241 242 242 // Add listeners … … 296 296 subcollection_pane.add(button_pane, BorderLayout.SOUTH); 297 297 298 tabbed_pane.addTab(get(" Subcollection_Controls"), subcollection_pane);299 tabbed_pane.addTab(get(" Subindex_Controls"), (JPanel) CollectionDesignManager.subcollectionindex_manager.getControls());300 tabbed_pane.addTab(get(" Language_Controls"), (JPanel) CollectionDesignManager.language_manager.getControls());298 tabbed_pane.addTab(get("CDM.SubcollectionManager.Subcollection_Controls"), subcollection_pane); 299 tabbed_pane.addTab(get("CDM.SubcollectionManager.Subindex_Controls"), (JPanel) CollectionDesignManager.subcollectionindex_manager.getControls()); 300 tabbed_pane.addTab(get("CDM.SubcollectionManager.Language_Controls"), (JPanel) CollectionDesignManager.language_manager.getControls()); 301 301 302 302 border_pane.setBorder(BorderFactory.createEmptyBorder(0,5,5,5));
Note:
See TracChangeset
for help on using the changeset viewer.