Revision 13414 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/cutting/ui/listener/CuttingMouseViewListener.java
CuttingMouseViewListener.java | ||
---|---|---|
59 | 59 |
this.cuttingPanel = cuttingPanel; |
60 | 60 |
this.layer = (FLyrRasterSE) cuttingPanel.getFLayer(); |
61 | 61 |
this.mapControl = mapControl; |
62 |
currentTool = mapControl.getCurrentTool(); |
|
62 |
this.currentTool = mapControl.getCurrentTool();
|
|
63 | 63 |
} |
64 | 64 |
|
65 | 65 |
/** |
... | ... | |
127 | 127 |
cuttingPanel.setHeightText(dim.getY(), 0); |
128 | 128 |
cuttingPanel.setCellSizeText(((maxX - minX) / dim.getX()), 4); |
129 | 129 |
cuttingPanel.setRelWidthHeight((double) (dim.getX() / dim.getY())); |
130 |
|
|
131 |
cuttingPanel.getPResolution().setWidthText(Math.abs(maxX - minX), 0); |
|
132 |
cuttingPanel.getPResolution().setHeightText(Math.abs(maxY - minY), 0); |
|
133 |
|
|
130 | 134 |
if (currentTool != null) |
131 | 135 |
mapControl.setTool(currentTool); |
132 | 136 |
} |
Also available in: Unified diff