Changeset 5792
- Timestamp:
- 2003-11-07T10:34:54+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionMetadataPrompt.java
r5571 r5792 29 29 30 30 public NewCollectionMetadataPrompt() { 31 new NewCollectionMetadataPrompt(false); 32 } 33 public NewCollectionMetadataPrompt(boolean existing_coll) { 31 34 super(Gatherer.g_man, true); 32 35 this.self = this; 33 setJMenuBar(new SimpleMenuBar("creatingacollection")); 36 if (existing_coll) { 37 setJMenuBar(new SimpleMenuBar("openingacollection")); 38 Dictionary.setText(this, "NewCollectionPrompt.Metadata_Title_Existing"); 39 } else { 40 setJMenuBar(new SimpleMenuBar("creatingacollection")); 41 Dictionary.setText(this, "NewCollectionPrompt.Title"); 42 } 34 43 setModal(true); 35 44 setSize(size); 36 Dictionary.setText(this, "NewCollectionPrompt.Title");45 37 46 38 47 // And the remaining metadata sets. … … 167 176 implements ActionListener { 168 177 public void actionPerformed(ActionEvent event) { 169 178 // See if the user has selected no metadata sets, and if so confirm thats what they really want. 170 179 ArrayList selected_sets = sets_list.getSelected(); 171 180 cancelled = false;
Note:
See TracChangeset
for help on using the changeset viewer.