org.openstreetmap.josm.data.validation.tests
Class UnclosedWays
java.lang.Object
org.openstreetmap.josm.data.osm.visitor.AbstractVisitor
org.openstreetmap.josm.data.validation.Test
org.openstreetmap.josm.data.validation.tests.UnclosedWays
- All Implemented Interfaces:
- Visitor
public class UnclosedWays
- extends Test
Check area type ways for errors
Field Summary |
private java.lang.String |
etype
|
private int |
mode
|
private java.lang.String |
type
|
Method Summary |
void |
endTest()
Notification of the end of the test. |
void |
set(int m,
java.lang.String text)
|
void |
set(int m,
java.lang.String text,
java.lang.String desc)
|
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor |
void |
visit(Way w)
Visiting call for lines. |
Methods inherited from class org.openstreetmap.josm.data.validation.Test |
addGui, deletePrimitivesIfNeeded, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, testBeforeUpload, visit, visit, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private java.lang.String type
etype
private java.lang.String etype
mode
private int mode
UnclosedWays
public UnclosedWays()
- Constructor
startTest
public void startTest(ProgressMonitor monitor)
- Description copied from class:
Test
- Start the test using a given progress monitor
- Overrides:
startTest
in class Test
- Parameters:
monitor
- the progress monitor
endTest
public void endTest()
- Description copied from class:
Test
- Notification of the end of the test. The tester may perform additional
actions and destroy the used structures.
If you override this method, don't forget to cleanup Test.progressMonitor
(most overrides call super.endTest()
to do this).
- Overrides:
endTest
in class Test
set
public void set(int m,
java.lang.String text,
java.lang.String desc)
set
public void set(int m,
java.lang.String text)
visit
public void visit(Way w)
- Description copied from interface:
Visitor
- Visiting call for lines.
- Specified by:
visit
in interface Visitor
- Overrides:
visit
in class Test
- Parameters:
w
- The way to inspect.
JOSM