Package org.openstreetmap.josm.gui.io.SaveLayersModel

Examples of org.openstreetmap.josm.gui.io.SaveLayersModel.Mode


            closeDialog();
        }
        @Override
        public void propertyChange(PropertyChangeEvent evt) {
            if (evt.getPropertyName().equals(SaveLayersModel.MODE_PROP)) {
                Mode mode = (Mode)evt.getNewValue();
                switch(mode) {
                case EDITING_DATA: setEnabled(true); break;
                case UPLOADING_AND_SAVING: setEnabled(false); break;
                }
            }
View Full Code Here


    }

    @Override
    public void propertyChange(PropertyChangeEvent evt) {
        if (evt.getPropertyName().equals(SaveLayersModel.MODE_PROP)) {
            Mode mode = (Mode)evt.getNewValue();
            switch(mode) {
                case EDITING_DATA: setVisible(false); break;
                case UPLOADING_AND_SAVING: setVisible(true); break;
            }
        }
View Full Code Here

    }

    @Override
    public void propertyChange(PropertyChangeEvent evt) {
        if (evt.getPropertyName().equals(SaveLayersModel.MODE_PROP)) {
            Mode mode = (Mode)evt.getNewValue();
            switch(mode) {
            case EDITING_DATA: setEnabled(true);
            break;
            case UPLOADING_AND_SAVING: setEnabled(false);
            break;
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.gui.io.SaveLayersModel.Mode

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.