Changeset 16681 in osm for applications/editors/josm/plugins
- Timestamp:
- 2009-07-25T10:35:53+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/.classpath
r2794 r16681 2 2 <classpath> 3 3 <classpathentry kind="src" path="src"/> 4 <classpathentry combineaccessrules="false" kind="src" path="/josm"/>4 <classpathentry including="images/" kind="src" path=""/> 5 5 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 5"/> 6 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 7 <classpathentry kind="output" path="build"/> 7 8 </classpath> -
applications/editors/josm/plugins/validator/.settings/org.eclipse.jdt.core.prefs
r10662 r16681 1 # Sun Sep 07 16:57:55 CEST 20081 #Fri Jun 26 21:35:48 CEST 2009 2 2 eclipse.preferences.version=1 3 3 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/OSMValidatorPlugin.java
r13497 r16681 72 72 /** The list of errors per layer*/ 73 73 Map<Layer, List<TestError>> layerErrors = new HashMap<Layer, List<TestError>>(); 74 74 75 75 /** Grid detail, multiplier of east,north values for valuable cell sizing */ 76 76 public static double griddetail; … … 122 122 } 123 123 } 124 124 125 125 private void loadIgnoredErrors() { 126 126 ignoredErrors.clear(); … … 250 250 /** 251 251 * Initialize grid details based on current projection system. Values based on 252 * the original value fixed for EPSG:4326 (10000) using heuristics (that is, test&error 252 * the original value fixed for EPSG:4326 (10000) using heuristics (that is, test&error 253 253 * until most bugs were discovered while keeping the processing time reasonable) 254 254 */ … … 261 261 OSMValidatorPlugin.griddetail = 0.1; 262 262 } 263 263 264 264 /** 265 265 * Initializes all tests -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidateAction.java
r16629 r16681 111 111 DataSet.fireSelectionChanged(Main.main.getCurrentDataSet().getSelected()); 112 112 } 113 114 @Override 115 public void updateEnabledState() { 116 setEnabled(getEditLayer() != null); 117 } 113 118 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidatorDialog.java
r16629 r16681 98 98 selectButton.setEnabled(false); 99 99 buttonPanel.add(selectButton); 100 buttonPanel.add(new SideButton(marktr("Validate"), "refresh", "Validator", 101 tr("Validate either current selection or complete dataset."), this)); 100 buttonPanel.add(new SideButton(plugin.validateAction), "refresh"); 102 101 fixButton = new SideButton(marktr("Fix"), "fix", "Validator", tr("Fix the selected errors."), this); 103 102 fixButton.setEnabled(false); … … 302 301 if (actionCommand.equals("Select")) 303 302 setSelectedItems(); 304 else if (actionCommand.equals("Validate"))305 plugin.validateAction.actionPerformed(e);306 303 else if (actionCommand.equals("Fix")) 307 304 fixErrors(e);
Note:
See TracChangeset
for help on using the changeset viewer.