Changeset 30701 in osm for applications/editors/josm/plugins/imagewaypoint/src/org/insignificant
- Timestamp:
- 2014-10-04T17:28:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java
r29854 r30701 98 98 99 99 private static final class PreviousAction extends JosmAction { 100 private static final long serialVersionUID = -7899209365124237890L; 101 102 private final ImageWayPointDialog dialog; 103 104 public PreviousAction(final ImageWayPointDialog dialog) { 100 101 public PreviousAction() { 105 102 super(tr("Previous"), 106 103 null, … … 108 105 null, 109 106 false); 110 this.dialog = dialog;111 107 } 112 108 … … 119 115 120 116 private static final class NextAction extends JosmAction { 121 private static final long serialVersionUID = 176134010956760988L; 122 123 private final ImageWayPointDialog dialog; 124 125 public NextAction(final ImageWayPointDialog dialog) { 117 118 public NextAction() { 126 119 super(tr("Next"), null, tr("Next image"), null, false); 127 this.dialog = dialog;128 120 } 129 121 … … 136 128 137 129 private static final class RotateLeftAction extends JosmAction { 138 private static final long serialVersionUID = 3536922796446259943L; 139 140 private final ImageWayPointDialog dialog; 141 142 public RotateLeftAction(final ImageWayPointDialog dialog) { 130 131 public RotateLeftAction() { 143 132 super(tr("Rotate left"), 144 133 null, … … 146 135 null, 147 136 false); 148 this.dialog = dialog;149 137 } 150 138 … … 155 143 156 144 private static final class RotateRightAction extends JosmAction { 157 private static final long serialVersionUID = 1760186810341888993L; 158 159 private final ImageWayPointDialog dialog; 160 161 public RotateRightAction(final ImageWayPointDialog dialog) { 145 146 public RotateRightAction() { 162 147 super(tr("Rotate right"), 163 148 null, … … 165 150 null, 166 151 false); 167 this.dialog = dialog;168 152 } 169 153 … … 191 175 200); 192 176 193 this.previousAction = new PreviousAction( this);194 this.nextAction = new NextAction( this);195 this.rotateLeftAction = new RotateLeftAction( this);196 this.rotateRightAction = new RotateRightAction( this);177 this.previousAction = new PreviousAction(); 178 this.nextAction = new NextAction(); 179 this.rotateLeftAction = new RotateLeftAction(); 180 this.rotateRightAction = new RotateRightAction(); 197 181 198 182 final JButton previousButton = new JButton(this.previousAction);
Note:
See TracChangeset
for help on using the changeset viewer.