Changeset 7164
- Timestamp:
- 2004-03-31T10:19:08+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/EnrichPane.java
r7151 r7164 990 990 // Any folder node gets a menu item allowing you to collapse or expand it depending on its current status 991 991 if (!node.isLeaf()) { 992 992 // Collapse 993 993 if (collection_tree.isExpanded(path)) { 994 994 collapse_expand_folder_menuitem = new JMenuItem(Dictionary.get("Menu.Collapse"), KeyEvent.VK_C); 995 995 } 996 996 // Expand 997 997 else { 998 998 collapse_expand_folder_menuitem = new JMenuItem(Dictionary.get("Menu.Expand"), KeyEvent.VK_O); … … 1003 1003 String[] args = new String[1]; 1004 1004 args[0] = collection_tree.getSelectionDetails(); 1005 show_metaaudit = new JMenuItem(Dictionary.get("Menu.Metadata_View", args), KeyEvent.VK_ V);1005 show_metaaudit = new JMenuItem(Dictionary.get("Menu.Metadata_View", args), KeyEvent.VK_A); 1006 1006 show_metaaudit.addActionListener(this); 1007 1007 add(show_metaaudit); 1008 1008 // Display 1009 1009 show(collection_tree, event.getX(), event.getY()); 1010 show_metaaudit = null;1011 1010 } 1012 1011 … … 1022 1021 } 1023 1022 else if (source == collapse_expand_folder_menuitem && path != null && node != null && !node.isLeaf()) { 1024 1023 // Collapse 1025 1024 if (collection_tree.isExpanded(path)) { 1026 1025 collection_tree.collapsePath(path); 1027 1026 } 1028 1027 // Expand 1029 1028 else { 1030 1029 collection_tree.expandPath(path);
Note:
See TracChangeset
for help on using the changeset viewer.