Revision 34
org.gvsig.derivedgeometries/trunk/org.gvsig.derivedgeometries/org.gvsig.derivedgeometries.swing/org.gvsig.derivedgeometries.swing.impl/src/main/java/org/gvsig/derivedgeometries/swing/impl/processes/LineToClosedPolylineDerivedGeometriesProcess.java | ||
---|---|---|
182 | 182 |
} |
183 | 183 |
|
184 | 184 |
private void postProcess() { |
185 |
// Repaint mapContext to view new derived geometries added. |
|
186 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
187 |
|
|
185 | 188 |
ThreadSafeDialogsManager dlgManager = |
186 | 189 |
ToolsSwingLocator.getThreadSafeDialogsManager(); |
187 | 190 |
|
... | ... | |
190 | 193 |
dlgManager.messageDialog(message, title, |
191 | 194 |
JOptionPane.INFORMATION_MESSAGE); |
192 | 195 |
|
193 |
// Repaint mapContext to view new derived geometries added. |
|
194 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
195 | 196 |
} |
196 | 197 |
|
197 | 198 |
} |
org.gvsig.derivedgeometries/trunk/org.gvsig.derivedgeometries/org.gvsig.derivedgeometries.swing/org.gvsig.derivedgeometries.swing.impl/src/main/java/org/gvsig/derivedgeometries/swing/impl/processes/PointToLineDerivedGeometriesProcess.java | ||
---|---|---|
167 | 167 |
} |
168 | 168 |
|
169 | 169 |
private void postProcess() { |
170 |
|
|
171 |
// Repaint mapContext to view new derived geometries added. |
|
172 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
173 |
|
|
170 | 174 |
ThreadSafeDialogsManager dlgManager = |
171 | 175 |
ToolsSwingLocator.getThreadSafeDialogsManager(); |
172 | 176 |
|
... | ... | |
174 | 178 |
String title = "_information"; |
175 | 179 |
dlgManager.messageDialog(message, title, |
176 | 180 |
JOptionPane.INFORMATION_MESSAGE); |
177 |
|
|
178 |
//Repaint mapContext to view new derived geometries added. |
|
179 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
180 | 181 |
} |
181 | 182 |
|
182 | 183 |
} |
org.gvsig.derivedgeometries/trunk/org.gvsig.derivedgeometries/org.gvsig.derivedgeometries.swing/org.gvsig.derivedgeometries.swing.impl/src/main/java/org/gvsig/derivedgeometries/swing/impl/processes/PointToPolygonDerivedGeometriesProcess.java | ||
---|---|---|
178 | 178 |
} |
179 | 179 |
|
180 | 180 |
private void postProcess() { |
181 |
|
|
182 |
// Repaint mapContext to view new derived geometries added. |
|
183 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
184 |
|
|
181 | 185 |
ThreadSafeDialogsManager dlgManager = |
182 | 186 |
ToolsSwingLocator.getThreadSafeDialogsManager(); |
183 | 187 |
|
... | ... | |
185 | 189 |
String title = "_information"; |
186 | 190 |
dlgManager.messageDialog(message, title, |
187 | 191 |
JOptionPane.INFORMATION_MESSAGE); |
188 |
|
|
189 |
// Repaint mapContext to view new derived geometries added. |
|
190 |
getParameters().getMapControl().getMapContext().invalidate(); |
|
191 | 192 |
} |
192 |
|
|
193 | 193 |
} |
Also available in: Unified diff