khanhlnq / jvnmobilegis

Automatically exported from code.google.com/p/jvnmobilegis
1 stars 0 forks source link

Layers sorting support #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
User should be able to sort selected layers for getting map.

Original issue reported on code.google.com by khanh....@gmail.com on 4 Sep 2007 at 2:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Implementation:
New class: 
SelectedLayerListUI extends List (EXCLUSIVE):
    Methods: 
    public void setSelectedLayers(Vector layers);
    public Vector getSelectedLayers();

    Support these action for selected item:
        - Move to top
        - Move up
        - Move down
        - Move to bottom

    When user accept the sorting (by GetMap command), should refresh the map.

Flow:
LayerListUI => SelectedLayerListUI <=> MapViewUI

Modified class:
MapViewUI:
    New menu:
        "Sort layers" to go back to SelectedLayerListUI
LayerListUI:
    Remove "GetMap" command
    Add "Next" command to go to SelectedLayerListUI

Change all LayerListUI.getSelectedLayerList usage to  
SelectedLayerListUI.getSelectedLayers      

Original comment by khanh....@gmail.com on 21 Dec 2007 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by khanh....@gmail.com on 24 Apr 2008 at 3:11