Michaël Michaud wrote: > Hi, >> There is still one little oddness left. For the Sextante raster layers the >> toggling of visibility works by doing left click on the layer name. What >> looks like a check box is not active. > Checkbox is slightly shifted on the left because of the missing color > square, but user click is active where the checkbox should be (on the > right of the actual checkbox) not where it really is. > Is this what you mean ?
I supppose it is. On my screen the active area covers the two first letters of the Sextante raster layer name. The whole name is not active as I first thought. -Jukkaä > I'll try to add a symbol for Sextante raster, so that all check boxes > are vertically aligned. Michaël > -Jukka Rahkonen- > >> -----Alkuperäinen viesti----- >> Lähettäjä: SourceForge.net [mailto:nore...@sourceforge.net] >> Lähetetty: 1. huhtikuuta 2012 15:17 >> Vastaanottaja: SourceForge.net >> Aihe: [JPP-Devel] [ jump-pilot-Bugs-3513864 ] Left click on >> RasterImageLayer name throws exceptions >> >> Bugs item #3513864, was opened at 2012-04-01 01:21 >> Message generated for change (Comment added) made by michaudm >> You can respond by visiting: >> https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3 > 513864&group_id=118054 >> Please note that this message will contain a full copy of the >> comment thread, >> including the initial issue submission, for this request, >> not just the latest update. >> Category: OpenJUMP - Menu - File >> Group: None >>> Status: Closed >>> Resolution: Fixed >> Priority: 5 >> Private: No >> Submitted By: michael michaud (michaudm) >> Assigned to: Nobody/Anonymous (nobody) >> Summary: Left click on RasterImageLayer name throws exceptions >> >> Initial Comment: >> Load a RasterImageLayer >> Left click on the layer name >> Following stacktrace is thrown to the console : >> >> Exception in thread "AWT-EventQueue-0" >> java.lang.ArrayIndexOutOfBoundsException: >> 0 >> at >> com.vividsolutions.jump.workbench.ui.LayerNameRenderer.getColumnWidth >> (LayerNameRenderer.java:134) >> at >> com.vividsolutions.jump.workbench.ui.LayerNameRenderer.getCheckBoxBou >> nds(LayerNameRenderer.java:123) >> at >> com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel.handleCheckBo >> xClick(TreeLayerNamePanel.java:519) >> at >> com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel.access$000(Tr >> eeLayerNamePanel.java:94) >> at >> com.vividsolutions.jump.workbench.ui.TreeLayerNamePanel$3.mouseClicke >> d(TreeLayerNamePanel.java:184) >> at >> java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:25 >> 3) >> at >> java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:25 >> 2) >> at java.awt.Component.processMouseEvent(Component.java:6293) >> at >> javax.swing.JComponent.processMouseEvent(JComponent.java:3267) >> at java.awt.Component.processEvent(Component.java:6055) >> at java.awt.Container.processEvent(Container.java:2039) >> at java.awt.Component.dispatchEventImpl(Component.java:4653) >> at java.awt.Container.dispatchEventImpl(Container.java:2097) >> at java.awt.Component.dispatchEvent(Component.java:4481) >> at >> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575 >> ) >> at >> java.awt.LightweightDispatcher.processMouseEvent(Container.java:4245) >> >> at >> java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166) >> at java.awt.Container.dispatchEventImpl(Container.java:2083) >> at java.awt.Window.dispatchEventImpl(Window.java:2482) >> at java.awt.Component.dispatchEvent(Component.java:4481) >> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648) >> at java.awt.EventQueue.access$000(EventQueue.java:84) >> at java.awt.EventQueue$1.run(EventQueue.java:607) >> at java.awt.EventQueue$1.run(EventQueue.java:605) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCo >> ntrolContext.java:87) >> at >> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCo >> ntrolContext.java:98) >> at java.awt.EventQueue$2.run(EventQueue.java:621) >> at java.awt.EventQueue$2.run(EventQueue.java:619) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessCo >> ntrolContext.java:87) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:618) >> at >> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre >> ad.java:269) >> at >> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread. >> java:184) >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre >> ad.java:174) >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) >> >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) >> >> at >> java.awt.EventDispatchThread.run(EventDispatchThread.java:122) >> >> >> ---------------------------------------------------------------------- >> >>> Comment By: michael michaud (michaudm) >> Date: 2012-04-01 05:17 >> >> Message: >> Fixed in svn 2785 >> The problem happened only in project with only RasterImageLayer >> RasterImageLayer name was not displayed as other layerables >> because it was >> not enumerated in the possible Layerable implementation. The missing >> checkbox was causing the error. >> Now, RasterImageLayer are displayed as any other layer. >> It would be nice to add a special symbol instead of the colorPanel >> >> ---------------------------------------------------------------------- >> >> You can respond by visiting: >> https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3 > 513864&group_id=118054 >> -------------------------------------------------------------- >> ---------------- >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel