Changeset 7159
- Timestamp:
- 2004-03-30T17:18:14+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java
r6888 r7159 1203 1203 if(metadata.contains(data)) { 1204 1204 ArrayList undo = new ArrayList(); 1205 1205 // We do have it. If action == CONFIRM, show user prompt. 1206 1206 if(action == MetaEditPrompt.CONFIRM) { 1207 1207 MetaEditPrompt mep = new MetaEditPrompt(MetaEditPrompt.REMOVE_PROMPT, multiple_selection, record.getFile(), data.getElement().toString(), data.getValue(), ""); 1208 1208 user_action = mep.display(); 1209 1209 } 1210 1210 // Set action to match the user_action under certain circumstances. 1211 1211 if(user_action == MetaEditPrompt.CANCEL || user_action == MetaEditPrompt.REMOVE_ALL) { 1212 1212 action = user_action; … … 1216 1216 undo.add(data); 1217 1217 } 1218 1218 // Store undo information 1219 1219 undo_buffer.put(record, undo); 1220 1220 }
Note:
See TracChangeset
for help on using the changeset viewer.