Changeset 5355 for trunk/gli/src/org/greenstone/gatherer/msm
- Timestamp:
- 2003-08-29T12:00:36+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/ExportMDSPrompt.java
r4674 r5355 97 97 if(export) { 98 98 setSize(EXPORT_SIZE); 99 setTitle(get(" Export_Title"));99 setTitle(get("MSMPrompt.Export_Title")); 100 100 setJMenuBar(new SimpleMenuBar("0")); // need to find an appropriate help page to open at 101 101 } 102 102 else { 103 103 setSize(IMPORT_SIZE); 104 setTitle(get(" Import_Title"));104 setTitle(get("MSMPrompt.Import_Title")); 105 105 setJMenuBar(new SimpleMenuBar("0")); // need to find an appropriate help page to open at 106 106 } 107 107 JPanel content_pane = (JPanel) getContentPane(); 108 108 JPanel control_pane = new JPanel(); 109 JLabel set_label = new JLabel(get(" Export_Set"));109 JLabel set_label = new JLabel(get("MSMPrompt.Export_Set")); 110 110 sets = new JComboBox(manager.getSets()); 111 JLabel condition_label = new JLabel(get(" Export_Conditions"));111 JLabel condition_label = new JLabel(get("MSMPrompt.Export_Conditions")); 112 112 JPanel condition_pane = new JPanel(); 113 113 ButtonGroup condition_group = new ButtonGroup(); 114 all_values = new JRadioButton(get(" Export_All_Values"));114 all_values = new JRadioButton(get("MSMPrompt.Export_All_Values")); 115 115 all_values.setOpaque(false); 116 116 condition_group.add(all_values); 117 no_values = new JRadioButton(get(" Export_No_Values"));117 no_values = new JRadioButton(get("MSMPrompt.Export_No_Values")); 118 118 no_values.setOpaque(false); 119 119 condition_group.add(no_values); 120 structure_only = new JRadioButton(get(" Export_Subjects_Only"));120 structure_only = new JRadioButton(get("MSMPrompt.Export_Subjects_Only")); 121 121 structure_only.setOpaque(false); 122 122 condition_group.add(structure_only); 123 123 all_values.setSelected(true); 124 JLabel file_label = new JLabel(get(" Export_File"));124 JLabel file_label = new JLabel(get("MSMPrompt.Export_File")); 125 125 JPanel file_pane = new JPanel(); 126 126 file_name = new JTextField(Utility.METADATA_DIR); … … 128 128 JPanel button_pane = new JPanel(); 129 129 if(export) { 130 export_button = new JButton(get(" File_Export"));130 export_button = new JButton(get("MSMPrompt.File_Export")); 131 131 export_button.setEnabled(false); 132 132 } 133 133 else { 134 export_button = new JButton(get(" File_Import"));134 export_button = new JButton(get("MSMPrompt.File_Import")); 135 135 export_button.setEnabled(true); 136 136 }
Note:
See TracChangeset
for help on using the changeset viewer.