(MouseEvent e)
| 516 | } |
| 517 | |
| 518 | public void mouseClicked (MouseEvent e) { |
| 519 | if (e.getClickCount() == 2 && !e.isConsumed()) { |
| 520 | e.consume(); |
| 521 | boolean doubleClickableTable = title!=null && (title.equals("Log")||title.startsWith("Overlay Elements")); |
| 522 | Hashtable commands = Menus.getCommands(); |
| 523 | boolean tableActionCommand = commands!=null && commands.get("Table Action")!=null; |
| 524 | if (!tableActionCommand) |
| 525 | tableActionCommand = ij.plugin.MacroInstaller.isMacroCommand("Table Action"); |
| 526 | if (doubleClickableTable || !tableActionCommand) |
| 527 | return; |
| 528 | String options = title+"|"+getSelectionStart()+"|"+getSelectionEnd(); |
| 529 | IJ.run("Table Action", options); |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | public void mouseWheelMoved(MouseWheelEvent event) { |
| 534 | synchronized(this) { |
nothing calls this directly
no test coverage detected