Changeset 32278 in osm for applications/editors/josm/plugins/OSMRecPlugin
- Timestamp:
- 2016-06-16T05:29:37+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/OSMRecPlugin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OSMRecPlugin/.project
r31557 r32278 11 11 </arguments> 12 12 </buildCommand> 13 <buildCommand> 14 <name>org.sonarlint.eclipse.core.sonarlintBuilder</name> 15 <arguments> 16 </arguments> 17 </buildCommand> 13 18 </buildSpec> 14 19 <natures> -
applications/editors/josm/plugins/OSMRecPlugin/.settings/org.eclipse.jdt.core.prefs
r31557 r32278 1 1 eclipse.preferences.version=1 2 org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled 3 org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore 4 org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull 5 org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault 6 org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable 7 org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled 2 8 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 9 org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 3 10 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 11 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 4 12 org.eclipse.jdt.core.compiler.compliance=1.7 13 org.eclipse.jdt.core.compiler.debug.lineNumber=generate 14 org.eclipse.jdt.core.compiler.debug.localVariable=generate 15 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 16 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning 5 17 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 18 org.eclipse.jdt.core.compiler.problem.autoboxing=ignore 19 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning 20 org.eclipse.jdt.core.compiler.problem.deadCode=warning 21 org.eclipse.jdt.core.compiler.problem.deprecation=warning 22 org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled 23 org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled 24 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning 25 org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore 6 26 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 27 org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore 28 org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore 29 org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled 30 org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore 31 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning 32 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning 33 org.eclipse.jdt.core.compiler.problem.forbiddenReference=error 34 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning 35 org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled 36 org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning 37 org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning 38 org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore 39 org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore 40 org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning 41 org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore 42 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore 43 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled 44 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore 45 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore 46 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled 47 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore 48 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore 49 org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning 50 org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning 51 org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore 52 org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning 53 org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error 54 org.eclipse.jdt.core.compiler.problem.nullReference=warning 55 org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error 56 org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning 57 org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning 58 org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore 59 org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore 60 org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore 61 org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore 62 org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning 63 org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning 64 org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore 65 org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning 66 org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning 67 org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore 68 org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore 69 org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled 70 org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning 71 org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled 72 org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled 73 org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled 74 org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore 75 org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning 76 org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled 77 org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning 78 org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning 79 org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore 80 org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning 81 org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore 82 org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore 83 org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore 84 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore 85 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled 86 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled 87 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled 88 org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore 89 org.eclipse.jdt.core.compiler.problem.unusedImport=warning 90 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning 91 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning 92 org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore 93 org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore 94 org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled 95 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled 96 org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled 97 org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning 98 org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore 99 org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning 100 org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning 7 101 org.eclipse.jdt.core.compiler.source=1.7 -
applications/editors/josm/plugins/OSMRecPlugin/build.xml
r31926 r32278 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value=" 8863"/>6 <property name="plugin.version" value="2. 0"/>5 <property name="plugin.main.version" value="10358"/> 6 <property name="plugin.version" value="2.1"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/OSMRecPlugin/src/org/openstreetmap/josm/plugins/osmrec/MenuExportAction.java
r31106 r32278 11 11 * 12 12 */ 13 public class MenuExportAction extends JosmAction { 13 14 14 public class MenuExportAction extends JosmAction { 15 16 public MenuExportAction(){ 17 super(tr("OSM Recommendation"), "images/dialogs/logo-osmrec.png", 18 tr("Recommend categories to your newly created instances."), null, false); 15 /** 16 * Constructs a new {@code MenuExportAction}. 17 */ 18 public MenuExportAction(){ 19 super(tr("OSM Recommendation"), "dialogs/logo-osmrec.png", 20 tr("Recommend categories to your newly created instances."), null, false); 19 21 } 20 22 21 23 @Override 22 24 public void actionPerformed(ActionEvent arg0) { 23 24 if( OSMRecPlugin.getCurrentMapFrame() !=null ){ 25 if (OSMRecPlugin.getCurrentMapFrame() != null) { 25 26 OSMRecToggleDialog pro = new OSMRecToggleDialog(); 26 27 OSMRecPlugin.getCurrentMapFrame().addToggleDialog(pro);
Note:
See TracChangeset
for help on using the changeset viewer.