Skip to main content

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

Hey Jesse,

As per our irc meeting this morning I looked at the ActiveMapTracker and updated the code.

I created this bug report for the issue and attached a patch of the changes I made. Perhaps you could review and let me know what you think?


One other minor thing - when I was trying to create a bug and set the "Affected Version/s" to trunk I couldn't find a "No Version" category even though it said to use "No Version" for trunk.

Thanks Again,
Emily

Emily Gouge (JIRA) wrote:
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.



Back to the top