Package org.openstreetmap.josm.gui.dialogs.changeset

Examples of org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel


        @Override
        public void actionPerformed(ActionEvent e) {
            if (!Main.main.hasEditLayer())
                return;
            ChangesetListModel model = getCurrentChangesetListModel();
            Set<Integer> sel = model.getSelectedChangesetIds();
            if (sel.isEmpty())
                return;

            DataSet ds = Main.main.getEditLayer().data;
            selectObjectsByChangesetIds(ds,sel);
View Full Code Here


            updateEnabledState();
        }

        @Override
        public void actionPerformed(ActionEvent arg0) {
            ChangesetListModel model = getCurrentChangesetListModel();
            Set<Integer> sel = model.getSelectedChangesetIds();
            if (sel.isEmpty())
                return;
            ChangesetHeaderDownloadTask task = new ChangesetHeaderDownloadTask(sel);
            Main.worker.submit(task);
        }
View Full Code Here

            cm.setSelectedChangesetsById(toSelect);
        }

        @Override
        public void actionPerformed(ActionEvent arg0) {
            ChangesetListModel model = getCurrentChangesetListModel();
            Set<Integer> sel = model.getSelectedChangesetIds();
            final Set<Integer> toDownload = new HashSet<>();
            ChangesetCache cc = ChangesetCache.getInstance();
            for (int id: sel) {
                if (!cc.contains(id)) {
                    toDownload.add(id);
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.