Changeset 2945 in osm for applications/editors/josm


Ignore:
Timestamp:
2007-05-19T23:49:16+02:00 (17 years ago)
Author:
christofd
Message:

add frame set/getter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorPlugin.java

    r2936 r2945  
    66import javax.swing.AbstractAction;
    77import javax.swing.JCheckBoxMenuItem;
     8import javax.swing.JFrame;
    89import javax.swing.JMenuItem;
    910import javax.swing.KeyStroke;
     
    2122 */
    2223public class SurveyorPlugin extends LiveGpsPlugin {
     24   
     25    private static JFrame surveyorFrame;
    2326
    2427    /**
     
    3942       
    4043    }
     44
     45    /**
     46     * @return the surveyorFrame
     47     */
     48    public static JFrame getSurveyorFrame() {
     49        return surveyorFrame;
     50    }
     51
     52    /**
     53     * @param surveyorFrame the surveyorFrame to set
     54     */
     55    public static void setSurveyorFrame(JFrame surveyorFrame) {
     56        SurveyorPlugin.surveyorFrame = surveyorFrame;
     57    }
    4158   
    4259}
Note: See TracChangeset for help on using the changeset viewer.