- Timestamp:
- 2006-07-10T14:57:04+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/MetadataImportMappingPrompt.java
r11444 r12119 42 42 dialog.setSize(DIALOG_SIZE); 43 43 dialog.setJMenuBar(new SimpleMenuBar("importingpreviouslyassignedmetadata")); 44 Dictionary.setText(dialog, "MIMP.Title");45 44 dialog.setTitle(Dictionary.get("MIMP.Title")); 45 46 46 // All the loaded metadata sets except the extracted metadata set are applicable 47 47 ArrayList metadata_sets = MetadataSetManager.getMetadataSets(); … … 52 52 } 53 53 54 add_button = new GLIButton( );54 add_button = new GLIButton(Dictionary.get("MIMP.Add"), Dictionary.get("MIMP.Add_Tooltip")); 55 55 add_button.addActionListener(this); 56 add_button.setMnemonic(KeyEvent.VK_A); 57 Dictionary.registerBoth(add_button, "MIMP.Add", "MIMP.Add_Tooltip"); 58 59 merge_button = new GLIButton(); 56 57 merge_button = new GLIButton(Dictionary.get("MIMP.Merge"), Dictionary.get("MIMP.Merge_Tooltip")); 60 58 merge_button.addActionListener(this); 61 59 merge_button.setEnabled(true); 62 merge_button.setMnemonic(KeyEvent.VK_M); 63 Dictionary.registerBoth(merge_button, "MIMP.Merge", "MIMP.Merge_Tooltip"); 64 65 ignore_button = new GLIButton(); 60 61 ignore_button = new GLIButton(Dictionary.get("MIMP.Ignore"), Dictionary.get("MIMP.Ignore_Tooltip")); 66 62 ignore_button.addActionListener(this); 67 63 ignore_button.setEnabled(true); 68 ignore_button.setMnemonic(KeyEvent.VK_S); 69 Dictionary.registerBoth(ignore_button, "MIMP.Ignore", "MIMP.Ignore_Tooltip"); 70 64 71 65 // !! Need to add instructions: "MIMP.Instructions", args: source elem 72 66 metadata_elements_combobox = new GComboBox();
Note:
See TracChangeset
for help on using the changeset viewer.