Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1449) ActiveMapTracker Bug With VisislbeMaps and ActiveParts

ActiveMapTracker Bug With VisislbeMaps and ActiveParts
------------------------------------------------------

                 Key: UDIG-1449
                 URL: http://jira.codehaus.org/browse/UDIG-1449
             Project: uDIG
          Issue Type: Bug
          Components: map, open and save
    Affects Versions: Distant Future
         Environment: Windows XP;  Java 1.6; Eclipse Version 3.4.0
            Reporter: Emily Gouge
            Assignee: Jesse Eichar
         Attachments: ActiveMapTrackerBug.patch

If I use the eclipse persepective extension point to add a mappart (in my case a view) to the default perspective of the application the visiblemaps list and activeMaps are not correctly updated.  So when I go to set the viewport on this mappart nothing happens because the following if statement evaluates to false.

if (ApplicationGIS.getActiveMap() != null &&  ApplicationGIS.getVisibleMaps().contains(ApplicationGIS.getActiveMap())){ 

Attached is a patch that I think will fix the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top