summaryrefslogtreecommitdiffstats
path: root/java/eclipse/files/patch-SelectionDispatchAction.java
blob: b21c1b0d68705d955ae90de4433db40fdfdb03f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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)
OpenPOWER on IntegriCloud