Changeset 4897 in josm for trunk/src/org/openstreetmap/josm/Main.java
- Timestamp:
- 2012-02-02T19:44:03+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r4869 r4897 76 76 import org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor; 77 77 import org.openstreetmap.josm.gui.progress.ProgressMonitorExecutor; 78 import org.openstreetmap.josm.gui.util.RedirectInputMap; 78 79 import org.openstreetmap.josm.io.OsmApi; 79 80 import org.openstreetmap.josm.plugins.PluginHandler; … … 378 379 protected static final JPanel contentPanePrivate = new JPanel(new BorderLayout()); 379 380 380 /** 381 * @deprecated If you just need to register shortcut for action, use registerActionShortcut instead of accessing InputMap directly 382 */ 383 @Deprecated 384 public static final JPanel contentPane = contentPanePrivate; 381 public static void redirectToMainContentPane(JComponent source) { 382 RedirectInputMap.redirect(source, contentPanePrivate); 383 } 385 384 386 385 public static void registerActionShortcut(Action action, Shortcut shortcut) { … … 843 842 /** 844 843 * The projection method used. 845 * @deprecated use {@link #getProjection()} and {@link #setProjection(Projection)} instead. 846 * For the time being still publicly available, but avoid/migrate write access to it. Use 847 * {@link #setProjection(Projection)} in order to trigger a projection change event. 848 */ 849 @Deprecated 850 public static Projection proj; 844 * use {@link #getProjection()} and {@link #setProjection(Projection)} for access. 845 * Use {@link #setProjection(Projection)} in order to trigger a projection change event. 846 */ 847 private static Projection proj; 851 848 852 849 /**
Note:
See TracChangeset
for help on using the changeset viewer.