Changeset 32516 in osm for applications/editors
- Timestamp:
- 2016-07-02T00:17:24+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/reverter
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/.settings/org.eclipse.jdt.core.prefs
r30736 r32516 44 44 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 45 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion= warning46 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 47 47 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 48 48 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning … … 63 63 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 64 64 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning 65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface= ignore65 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning 66 66 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 67 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore … … 85 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 86 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 87 org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore 87 88 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 88 89 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning -
applications/editors/josm/plugins/reverter/build.xml
r32005 r32516 4 4 <property name="commit.message" value="Reverter: Update MultiOsmReader to support null data after redaction"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 9514"/>6 <property name="plugin.main.version" value="10279"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/reverter/src/reverter/ChangesetIdQuery.java
r31596 r32516 106 106 super.setupDialog(); 107 107 108 final DataSet ds = Main. main.getCurrentDataSet();108 final DataSet ds = Main.getLayerManager().getEditDataSet(); 109 109 110 110 // Disables "Download in new layer" choice if there is no current data set (i.e no data layer) -
applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
r31897 r32516 136 136 this.layer = new OsmDataLayer(this.ds, tr("Reverted changeset") + tr(" [id: {0}]", String.valueOf(changesetId)), null); 137 137 } else { 138 this.layer = Main. main.getEditLayer();138 this.layer = Main.getLayerManager().getEditLayer(); 139 139 this.ds = layer.data; 140 140 } … … 155 155 @Override 156 156 public void run() { 157 Main. main.addLayer(layer);157 Main.getLayerManager().addLayer(layer); 158 158 } 159 159 }); -
applications/editors/josm/plugins/reverter/src/reverter/ReverterUploadHook.java
r32005 r32516 23 23 24 24 if (hasRevertions) { 25 Main. main.getCurrentDataSet().addChangeSetTag("created_by", "reverter");25 Main.getLayerManager().getEditDataSet().addChangeSetTag("created_by", "reverter"); 26 26 } 27 27 return true;
Note:
See TracChangeset
for help on using the changeset viewer.