Changeset 9243
- Timestamp:
- 2005-03-01T22:38:39+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r9045 r9243 162 162 System.gc(); 163 163 } 164 else if (esrc == menu_bar.file_export) { 165 ExportCollectionPrompt ecp = new ExportCollectionPrompt(); 166 ecp.display(); 167 ecp.destroy(); 168 ecp = null; 164 else if (esrc == menu_bar.file_cdimage) { 165 WriteCDImagePrompt wcdip = new WriteCDImagePrompt(); 166 wcdip.display(); 167 wcdip.destroy(); 168 wcdip = null; 169 } 170 else if (esrc == menu_bar.file_exportas) { 171 ExportAsPrompt eap = new ExportAsPrompt(); 172 eap.display(); 173 eap.destroy(); 174 eap = null; 169 175 } 170 176 else if (esrc == menu_bar.file_exit) { -
trunk/gli/src/org/greenstone/gatherer/gui/MenuBar.java
r8992 r9243 59 59 public JMenu help = null; 60 60 public JMenuItem file_associations; 61 public JMenuItem file_cdimage = null; 61 62 public JMenuItem file_close = null; 62 63 public JMenuItem file_delete = null; 63 64 public JMenuItem file_exit = null; 64 public JMenuItem file_export 65 public JMenuItem file_exportas = null; 65 66 public JMenuItem file_new = null; 66 67 public JMenuItem file_open = null; … … 90 91 Dictionary.registerText(file_associations, "Menu.File_Associations"); 91 92 93 file_cdimage = new JMenuItem(); 94 file_cdimage.addActionListener(Gatherer.g_man); 95 file_cdimage.setMnemonic(KeyEvent.VK_I); 96 Dictionary.registerText(file_cdimage, "Menu.File_CDimage"); 97 92 98 file_close = new JMenuItem(); 93 99 file_close.addActionListener(Gatherer.g_man); … … 106 112 Dictionary.registerText(file_exit, "Menu.File_Exit"); 107 113 108 file_export = new JMenuItem();109 file_export .addActionListener(Gatherer.g_man);110 file_export .setMnemonic(KeyEvent.VK_E);111 Dictionary.registerText(file_export , "Menu.File_Export");114 file_exportas = new JMenuItem(); 115 file_exportas.addActionListener(Gatherer.g_man); 116 file_exportas.setMnemonic(KeyEvent.VK_E); 117 Dictionary.registerText(file_exportas, "Menu.File_ExportAs"); 112 118 113 119 file_new = new JMenuItem(); … … 139 145 file.add(new JSeparator()); 140 146 file.add(file_delete); 141 file.add(file_export); 147 file.add(file_exportas); 148 file.add(file_cdimage); 142 149 file.add(new JSeparator()); 143 150 file.add(file_associations); -
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r9202 r9243 84 84 static final public int NEW = 2; 85 85 /** Element in process type enumeration. */ 86 static final public int EXPORT = 3;86 static final public int EXPORTAS = 3; 87 87 /** Element in process type enumeration. */ 88 static final public int C ONVERT= 4;88 static final public int CDIMAGE = 4; 89 89 /** Element in process type enumeration. */ 90 static final public int OTHER = 5; 90 static final public int CONVERT = 5; 91 /** Element in process type enumeration. */ 92 static final public int OTHER = 6; 91 93 /** Element in status type enumeration. */ 92 94 static final public int ERROR = 0; … … 101 103 static public String GSHELL_NEW = "gshell_new"; 102 104 /** Element in process type name enumeration */ 103 static public String GSHELL_EXPORT = "gshell_export"; 105 static public String GSHELL_EXPORTAS = "gshell_exportas"; 106 /** Element in process type name enumeration */ 107 static public String GSHELL_CDIMAGE = "gshell_cdimage"; 104 108 /** Element in process type name enumeration */ 105 109 static public String GSHELL_CONVERT = "gshell_convert"; … … 754 758 name = Dictionary.get("GShell.New"); 755 759 break; 756 case EXPORT: 757 name= Dictionary.get("GShell.Export"); 760 case EXPORTAS: 761 name= Dictionary.get("GShell.ExportAs"); 762 break; 763 case CDIMAGE: 764 name= Dictionary.get("GShell.CDImage"); 758 765 break; 759 766 case CONVERT:
Note:
See TracChangeset
for help on using the changeset viewer.