()
| 180 | } |
| 181 | |
| 182 | String[] getShortcuts() { |
| 183 | Vector v = new Vector(); |
| 184 | Hashtable commandTable = Menus.getCommands(); |
| 185 | for (Enumeration en=commandTable.keys(); en.hasMoreElements();) { |
| 186 | String cmd = (String)en.nextElement(); |
| 187 | if (cmd.startsWith("*")) |
| 188 | v.addElement(cmd); |
| 189 | } |
| 190 | if (v.size()==0) |
| 191 | return null; |
| 192 | String[] list = new String[v.size()]; |
| 193 | v.copyInto((String[])list); |
| 194 | Arrays.sort(list, String.CASE_INSENSITIVE_ORDER); |
| 195 | return list; |
| 196 | } |
| 197 | |
| 198 | } |
no test coverage detected