Ticket #1205 (closed defect: fixed)
Opened 2012-06-01T16:15:13-05:00
Last modified 2012-06-13T10:55:55-05:00
Line Overlays broken
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | ImgLib2 | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1143 |
Description
Recently the LineOverlay class went from maintaining a RectangleRegionOfInterest to a LineRegionOfInterest. The LineRegionOfInterest class is not entirely finished (there is one crucial TODO note in file). Right now if you try to draw a LineOverlay you get:
[ERROR] Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]
java.lang.UnsupportedOperationException: must implement
at net.imglib2.roi.LineRegionOfInterest.setupAuxVariables(LineRegionOfInterest.java:148)
at net.imglib2.roi.LineRegionOfInterest.<init>(LineRegionOfInterest.java:63)
at imagej.data.overlay.LineOverlay.<init>(LineOverlay.java:70)
at imagej.ui.swing.tools.overlay.LineAdapter.createNewOverlay(LineAdapter.java:81)
at imagej.ui.swing.tools.overlay.LineAdapter.createNewOverlay(LineAdapter.java:1)
at imagej.ui.swing.overlay.IJCreationTool.creationFinished(IJCreationTool.java:104)
at org.jhotdraw.draw.tool.CreationTool.mouseReleased(CreationTool.java:262)
at imagej.ui.swing.overlay.ToolDelegator.mouseReleased(ToolDelegator.java:125)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6375)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6140)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4737)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:657)
at java.awt.EventQueue$2.run(EventQueue.java:655)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)