Changeset 18972 in josm for trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
- Timestamp:
- 2024-02-09T15:26:06+01:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r17862 r18972 6 6 7 7 import java.awt.Component; 8 import java.awt.GridBagConstraints; 8 9 import java.awt.GridBagLayout; 9 10 import java.awt.event.ActionEvent; … … 48 49 /** 49 50 * Abstract base class for background imagery layers ({@link WMSLayer}, {@link TMSLayer}, {@link WMTSLayer}). 50 * 51 * <p> 51 52 * Handles some common tasks, like image filters, image processors, etc. 52 53 */ … … 138 139 panel.add(new JLabel(entry.get(0) + ':'), GBC.std()); 139 140 panel.add(GBC.glue(5, 0), GBC.std()); 140 panel.add(createTextField(entry.get(1)), GBC.eol().fill(G BC.HORIZONTAL));141 panel.add(createTextField(entry.get(1)), GBC.eol().fill(GridBagConstraints.HORIZONTAL)); 141 142 } 142 143 } … … 193 194 } 194 195 196 /** 197 * Create an offset for an imagery layer 198 */ 195 199 public class OffsetAction extends AbstractAction implements LayerAction { 196 200 @Override … … 223 227 /** 224 228 * Create the submenu or the menu item to set the offset of the layer. 225 * 229 * <p> 226 230 * If only one menu item for this layer exists, it is returned by this method. 227 * 231 * <p> 228 232 * If there are multiple, this method appends them to the subMenu and then returns the reference to the subMenu. 229 233 * @param subMenu The subMenu to use
Note:
See TracChangeset
for help on using the changeset viewer.