Changeset 8957 in josm for trunk


Ignore:
Timestamp:
2015-10-27T19:01:34+01:00 (9 years ago)
Author:
simon04
Message:

see #10350 - Allow subclasses of JosmAction access its inner classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JosmAction.java

    r8510 r8957  
    274274     *
    275275     */
    276     private class LayerChangeAdapter implements MapView.LayerChangeListener {
     276    protected class LayerChangeAdapter implements MapView.LayerChangeListener {
    277277        private void updateEnabledStateInEDT() {
    278278            GuiHelper.runInEDT(new Runnable() {
     
    302302     * Adapter for selection change events
    303303     */
    304     private class SelectionChangeAdapter implements SelectionChangedListener {
     304    protected class SelectionChangeAdapter implements SelectionChangedListener {
    305305        @Override
    306306        public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
Note: See TracChangeset for help on using the changeset viewer.