(ImagePlus imp2)
| 528 | } |
| 529 | |
| 530 | public void setImage(ImagePlus imp2) { |
| 531 | ImageCanvas ic = getCanvas(); |
| 532 | if (ic==null || imp2==null) |
| 533 | return; |
| 534 | imp = imp2; |
| 535 | imp.setWindow(this); |
| 536 | ic.updateImage(imp); |
| 537 | ic.setImageUpdated(); |
| 538 | ic.repaint(); |
| 539 | repaint(); |
| 540 | } |
| 541 | |
| 542 | public void updateImage(ImagePlus imp) { |
| 543 | if (imp!=this.imp) |
nothing calls this directly
no test coverage detected