Changeset 30854
- Timestamp:
- 2016-09-29T18:06:24+13:00 (6 years ago)
- Location:
- main/trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/collection/Collection.java
r19944 r30854 233 233 public File getCollectionDirectory() { 234 234 return file.getParentFile(); 235 } 236 237 // return full file path of the collection object 238 public String getCollectionPath() { 239 return file.getAbsolutePath(); 235 240 } 236 241 -
main/trunk/gli/src/org/greenstone/gatherer/gui/ConfigFileEditor.java
r30705 r30854 186 186 187 187 this.dispose(); // get rid of this dialog, we're done 188 189 // close and reopen the collection in GLI 190 String current_collection_filepath = Gatherer.c_man.getCollection().getCollectionPath(); 191 Gatherer.c_man.closeCollection(); 192 Gatherer.c_man.loadCollection(current_collection_filepath); 188 193 } 189 194 }
Note:
See TracChangeset
for help on using the changeset viewer.