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

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


            putValue(SHORT_DESCRIPTION, tr("Opens the Changeset Manager window for the selected changesets"));
            putValue(SMALL_ICON, ImageProvider.get("dialogs/changeset", "changesetmanager"));
        }

        protected void launchChangesetManager(Collection<Integer> toSelect) {
            ChangesetCacheManager cm = ChangesetCacheManager.getInstance();
            if (cm.isVisible()) {
                cm.setExtendedState(Frame.NORMAL);
                cm.toFront();
                cm.requestFocus();
            } else {
                cm.setVisible(true);
                cm.toFront();
                cm.requestFocus();
            }
            cm.setSelectedChangesetsById(toSelect);
        }
View Full Code Here

TOP

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

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.