Changeset 13604
- Timestamp:
- 2007-01-12T17:50:12+13:00 (17 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionTree.java
r13465 r13604 234 234 235 235 // Rename option 236 // !! TO DO: Remote building 237 if (!Gatherer.isGsdlRemote) { 238 rename = new JMenuItem(Dictionary.get("CollectionPopupMenu.Rename"), KeyEvent.VK_R); 239 rename.addActionListener(this); 240 add(rename); 241 } 236 rename = new JMenuItem(Dictionary.get("CollectionPopupMenu.Rename"), KeyEvent.VK_R); 237 rename.addActionListener(this); 238 add(rename); 242 239 243 240 TreePath path = selection_paths[0]; … … 252 249 add(explode_metadata_database); 253 250 } 251 254 252 // Replace file 255 253 // !! TO DO: Remote building -
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r13586 r13604 389 389 CollectionTreeNode new_collection_tree_node = new CollectionTreeNode(new_collection_file); 390 390 file_queue.addJob(System.currentTimeMillis(), collection_tree, new FileNode[] { collection_tree_node }, collection_tree, new_collection_tree_node, FileJob.RENAME); 391 if (Gatherer.isGsdlRemote) { 392 RemoteGreenstoneServer.moveCollectionFile(CollectionManager.getLoadedCollectionName(), collection_file, new_collection_file); 393 } 391 394 } 392 395 }
Note:
See TracChangeset
for help on using the changeset viewer.