aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse/files
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-07-15 05:17:22 +0800
committerolgeni <olgeni@FreeBSD.org>2003-07-15 05:17:22 +0800
commit5c97bb291a33d721922aca1fd91ea49ee4e0bbaa (patch)
treeaf4cee7f6ba19320e94f4cecb6de58303cb1f83f /java/eclipse/files
parent4f62dbd133e526143f192f3869ca9863022805bb (diff)
downloadfreebsd-ports-gnome-5c97bb291a33d721922aca1fd91ea49ee4e0bbaa.tar.gz
freebsd-ports-gnome-5c97bb291a33d721922aca1fd91ea49ee4e0bbaa.tar.zst
freebsd-ports-gnome-5c97bb291a33d721922aca1fd91ea49ee4e0bbaa.zip
The refactor/rename option would not work when building from sources, as
stated in Eclipse PR 37846. https://bugs.eclipse.org/bugs/show_bug.cgi?id=37846 The REINPLACE_CMD-powered "refactoring" is somewhat brutal, but it is better than 50+ patchfiles or a single large diff.
Diffstat (limited to 'java/eclipse/files')
-rw-r--r--java/eclipse/files/patch-SelectionDispatchAction.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/java/eclipse/files/patch-SelectionDispatchAction.java b/java/eclipse/files/patch-SelectionDispatchAction.java
new file mode 100644
index 000000000000..b21c1b0d6870
--- /dev/null
+++ b/java/eclipse/files/patch-SelectionDispatchAction.java
@@ -0,0 +1,32 @@
+
+$FreeBSD$
+
+--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java.orig Mon Jul 14 20:30:10 2003
++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java Mon Jul 14 20:30:27 2003
+@@ -123,7 +123,7 @@
+ * Executes this actions with the given structured selection. This default implementation
+ * calls <code>run(ISelection selection)</code>.
+ */
+- protected void run(IStructuredSelection selection) {
++ public void run(IStructuredSelection selection) {
+ run((ISelection)selection);
+ }
+
+@@ -141,7 +141,7 @@
+ * Executes this actions with the given text selection. This default implementation
+ * calls <code>run(ISelection selection)</code>.
+ */
+- protected void run(ITextSelection selection) {
++ public void run(ITextSelection selection) {
+ run((ISelection)selection);
+ }
+
+@@ -159,7 +159,7 @@
+ * Executes this actions with the given selection. This default implementation
+ * does nothing.
+ */
+- protected void run(ISelection selection) {
++ public void run(ISelection selection) {
+ }
+
+ /* (non-Javadoc)