Logo Search packages:      
Sourcecode: josm-plugins version File versions  Download package

org::openstreetmap::josm::plugins::validator::tests::SpellCheck Class Reference

Inheritance diagram for org::openstreetmap::josm::plugins::validator::tests::SpellCheck:

org::openstreetmap::josm::plugins::validator::Test

List of all members.


Detailed Description

Check for mispelled properties

Author:
frsantos

Definition at line 33 of file SpellCheck.java.


Public Member Functions

void addGui (@SuppressWarnings("unused") JPanel testPanel)
void addGui (JPanel testPanel)
void endTest ()
Command fixError (@SuppressWarnings("unused") TestError testError)
Command fixError (TestError testError)
List< TestErrorgetErrors ()
boolean isFixable (@SuppressWarnings("unused") TestError testError)
boolean isFixable (TestError testError)
void ok ()
void setBeforeUpload (boolean isUpload)
void setPartialSelection (boolean partialSelection)
 SpellCheck ()
void startTest ()
boolean testBeforeUpload ()
void visit (Relation r)
void visit (Collection< OsmPrimitive > selection)
void visit (Way w)
void visit (Node n)

Static Public Member Functions

static void initialize (@SuppressWarnings("unused") OSMValidatorPlugin plugin) throws Exception
static void initialize (OSMValidatorPlugin plugin) throws Exception
static void initializePresets () throws Exception
static void readPresetFromPreferences ()
static void readPresets (InputStream inStream) throws SAXException

Static Public Attributes

static final String PREF_CHECK_FIXMES = PREFIX + ".checkFixmes"
static final String PREF_CHECK_FIXMES_BEFORE_UPLOAD = PREFIX + ".checkFixmesBeforeUpload"
static final String PREF_CHECK_KEYS = PREFIX + ".checkKeys"
static final String PREF_CHECK_KEYS_BEFORE_UPLOAD = PREFIX + ".checkKeysBeforeUpload"
static final String PREF_CHECK_VALUES = PREFIX + ".checkValues"
static final String PREF_CHECK_VALUES_BEFORE_UPLOAD = PREFIX + ".checkValuesBeforeUpload"
static final String PREF_SOURCES = PREFIX + ".sources"
static final String SPELLCHECK_DATA_FILE = "http://svn.openstreetmap.org/applications/utils/planet.osm/java/speller/words.cfg"

Protected Attributes

JButton addSrcButton
JCheckBox checkBeforeUpload
JCheckBox checkEnabled
boolean checkFixmes = false
boolean checkKeys = false
boolean checkValues = false
JButton deleteSrcButton
String description
JButton editSrcButton
boolean enabled = true
List< TestErrorerrors = new ArrayList<TestError>(30)
boolean isBeforeUpload
String name
boolean partialSelection
JCheckBox prefCheckFixmes
JCheckBox prefCheckFixmesBeforeUpload
JCheckBox prefCheckKeys
JCheckBox prefCheckKeysBeforeUpload
JCheckBox prefCheckValues
JCheckBox prefCheckValuesBeforeUpload
JList spellcheckSources
boolean testBeforeUpload = true
boolean testFixmesBeforeUpload
boolean testKeysBeforeUpload
boolean testValuesBeforeUpload

Static Protected Attributes

static int EMPTY_VALUES = 0
static int FIXME = 3
static int INVALID_KEY = 1
static int INVALID_VALUE = 2
static final String PREFIX = PreferenceEditor.PREFIX + "." + SpellCheck.class.getSimpleName()
static Map< String, String > spellCheckKeyData
static Bag< String, String > spellCheckValueData

Private Member Functions

void checkPrimitive (OsmPrimitive p)

Static Private Member Functions

static void initializeSpellCheck () throws FileNotFoundException, IOException

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index