Revision 3480 trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/ui/showResults/ShowResultsDialog.java

View differences:

ShowResultsDialog.java
61 61
    protected GazetteerClient client;
62 62
    protected Feature[] features;
63 63
    int recordsByPage;
64
    protected boolean isGotoClicked;
65
    protected boolean isKeepOldClicked;
64 66

  
65 67
    /**
66 68
     * Crea un nuevo ShowResultsDialog.
67 69
     *
68
     * @param client DOCUMENT ME!
69
     * @param features DOCUMENT ME!
70
     * @param recordsByPage DOCUMENT ME!
70
     * @param client 
71
     * Gazetteer Client
72
     * @param features
73
     * The found features  
74
     * @param recordsByPage
75
     * Number of records that will be showed 
71 76
     */
72 77
    public ShowResultsDialog(GazetteerClient client, Feature[] features,
73
        int recordsByPage) {
78
        int recordsByPage, boolean isGotoClicked, boolean isKeepOldClicked) {
74 79
        super();
75 80
        this.client = client;
76 81
        this.features = features;
77 82
        this.recordsByPage = recordsByPage;
83
        this.isGotoClicked = isGotoClicked;
84
        this.isKeepOldClicked = isKeepOldClicked;
78 85
        initialize();
79 86
    }
80 87

  
......
88 95
        this.setTitle("Cliente Gazetteer");
89 96

  
90 97
        ShowResultsDialogPanel panel = new ShowResultsDialogPanel(client,
91
                features, recordsByPage, new WithOutAndamiTranslator());
98
                features, recordsByPage, new WithOutAndamiTranslator(),isGotoClicked,isKeepOldClicked);
92 99
        panel.setParent(this);
93 100
        getContentPane().add(panel);
94 101

  

Also available in: Unified diff