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

Examples of org.openstreetmap.josm.gui.dialogs.changeset.query.ChangesetQueryDialog


            putValue(SHORT_DESCRIPTION, tr("Launch the dialog for querying changesets"));
        }

        @Override
        public void actionPerformed(ActionEvent evt) {
            ChangesetQueryDialog dialog = new ChangesetQueryDialog(ChangesetCacheManager.this);
            dialog.initForUserInput();
            dialog.setVisible(true);
            if (dialog.isCanceled())
                return;

            try {
                ChangesetQuery query = dialog.getChangesetQuery();
                if (query == null) return;
                ChangesetQueryTask task = new ChangesetQueryTask(ChangesetCacheManager.this, query);
                ChangesetCacheManager.getInstance().runDownloadTask(task);
            } catch (IllegalStateException e) {
                JOptionPane.showMessageDialog(ChangesetCacheManager.this, e.getMessage(), tr("Error"), JOptionPane.ERROR_MESSAGE);
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.gui.dialogs.changeset.query.ChangesetQueryDialog

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.