Skip to content

Commit c00ecd3

Browse files
authored
Merge pull request #1746 from laeubi/migrate_swt_spies_to_pde
Migrate swt spies to pde
2 parents 7831499 + d513878 commit c00ecd3

File tree

24 files changed

+1467
-0
lines changed

24 files changed

+1467
-0
lines changed

features/org.eclipse.pde.spies-feature/feature.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,9 @@
5050
<plugin
5151
id="org.eclipse.pde.spy.event"
5252
version="0.0.0"/>
53+
54+
<plugin
55+
id="org.eclipse.swt.tools.spies"
56+
version="0.0.0"/>
5357

5458
</feature>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry kind="src" path="src"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>org.eclipse.swt.tools.spies</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.pde.PluginNature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
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
8+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
9+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
10+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
11+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
12+
org.eclipse.jdt.core.compiler.compliance=17
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
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
26+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
27+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
28+
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
29+
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
30+
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
31+
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
32+
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
33+
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
34+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
35+
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
36+
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
37+
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
38+
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
39+
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
40+
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
41+
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
42+
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
43+
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
44+
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
45+
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
46+
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
47+
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
48+
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
49+
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
50+
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
51+
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
52+
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
53+
org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
54+
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
55+
org.eclipse.jdt.core.compiler.problem.nullReference=warning
56+
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
57+
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
58+
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
59+
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
60+
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
61+
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
62+
org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
63+
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
64+
org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
65+
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
66+
org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning
67+
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
68+
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
69+
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
70+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
71+
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
72+
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
73+
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
74+
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
75+
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
76+
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
77+
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
78+
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled
79+
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
80+
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
81+
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
82+
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
83+
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
84+
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
85+
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
86+
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
87+
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
88+
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
89+
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
90+
org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
91+
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
92+
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
93+
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
94+
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
95+
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
96+
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
97+
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
98+
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
99+
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
100+
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
101+
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
102+
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
103+
org.eclipse.jdt.core.compiler.release=enabled
104+
org.eclipse.jdt.core.compiler.source=17
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
eclipse.preferences.version=1
2+
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
3+
org.eclipse.jdt.ui.ignorelowercasenames=true
4+
org.eclipse.jdt.ui.importorder=java;javax;org;com;
5+
org.eclipse.jdt.ui.ondemandthreshold=1
6+
org.eclipse.jdt.ui.staticondemandthreshold=1
7+
sp_cleanup.add_default_serial_version_id=true
8+
sp_cleanup.add_generated_serial_version_id=false
9+
sp_cleanup.add_missing_annotations=true
10+
sp_cleanup.add_missing_deprecated_annotations=true
11+
sp_cleanup.add_missing_methods=false
12+
sp_cleanup.add_missing_nls_tags=false
13+
sp_cleanup.add_missing_override_annotations=true
14+
sp_cleanup.add_missing_override_annotations_interface_methods=true
15+
sp_cleanup.add_serial_version_id=false
16+
sp_cleanup.always_use_blocks=true
17+
sp_cleanup.always_use_parentheses_in_expressions=false
18+
sp_cleanup.always_use_this_for_non_static_field_access=false
19+
sp_cleanup.always_use_this_for_non_static_method_access=false
20+
sp_cleanup.convert_functional_interfaces=false
21+
sp_cleanup.convert_to_enhanced_for_loop=false
22+
sp_cleanup.correct_indentation=false
23+
sp_cleanup.format_source_code=false
24+
sp_cleanup.format_source_code_changes_only=false
25+
sp_cleanup.insert_inferred_type_arguments=false
26+
sp_cleanup.make_local_variable_final=true
27+
sp_cleanup.make_parameters_final=false
28+
sp_cleanup.make_private_fields_final=true
29+
sp_cleanup.make_type_abstract_if_missing_method=false
30+
sp_cleanup.make_variable_declarations_final=false
31+
sp_cleanup.never_use_blocks=false
32+
sp_cleanup.never_use_parentheses_in_expressions=true
33+
sp_cleanup.on_save_use_additional_actions=true
34+
sp_cleanup.organize_imports=true
35+
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
36+
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
37+
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
38+
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
39+
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
40+
sp_cleanup.remove_private_constructors=true
41+
sp_cleanup.remove_redundant_type_arguments=true
42+
sp_cleanup.remove_trailing_whitespaces=false
43+
sp_cleanup.remove_trailing_whitespaces_all=true
44+
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
45+
sp_cleanup.remove_unnecessary_casts=true
46+
sp_cleanup.remove_unnecessary_nls_tags=false
47+
sp_cleanup.remove_unused_imports=false
48+
sp_cleanup.remove_unused_local_variables=false
49+
sp_cleanup.remove_unused_private_fields=true
50+
sp_cleanup.remove_unused_private_members=false
51+
sp_cleanup.remove_unused_private_methods=true
52+
sp_cleanup.remove_unused_private_types=true
53+
sp_cleanup.sort_members=false
54+
sp_cleanup.sort_members_all=false
55+
sp_cleanup.use_anonymous_class_creation=false
56+
sp_cleanup.use_blocks=false
57+
sp_cleanup.use_blocks_only_for_return_and_throw=false
58+
sp_cleanup.use_lambda=true
59+
sp_cleanup.use_parentheses_in_expressions=false
60+
sp_cleanup.use_this_for_non_static_field_access=false
61+
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
62+
sp_cleanup.use_this_for_non_static_method_access=false
63+
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
64+
sp_cleanup.use_type_arguments=false
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Manifest-Version: 1.0
2+
Bundle-Name: %pluginName
3+
Bundle-Vendor: %providerName
4+
Bundle-SymbolicName: org.eclipse.swt.tools.spies;singleton:=true
5+
Bundle-Version: 3.109.600.qualifier
6+
Bundle-ManifestVersion: 2
7+
Export-Package: org.eclipse.swt.tools.internal,
8+
org.eclipse.swt.tools.views
9+
Bundle-ActivationPolicy: lazy
10+
Bundle-Localization: plugin
11+
Bundle-RequiredExecutionEnvironment: JavaSE-17
12+
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.29.0",
13+
org.eclipse.swt.tools.base;bundle-version="3.106.0",
14+
org.eclipse.e4.ui.model.workbench;bundle-version="2.1.400",
15+
org.eclipse.swt;bundle-version="3.119.0",
16+
org.eclipse.ui;bundle-version="3.113.0",
17+
org.eclipse.e4.ui.di;bundle-version="1.2.600"
18+
Automatic-Module-Name: org.eclipse.swt.tools.spies
19+
Import-Package: jakarta.annotation;version="[2.1.0,3.0.0)"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3+
<html xmlns="http://www.w3.org/1999/xhtml">
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6+
<title>About</title>
7+
</head>
8+
<body lang="EN-US">
9+
<h2>About This Content</h2>
10+
11+
<p>November 30, 2017</p>
12+
<h3>License</h3>
13+
14+
<p>
15+
The Eclipse Foundation makes available all content in this plug-in
16+
(&quot;Content&quot;). Unless otherwise indicated below, the Content
17+
is provided to you under the terms and conditions of the Eclipse
18+
Public License Version 2.0 (&quot;EPL&quot;). A copy of the EPL is
19+
available at <a href="http://www.eclipse.org/legal/epl-2.0">http://www.eclipse.org/legal/epl-2.0</a>.
20+
For purposes of the EPL, &quot;Program&quot; will mean the Content.
21+
</p>
22+
23+
<p>
24+
If you did not receive this Content directly from the Eclipse
25+
Foundation, the Content is being redistributed by another party
26+
(&quot;Redistributor&quot;) and different terms and conditions may
27+
apply to your use of any object code in the Content. Check the
28+
Redistributor's license that was provided with the Content. If no such
29+
license exists, contact the Redistributor. Unless otherwise indicated
30+
below, the terms and conditions of the EPL still apply to any source
31+
code in the Content and such source code may be obtained at <a
32+
href="http://www.eclipse.org/">http://www.eclipse.org</a>.
33+
</p>
34+
35+
</body>
36+
</html>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
###############################################################################
2+
# Copyright (c) 2003, 2025 IBM Corporation and others.
3+
#
4+
# This program and the accompanying materials
5+
# are made available under the terms of the Eclipse Public License 2.0
6+
# which accompanies this distribution, and is available at
7+
# https://www.eclipse.org/legal/epl-2.0/
8+
#
9+
# SPDX-License-Identifier: EPL-2.0
10+
#
11+
# Contributors:
12+
# IBM Corporation - initial API and implementation
13+
###############################################################################
14+
source.. = src/
15+
output.. = bin/
16+
bin.includes = about.html,\
17+
plugin.xml,\
18+
plugin.properties,\
19+
META-INF/,\
20+
icons/,\
21+
.,\
22+
fragment.e4xmi
23+
src.includes = about.html
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Bug 510973 - Missing source bundle for org.eclipse.swt.tools
2+
Bug 527899 [9] Implement JEP 280: Indify String Concatenation
3+
https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1659

0 commit comments

Comments
 (0)