diff options
-rw-r--r-- | dev-util/eclipse-sdk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/Manifest | 17 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/eclipse-sdk-2.1.2-r1.ebuild | 226 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/files/00-refactor_rename.patch | 1238 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1.2-r1 | 1 |
5 files changed, 1483 insertions, 8 deletions
diff --git a/dev-util/eclipse-sdk/ChangeLog b/dev-util/eclipse-sdk/ChangeLog index 23b9e2535dbb..397fb06bb1e1 100644 --- a/dev-util/eclipse-sdk/ChangeLog +++ b/dev-util/eclipse-sdk/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for dev-util/eclipse-sdk # Copyright 2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.5 2003/11/17 17:08:17 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/ChangeLog,v 1.6 2003/12/04 08:43:24 karltk Exp $ + +*eclipse-sdk-2.1.2-r1 (28 Nov 2003) + + 28 Nov 2003; Karl Trygve Kalleberg <karltk@gentoo.org> + eclipse-sdk-2.1.2-r1.ebuild, files/00-refactor_rename.patch: + Stole patch from Debian. Fixes #33124. + *eclipse-sdk-2.1.2 (17 Nov 2003) 17 Nov 2003; Karl Trygve Kalleberg <karltk@gentoo.org> diff --git a/dev-util/eclipse-sdk/Manifest b/dev-util/eclipse-sdk/Manifest index f54f441ef048..ec84c72a903b 100644 --- a/dev-util/eclipse-sdk/Manifest +++ b/dev-util/eclipse-sdk/Manifest @@ -1,10 +1,13 @@ -MD5 9b30c0b9d4af6ed66a09e216efadefe6 files/eclipse 1067 -MD5 a01c2dd64e43d4ee9dd96dbf0b4578c7 files/eclipse.desktop 213 +MD5 8e5a13bb53831248c4bcbf80c5b54e8c ChangeLog 1518 +MD5 1d0493e018ee744da0fd103bd767909a eclipse-sdk-2.1.ebuild 82879 +MD5 f7c1fff0ba8c4f8670d6d242f5026a7f eclipse-sdk-2.1.1.ebuild 7417 +MD5 9cc8d5162e981d7b7fc1ef9fa1ac0e65 metadata.xml 919 +MD5 725a2a7457fe8f7f4d510d2521eb64d6 eclipse-sdk-2.1.2-r1.ebuild 7559 +MD5 2dfb5466bbb516315dca2ecd3442798b eclipse-sdk-2.1.2.ebuild 7483 MD5 5bea1174eca3d2e368ad728e5086b24a files/digest-eclipse-sdk-2.1 86 +MD5 a01c2dd64e43d4ee9dd96dbf0b4578c7 files/eclipse.desktop 213 +MD5 9b30c0b9d4af6ed66a09e216efadefe6 files/eclipse 1067 MD5 76c2f3ddbb548ca9d3f1522498f51bc0 files/digest-eclipse-sdk-2.1.1 88 MD5 cc086062a18b18e0a241f27d0ed2de44 files/digest-eclipse-sdk-2.1.2 88 -MD5 f7c1fff0ba8c4f8670d6d242f5026a7f eclipse-sdk-2.1.1.ebuild 7417 -MD5 2dfb5466bbb516315dca2ecd3442798b eclipse-sdk-2.1.2.ebuild 7483 -MD5 803119d53abb21d07c3681ec90555d9f ChangeLog 1316 -MD5 9cc8d5162e981d7b7fc1ef9fa1ac0e65 metadata.xml 919 -MD5 1d0493e018ee744da0fd103bd767909a eclipse-sdk-2.1.ebuild 82879 +MD5 6c2995197ef0a038015ffff1dee7ac72 files/00-refactor_rename.patch 59577 +MD5 cc086062a18b18e0a241f27d0ed2de44 files/digest-eclipse-sdk-2.1.2-r1 88 diff --git a/dev-util/eclipse-sdk/eclipse-sdk-2.1.2-r1.ebuild b/dev-util/eclipse-sdk/eclipse-sdk-2.1.2-r1.ebuild new file mode 100644 index 000000000000..fac4eba257d9 --- /dev/null +++ b/dev-util/eclipse-sdk/eclipse-sdk-2.1.2-r1.ebuild @@ -0,0 +1,226 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Eclipse Tools Platform" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download2.eclipse.org/downloads/drops/R-2.1.2-200311030802/eclipse-sourceBuild-srcIncluded-2.1.2.zip" +IUSE="gtk motif gnome kde" + +SLOT="0" +LICENSE="CPL-1.0" +KEYWORDS="~x86 ~ppc ~sparc" + +DEPEND="${RDEPEND} + >=dev-java/ant-1.5.3 + >=sys-apps/findutils-4.1.7 + >=app-shells/tcsh-6.11" + +# removed since the bin lives in /opt and this in /usr +# !dev-util/eclipse-platform-bin +# !dev-util/eclipse-jdt-bin +# !dev-util/eclipse-cdt-bin" + +RDEPEND=">=virtual/jdk-1.3 + kde? ( kde-base/kde virtual/motif ) : + ( gnome? ( =gnome-base/gnome-vfs-2* ) : + ( motif? ( virtual/motif ) : + ( >=x11-libs/gtk+-2.2.1-r1 ) ) ) + motif? ( virtual/motif ) + gnome? ( =gnome-base/gnome-vfs-2* ) + gtk? ( >=x11-libs/gtk+-2.2.1-r1 )" + +S=${WORKDIR}/eclipse + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/00-refactor_rename.patch +} + +src_compile() { + + # This ebuild is doing some slightly funky things since the + # source tarball also contains all the binaries for eclipse. On + # top of this, there are a ton of files that need to be merged + # so instead of specifying all these files, we're instead + # removing all the extra fluff from the source tree and then + # merging it all over when we're done. + + # This ebuild will compile eclipse for gtk2, motif, and kde + # toolkits depending on the use flags set. If all are set, the + # default version linked to is the GTK2 version. When building + # for KDE though, the motif version must be built with support + # for KDE. Apparently the motif build also supports KDE when + # this is done - I could be wrong though. + + gtk_launcher_src_dir="${WORKDIR}/plugins/platform-launcher/library/gtk" + motif_launch_src_dir="${WORKDIR}/plugins/platform-launcher/library/motif" + gtk_swt_src_dir=${WORKDIR}/plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library + motif_swt_src_dir=${WORKDIR}/plugins/org.eclipse.swt/Eclipse\ SWT\ PI/motif/library + + case $ARCH in + sparc) + gtk_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.gtk/os/solaris/sparc" + motif_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.motif/os/solaris/sparc" + ;; + x86) + gtk_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.gtk/os/linux/x86" + motif_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.motif/os/linux/x86" + ;; + ppc) + gtk_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.gtk/os/linux/ppc" + motif_swt_dest_dir="${WORKDIR}/plugins/org.eclipse.swt.motif/os/linux/ppc" + ;; + esac + + use gtk && gtk=y + use motif && motif=y + use gnome && gnome=y gtk=y + use kde && kde=y motif=y + + # force gtk to be the default if motif isn't selected + if ! [ ${motif} = "y" ] ; then + gtk=y + fi + + cd ${WORKDIR} + + # First build all java code + + # this export is pulled from the build shellscript supplied by + # eclipse. It fixes an outOfMemory exception during the ant build + # process. + export ANT_OPTS=-Xmx256m + + override_motif_target= + if [ "${gtk}" = "y" ] ; then + einfo "Building GTK+ frontend" + ant -buildfile build.xml -Dos=linux -Dws=gtk + #only do a compile/install for motif... Don't do a buildDoc. This will save time... + override_motif_target=compile install + fi + if [ "${motif}" = "y" ] ; then + einfo "Building Motif frontend" + ant -buildfile ${override_motif_target} build.xml -Dos=linux -Dws=motif + fi + + # remove all .so files shipped with the tarball + find ${WORKDIR} -name '*.so' -exec rm -f {} \; + + # remove the eclipse binary copied from the ant build above. + rm -f ${WORKDIR}/eclipse + + + # I'm replacing these pkg-config lines since --libs for them + # returns -pthread instead of -lpthread and remove the -Wl, since + # ld doesn't know what to do with it. + + GNOME_LIB=`pkg-config --libs gnome-vfs-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export:--export:"` + GTHREAD_LIB=`pkg-config --libs gthread-2.0 | sed -e "s:-pthread:-lpthread:"` + + # Build for the gtk toolkit + if [ "${gtk}" = "y" ] ; then + # Build the eclipse gtk binary + cd ${WORKDIR}/plugins/platform-launcher/library/gtk + tcsh build.csh -arch $ARCH || die + mv eclipse ${WORKDIR}/eclipse-gtk + + cd "${gtk_swt_src_dir}" + cp ${WORKDIR}/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/* . + + cp make_gtk.mak make_gtk.mak.orig + sed -e "s:/bluebird/teamswt/swt-builddir/ive:$JAVA_HOME:" \ + -e "s:JAVA_JNI=\$(IVE_HOME)/bin/include:JAVA_JNI=\$(IVE_HOME)/include:" \ + -e "s:\`pkg-config --libs gthread-2.0\`:${GTHREAD_LIB}:" \ + -e "s:\`pkg-config --libs gnome-vfs-2.0\`:${GNOME_LIB}:" \ + -e "s:-I\$(JAVA_JNI):-I\$(JAVA_JNI) -I\$(JAVA_JNI)/linux:" \ + make_gtk.mak.orig > make_gtk.mak + + make -f make_gtk.mak make_swt + if [ "${gnome}" = "y" ] ; then + make -f make_gtk.mak make_gnome + fi + + # move the *.so files to the right path so eclipse can find them + mkdir "${gtk_swt_dest_dir}" + mv *.so "${gtk_swt_dest_dir}" + make -f make_linux.mak clean #do a clean since everything is going to end up getting merged + fi + + # Build for the motif toolkit + if [ "${motif}" = "y" ] ; then + # Build the eclipse motif binary + cd ${WORKDIR}/plugins/platform-launcher/library/motif + tcsh build.csh -arch $ARCH || die + mv eclipse ${WORKDIR}/eclipse-motif + + cd "${motif_swt_src_dir}" + cp ${WORKDIR}/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/* . + + mv make_linux.mak make_linux.mak.orig + sed -e "s:/bluebird/teamswt/swt-builddir/ive:$JAVA_HOME:" \ + -e "s:JAVA_JNI=\$(IVE_HOME)/bin/include:JAVA_JNI=\$(IVE_HOME)/include:" \ + -e "s:/bluebird/teamswt/swt-builddir/motif21:/usr/X11R6:" \ + -e "s:\`pkg-config --libs gthread-2.0\`:${GTHREAD_LIB}:" \ + -e "s:\`pkg-config --libs gnome-vfs-2.0\`:${GNOME_LIB}:" \ + -e "s:/usr/lib/qt3:/usr/qt/3:" \ + -e "s:-lkdecore:-L\`kde-config --prefix\`/lib -lkdecore:" \ + -e "s:-I/usr/include/kde:-I\`kde-config --prefix\`/include:" \ + -e "s:-I\$(JAVA_JNI):-I\$(JAVA_JNI) -I\$(JAVA_JNI)/linux:" \ + make_linux.mak.orig > make_linux.mak + + make -f make_linux.mak make_swt + if [ "${gnome}" = "y" ] ; then + make -f make_linux.mak make_gnome + fi + if [ "${kde}" = "y" ] ; then + make -f make_linux.mak make_kde + fi + + # move the *.so files to the right path so eclipse can find them + mkdir "${motif_swt_dest_dir}" + mv *.so "${motif_swt_dest_dir}" + make -f make_linux.mak clean #do a clean since everything is going to end up getting merged + fi + + + # remove all the java files so we can install this. + # there is no install target in build.xml for some reason and + # we don't want all of these files merged. + # also remove all the .project, .classpath and build.* files spread out all over the place + find ${WORKDIR} -name '*.java' -exec rm -f {} \; + find ${WORKDIR} -name '.classpath' -exec rm -f {} \; + find ${WORKDIR} -name '.project' -exec rm -f {} \; + find ${WORKDIR} -name 'build.*' -exec rm -f {} \; + +} + +src_install() { + cd ${WORKDIR} + + exeinto /usr/bin + doexe ${FILESDIR}/eclipse + + dodir /usr/lib/eclipse + exeinto /usr/lib/eclipse + + if [ -f eclipse-gtk ] ; then + doexe eclipse-gtk + dosym /usr/lib/eclipse/eclipse-gtk /usr/lib/eclipse/eclipse + fi + if [ -f eclipse-motif ] ; then + doexe eclipse-motif + dosym /usr/bin/eclipse /usr/bin/eclipse-motif + if ! [ -f eclipse-gtk ] ; then + dosym /usr/lib/eclipse/eclipse-motif /usr/lib/eclipse/eclipse + fi + fi + + insinto /usr/lib/eclipse + doins plugins/org.eclipse.platform/.eclipseproduct + + cp -dpR features icon.xpm plugins splash.bmp startup.jar \ + ${D}/usr/lib/eclipse/ + + insinto /usr/share/gnome/apps/Development + doins ${FILESDIR}/eclipse.desktop +} diff --git a/dev-util/eclipse-sdk/files/00-refactor_rename.patch b/dev-util/eclipse-sdk/files/00-refactor_rename.patch new file mode 100644 index 000000000000..2239e780cc83 --- /dev/null +++ b/dev-util/eclipse-sdk/files/00-refactor_rename.patch @@ -0,0 +1,1238 @@ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddTaskAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddTaskAction.java,v +retrieving revision 1.5 +diff -u -r1.5 AddTaskAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddTaskAction.java 10 Mar 2003 21:56:44 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddTaskAction.java 8 Jul 2003 20:32:32 -0000 +@@ -35,7 +35,7 @@ + setEnabled(getElement(selection) != null); + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + IResource resource= getElement(selection); + if (resource == null) + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/Attic/DeleteResourcesAction.java,v +retrieving revision 1.22 +diff -u -r1.22 DeleteResourcesAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java 13 Mar 2003 16:28:50 -0000 1.22 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/DeleteResourcesAction.java 8 Jul 2003 20:32:38 -0000 +@@ -53,7 +53,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (ClipboardActionUtil.hasOnlyProjects(selection)){ + deleteProjects(selection); + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtCopyAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/Attic/JdtCopyAction.java,v +retrieving revision 1.12 +diff -u -r1.12 JdtCopyAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtCopyAction.java 10 Mar 2003 23:27:07 -0000 1.12 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtCopyAction.java 8 Jul 2003 20:32:38 -0000 +@@ -43,7 +43,7 @@ + return ReorgMessages.getString("copyAction.destination.label"); //$NON-NLS-1$ + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (ClipboardActionUtil.hasOnlyProjects(selection)){ + copyProject(selection); + } else { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtMoveAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/Attic/JdtMoveAction.java,v +retrieving revision 1.33 +diff -u -r1.33 JdtMoveAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtMoveAction.java 18 Mar 2003 18:22:58 -0000 1.33 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtMoveAction.java 8 Jul 2003 20:32:40 -0000 +@@ -75,7 +75,7 @@ + setText(ReorgMessages.getString("moveAction.label"));//$NON-NLS-1$ + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (ClipboardActionUtil.hasOnlyProjects(selection)){ + moveProject(selection); + } else { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/Attic/ReorgDestinationAction.java,v +retrieving revision 1.53 +diff -u -r1.53 ReorgDestinationAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java 10 Mar 2003 23:27:07 -0000 1.53 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/ReorgDestinationAction.java 8 Jul 2003 20:32:45 -0000 +@@ -104,7 +104,7 @@ + } + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (!needsSaving(selection)) { + doRun(selection); + } else { +Index: ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java,v +retrieving revision 1.15 +diff -u -r1.15 AddDelegateMethodsAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java 13 Mar 2003 17:37:28 -0000 1.15 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java 8 Jul 2003 20:32:55 -0000 +@@ -143,7 +143,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + try { + IField[] selectedFields = getSelectedFields(selection); + if (canEnableOn(selectedFields)) { +@@ -262,7 +262,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement input= SelectionConverter.getInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java,v +retrieving revision 1.33 +diff -u -r1.33 AddGetterSetterAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java 10 Mar 2003 21:56:48 -0000 1.33 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java 8 Jul 2003 20:32:58 -0000 +@@ -141,7 +141,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + try { + IField[] selectedFields= getSelectedFields(selection); + if (canEnableOn(selectedFields)){ +@@ -329,7 +329,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement input= SelectionConverter.getInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddJavaDocStubAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddJavaDocStubAction.java,v +retrieving revision 1.24 +diff -u -r1.24 AddJavaDocStubAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddJavaDocStubAction.java 10 Mar 2003 21:56:48 -0000 1.24 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddJavaDocStubAction.java 8 Jul 2003 20:32:59 -0000 +@@ -103,7 +103,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + IMember[] members= getSelectedMembers(selection); + if (members == null || members.length == 0) { + return; +@@ -173,7 +173,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement element= SelectionConverter.getElementAtOffset(fEditor); + if (!ActionUtil.isProcessable(getShell(), element)) +@@ -197,7 +197,7 @@ + + //---- Helpers ------------------------------------------------------------------- + +- private void run(IMember[] members) { ++ public void run(IMember[] members) { + try { + CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings(); + +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java,v +retrieving revision 1.2 +diff -u -r1.2 AddToClasspathAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java 10 Mar 2003 21:56:48 -0000 1.2 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java 8 Jul 2003 20:33:00 -0000 +@@ -109,7 +109,7 @@ + /* (non-Javadoc) + * Method declared in SelectionDispatchAction + */ +- protected void run(final IStructuredSelection selection) { ++ public void run(final IStructuredSelection selection) { + IWorkspaceRunnable operation= new IWorkspaceRunnable() { + public void run(IProgressMonitor monitor) throws CoreException { + IFile[] files= getJARFiles(selection); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java,v +retrieving revision 1.18 +diff -u -r1.18 AddUnimplementedConstructorsAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java 10 Mar 2003 21:56:48 -0000 1.18 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java 8 Jul 2003 20:33:01 -0000 +@@ -109,7 +109,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + Shell shell= getShell(); + try { + IType type= getSelectedType(selection); +@@ -142,7 +142,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + Shell shell= getShell(); + try { + IType type= SelectionConverter.getTypeAtOffset(fEditor); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java,v +retrieving revision 1.8 +diff -u -r1.8 ConvertAnonymousToNestedAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java 17 Mar 2003 10:08:26 -0000 1.8 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java 8 Jul 2003 20:33:01 -0000 +@@ -68,7 +68,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try{ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java,v +retrieving revision 1.4 +diff -u -r1.4 ConvertLocalToFieldAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java 10 Mar 2003 21:56:48 -0000 1.4 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java 8 Jul 2003 20:33:02 -0000 +@@ -68,7 +68,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try{ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java,v +retrieving revision 1.5 +diff -u -r1.5 ConvertNestedToTopAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java 17 Mar 2003 10:08:26 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java 8 Jul 2003 20:33:03 -0000 +@@ -93,7 +93,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -105,7 +105,7 @@ + /* + * @see SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (canRun(selection)){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExternalizeStringsAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExternalizeStringsAction.java,v +retrieving revision 1.17 +diff -u -r1.17 ExternalizeStringsAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExternalizeStringsAction.java 10 Mar 2003 21:56:48 -0000 1.17 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExternalizeStringsAction.java 8 Jul 2003 20:33:04 -0000 +@@ -94,7 +94,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + IJavaElement element= SelectionConverter.getInput(fEditor); + if (!(element instanceof ICompilationUnit)) + return; +@@ -104,11 +104,11 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + run(getCompilationUnit(selection)); + } + +- private void run(ICompilationUnit unit) { ++ public void run(ICompilationUnit unit) { + if (!ActionUtil.isProcessable(getShell(), unit)) + return; + try { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java,v +retrieving revision 1.5 +diff -u -r1.5 ExtractConstantAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java 17 Mar 2003 10:08:26 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java 8 Jul 2003 20:33:04 -0000 +@@ -71,7 +71,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try{ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java,v +retrieving revision 1.13 +diff -u -r1.13 ExtractInterfaceAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java 17 Mar 2003 10:08:26 -0000 1.13 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java 8 Jul 2003 20:33:05 -0000 +@@ -93,7 +93,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -105,7 +105,7 @@ + /* + * @see SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (canRun(selection)){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java,v +retrieving revision 1.13 +diff -u -r1.13 ExtractMethodAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java 10 Mar 2003 21:56:48 -0000 1.13 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java 8 Jul 2003 20:33:06 -0000 +@@ -63,7 +63,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try{ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java,v +retrieving revision 1.11 +diff -u -r1.11 ExtractTempAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java 10 Mar 2003 21:56:48 -0000 1.11 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java 8 Jul 2003 20:33:06 -0000 +@@ -72,7 +72,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try{ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java,v +retrieving revision 1.16 +diff -u -r1.16 FindAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java 10 Mar 2003 21:56:48 -0000 1.16 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindAction.java 8 Jul 2003 20:33:08 -0000 +@@ -208,7 +208,7 @@ + /* + * Method declared on SelectionChangedAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + IJavaElement element= getJavaElement(selection, false); + if (element == null || !element.exists()) { + showOperationUnavailableDialog(); +@@ -223,7 +223,7 @@ + /* + * Method declared on SelectionChangedAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + try { +@@ -260,7 +260,7 @@ + protected void selectionChanged(ITextSelection selection) { + } + +- void run(IJavaElement element) { ++ public void run(IJavaElement element) { + + if (!ActionUtil.isProcessable(getShell(), element)) + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java,v +retrieving revision 1.6 +diff -u -r1.6 FindOccurrencesInFileAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java 10 Mar 2003 21:56:48 -0000 1.6 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java 8 Jul 2003 20:33:09 -0000 +@@ -137,7 +137,7 @@ + /* (non-JavaDoc) + * Method declared in SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + IMember member= getMember(selection); + if (!ActionUtil.isProcessable(getShell(), member)) + return; +@@ -170,7 +170,7 @@ + /* (non-JavaDoc) + * Method declared in SelectionDispatchAction. + */ +- protected final void run(ITextSelection ts) { ++ public final void run(ITextSelection ts) { + IJavaElement input= getEditorInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesAction.java,v +retrieving revision 1.9 +diff -u -r1.9 FindReferencesAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesAction.java 10 Mar 2003 21:56:48 -0000 1.9 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindReferencesAction.java 8 Jul 2003 20:33:09 -0000 +@@ -78,7 +78,7 @@ + return IJavaSearchConstants.REFERENCES; + } + +- void run(IJavaElement element) { ++ public void run(IJavaElement element) { + SearchUtil.warnIfBinaryConstant(element, getShell()); + super.run(element); + } +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java,v +retrieving revision 1.21 +diff -u -r1.21 FindStringsToExternalizeAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java 18 Mar 2003 18:22:58 -0000 1.21 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindStringsToExternalizeAction.java 8 Jul 2003 20:33:11 -0000 +@@ -120,7 +120,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(final IStructuredSelection selection) { ++ public void run(final IStructuredSelection selection) { + try { + PlatformUI.getWorkbench().getActiveWorkbenchWindow().run(true, true, createRunnable(selection)); + } catch(InvocationTargetException e) { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineAction.java,v +retrieving revision 1.8 +diff -u -r1.8 InlineAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineAction.java 17 Mar 2003 10:08:26 -0000 1.8 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineAction.java 8 Jul 2003 20:33:12 -0000 +@@ -98,7 +98,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.text.ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + ICompilationUnit cu= getCompilationUnit(); + if (cu == null || !ActionUtil.isProcessable(getShell(), cu)) + return; +@@ -150,7 +150,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fInlineConstant.isEnabled()) + fInlineConstant.run(selection); + else if (fInlineMethod.isEnabled()) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java,v +retrieving revision 1.15 +diff -u -r1.15 InlineTempAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java 17 Mar 2003 10:08:26 -0000 1.15 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java 8 Jul 2003 20:33:13 -0000 +@@ -72,7 +72,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try{ + ICompilationUnit input= SelectionConverter.getInputAsCompilationUnit(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) +@@ -112,7 +112,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + //do nothing + } + +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java,v +retrieving revision 1.20 +diff -u -r1.20 ModifyParametersAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java 10 Mar 2003 21:56:48 -0000 1.20 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java 8 Jul 2003 20:33:14 -0000 +@@ -99,7 +99,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -111,7 +111,7 @@ + /* + * @see SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (canRun(selection)){ + startRefactoring(); + } else { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MoveAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MoveAction.java,v +retrieving revision 1.10 +diff -u -r1.10 MoveAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MoveAction.java 10 Mar 2003 21:56:48 -0000 1.10 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MoveAction.java 8 Jul 2003 20:33:15 -0000 +@@ -106,7 +106,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + assertThatExactlyOneIsEnabled(); + + if (fJdtMoveAction != null && fJdtMoveAction.isEnabled()) +@@ -130,7 +130,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.text.ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (fJdtMoveAction != null && fJdtMoveAction.isEnabled()){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java,v +retrieving revision 1.28 +diff -u -r1.28 OpenAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java 10 Mar 2003 21:56:48 -0000 1.28 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java 8 Jul 2003 20:33:16 -0000 +@@ -117,7 +117,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement element= SelectionConverter.codeResolve(fEditor, getShell(), getDialogTitle(), + ActionMessages.getString("OpenAction.select_element")); //$NON-NLS-1$ +@@ -141,13 +141,13 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (!checkEnabled(selection)) + return; + run(selection.toArray()); + } + +- private void run(Object[] elements) { ++ public void run(Object[] elements) { + if (elements == null) + return; + for (int i= 0; i < elements.length; i++) { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java,v +retrieving revision 1.17 +diff -u -r1.17 OpenExternalJavadocAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java 10 Mar 2003 21:56:48 -0000 1.17 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenExternalJavadocAction.java 8 Jul 2003 20:33:17 -0000 +@@ -106,7 +106,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + IJavaElement element= SelectionConverter.getInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), element)) + return; +@@ -121,7 +121,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (!checkEnabled(selection)) + return; + IJavaElement element= (IJavaElement)selection.getFirstElement(); +@@ -130,7 +130,7 @@ + run(element); + } + +- private void run(IJavaElement element) { ++ public void run(IJavaElement element) { + if (element == null) + return; + Shell shell= getShell(); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java,v +retrieving revision 1.11 +diff -u -r1.11 OpenProjectAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java 10 Mar 2003 21:56:48 -0000 1.11 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenProjectAction.java 8 Jul 2003 20:33:18 -0000 +@@ -121,7 +121,7 @@ + /* (non-Javadoc) + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.ISelection) + */ +- protected void run(ISelection selection) { ++ public void run(ISelection selection) { + internalRun(); + } + +@@ -145,7 +145,7 @@ + /* (non-Javadoc) + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (selection.isEmpty()) { + internalRun(); + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java,v +retrieving revision 1.21 +diff -u -r1.21 OpenSuperImplementationAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java 10 Mar 2003 21:56:48 -0000 1.21 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenSuperImplementationAction.java 8 Jul 2003 20:33:19 -0000 +@@ -95,7 +95,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + IJavaElement element= elementAtOffset(); +@@ -109,11 +109,11 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + run(getMethod(selection)); + } + +- private void run(IMethod method) { ++ public void run(IMethod method) { + if (method == null) + return; + if (!ActionUtil.isProcessable(getShell(), method)) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java,v +retrieving revision 1.16 +diff -u -r1.16 OpenTypeHierarchyAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java 10 Mar 2003 21:56:48 -0000 1.16 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java 8 Jul 2003 20:33:20 -0000 +@@ -124,7 +124,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + IJavaElement input= SelectionConverter.getInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) + return; +@@ -144,7 +144,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (selection.size() != 1) + return; + Object input= selection.getFirstElement(); +@@ -167,7 +167,7 @@ + } + } + +- private void run(IJavaElement[] elements) { ++ public void run(IJavaElement[] elements) { + if (elements.length == 0) { + getShell().getDisplay().beep(); + return; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java,v +retrieving revision 1.29 +diff -u -r1.29 OrganizeImportsAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java 17 Mar 2003 10:08:26 -0000 1.29 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java 8 Jul 2003 20:33:23 -0000 +@@ -244,7 +244,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + run(getCompilationUnit(fEditor)); + } + +@@ -257,7 +257,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + ICompilationUnit[] cus= getCompilationUnits(selection); + if (cus.length == 1) { + run(cus[0]); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OverrideMethodsAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OverrideMethodsAction.java,v +retrieving revision 1.20 +diff -u -r1.20 OverrideMethodsAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OverrideMethodsAction.java 10 Mar 2003 21:56:48 -0000 1.20 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OverrideMethodsAction.java 8 Jul 2003 20:33:24 -0000 +@@ -112,7 +112,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + Shell shell= getShell(); + try { + IType type= getSelectedType(selection); +@@ -150,7 +150,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + Shell shell= getShell(); + try { + IType type= SelectionConverter.getTypeAtOffset(fEditor); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java,v +retrieving revision 1.18 +diff -u -r1.18 PullUpAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java 10 Mar 2003 22:53:23 -0000 1.18 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PullUpAction.java 8 Jul 2003 20:33:25 -0000 +@@ -103,7 +103,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -115,7 +115,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (canRun(selection)){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PushDownAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PushDownAction.java,v +retrieving revision 1.5 +diff -u -r1.5 PushDownAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PushDownAction.java 10 Mar 2003 21:56:48 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/PushDownAction.java 8 Jul 2003 20:33:26 -0000 +@@ -102,7 +102,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -114,7 +114,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (canRun(selection)){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java,v +retrieving revision 1.10 +diff -u -r1.10 RefreshAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java 10 Mar 2003 21:56:48 -0000 1.10 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RefreshAction.java 8 Jul 2003 20:33:27 -0000 +@@ -104,7 +104,7 @@ + /* (non-Javadoc) + * Method declared in SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + final IResource[] resources= getResources(selection); + IWorkspaceRunnable operation= new IWorkspaceRunnable() { + public void run(IProgressMonitor monitor) throws CoreException { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java,v +retrieving revision 1.4 +diff -u -r1.4 RemoveFromClasspathAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java 10 Mar 2003 21:56:48 -0000 1.4 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java 8 Jul 2003 20:33:27 -0000 +@@ -81,7 +81,7 @@ + /* (non-Javadoc) + * Method declared in SelectionDispatchAction + */ +- protected void run(final IStructuredSelection selection) { ++ public void run(final IStructuredSelection selection) { + try { + PlatformUI.getWorkbench().getActiveWorkbenchWindow().run(true, true, new WorkbenchRunnableAdapter(new IWorkspaceRunnable() { + public void run(IProgressMonitor pm) throws CoreException { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RenameAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RenameAction.java,v +retrieving revision 1.7 +diff -u -r1.7 RenameAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RenameAction.java 10 Mar 2003 21:56:48 -0000 1.7 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RenameAction.java 8 Jul 2003 20:33:28 -0000 +@@ -111,14 +111,14 @@ + } + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRenameJavaElement.isEnabled()) + fRenameJavaElement.run(selection); + if (fRenameResource != null && fRenameResource.isEnabled()) + fRenameResource.run(selection); + } + +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (fRenameTemp != null && fRenameTemp.canRun(selection)) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java,v +retrieving revision 1.9 +diff -u -r1.9 SelectionDispatchAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java 10 Mar 2003 21:56:48 -0000 1.9 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelectionDispatchAction.java 8 Jul 2003 20:33:29 -0000 +@@ -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) +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelfEncapsulateFieldAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelfEncapsulateFieldAction.java,v +retrieving revision 1.14 +diff -u -r1.14 SelfEncapsulateFieldAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelfEncapsulateFieldAction.java 10 Mar 2003 21:56:48 -0000 1.14 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SelfEncapsulateFieldAction.java 8 Jul 2003 20:33:29 -0000 +@@ -100,7 +100,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + IJavaElement[] elements= SelectionConverter.codeResolveHandled(fEditor, getShell(), getDialogTitle()); +@@ -117,13 +117,13 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (!checkEnabled(selection)) + return; + run((IField)selection.getFirstElement()); + } + +- private void run(IField selectedField) { ++ public void run(IField selectedField) { + if (!ActionUtil.isProcessable(getShell(), selectedField)) + return; + IField field= null; +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java,v +retrieving revision 1.20 +diff -u -r1.20 ShowInNavigatorViewAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java 10 Mar 2003 21:56:48 -0000 1.20 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInNavigatorViewAction.java 8 Jul 2003 20:33:30 -0000 +@@ -90,7 +90,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + IJavaElement input= SelectionConverter.getInput(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) + return; +@@ -105,11 +105,11 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + run(getResource(selection)); + } + +- private void run(IResource resource) { ++ public void run(IResource resource) { + if (resource == null) + return; + try { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java,v +retrieving revision 1.28 +diff -u -r1.28 ShowInPackageViewAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java 10 Mar 2003 21:56:48 -0000 1.28 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ShowInPackageViewAction.java 8 Jul 2003 20:33:31 -0000 +@@ -95,7 +95,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement element= SelectionConverter.getElementAtOffset(fEditor); + if (element != null) +@@ -110,13 +110,13 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction. + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (!checkEnabled(selection)) + return; + run((IJavaElement)selection.getFirstElement()); + } + +- private void run(IJavaElement element) { ++ public void run(IJavaElement element) { + if (element == null) + return; + +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java,v +retrieving revision 1.6 +diff -u -r1.6 SortMembersAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java 10 Mar 2003 21:56:48 -0000 1.6 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java 8 Jul 2003 20:33:32 -0000 +@@ -119,7 +119,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + Shell shell= getShell(); + try { + ICompilationUnit cu= getSelectedCompilationUnit(selection); +@@ -148,7 +148,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + Shell shell= getShell(); + IJavaElement input= SelectionConverter.getInput(fEditor); + if (input instanceof ICompilationUnit) { +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SurroundWithTryCatchAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SurroundWithTryCatchAction.java,v +retrieving revision 1.17 +diff -u -r1.17 SurroundWithTryCatchAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SurroundWithTryCatchAction.java 12 Mar 2003 12:06:45 -0000 1.17 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SurroundWithTryCatchAction.java 8 Jul 2003 20:33:33 -0000 +@@ -96,7 +96,7 @@ + WorkbenchHelp.setHelp(this, IJavaHelpContextIds.SURROUND_WITH_TRY_CATCH_ACTION); + } + +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + ICompilationUnit cu= getCompilationUnit(); +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java,v +retrieving revision 1.8 +diff -u -r1.8 UseSupertypeAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java 17 Mar 2003 10:08:26 -0000 1.8 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java 8 Jul 2003 20:33:34 -0000 +@@ -88,7 +88,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -100,7 +100,7 @@ + /* + * @see SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (!ActionUtil.isProcessable(getShell(), fEditor)) + return; + if (canRun(selection)){ +Index: plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WorkingSetFindAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WorkingSetFindAction.java,v +retrieving revision 1.5 +diff -u -r1.5 WorkingSetFindAction.java +--- plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WorkingSetFindAction.java 10 Mar 2003 21:56:48 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WorkingSetFindAction.java 8 Jul 2003 20:33:34 -0000 +@@ -62,7 +62,7 @@ + WorkbenchHelp.setHelp(this, IJavaHelpContextIds.WORKING_SET_FIND_ACTION); + } + +- void run(IJavaElement element) { ++ public void run(IJavaElement element) { + fAction.run(element); + } + +Index: ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java +=================================================================== + + +RCS file: /home/eclipse/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java,v +retrieving revision 1.5 +diff -u -r1.5 InlineConstantAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java 10 Mar 2003 23:27:12 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java 8 Jul 2003 20:33:36 -0000 +@@ -99,7 +99,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + try { + Assert.isTrue(canEnable(selection)); + +@@ -116,7 +116,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + run(selection.getOffset(), selection.getLength(), getCompilationUnitForTextSelection()); + } + +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java,v +retrieving revision 1.6 +diff -u -r1.6 InlineMethodAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java 10 Mar 2003 23:27:12 -0000 1.6 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java 8 Jul 2003 20:33:37 -0000 +@@ -75,7 +75,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + ICompilationUnit cu= getCompilationUnit(); + if (cu == null) + return; +@@ -93,7 +93,7 @@ + /* + * @see org.eclipse.jdt.ui.actions.SelectionDispatchAction#run(org.eclipse.jface.viewers.IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + try { + Assert.isTrue(canEnable(selection)); + +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java,v +retrieving revision 1.4 +diff -u -r1.4 MoveInstanceMethodAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java 10 Mar 2003 23:27:12 -0000 1.4 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java 8 Jul 2003 20:33:38 -0000 +@@ -96,7 +96,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + try { + Assert.isTrue(canEnable(selection)); + +@@ -113,7 +113,7 @@ + /* (non-Javadoc) + * Method declared on SelectionDispatchAction + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + run(selection.getOffset(), selection.getLength(), getCompilationUnitForTextSelection()); + } + +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java,v +retrieving revision 1.5 +diff -u -r1.5 MoveStaticMembersAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java 10 Mar 2003 23:27:12 -0000 1.5 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java 8 Jul 2003 20:33:39 -0000 +@@ -78,7 +78,7 @@ + /* + * @see SelectionDispatchAction#run(IStructuredSelection) + */ +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + if (fRefactoring == null) + selectionChanged(selection); + if (isEnabled()) +@@ -90,7 +90,7 @@ + /* + * @see SelectionDispatchAction#run(ITextSelection) + */ +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + if (canRun(selection)){ + startRefactoring(); + } else { +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java,v +retrieving revision 1.24 +diff -u -r1.24 RenameJavaElementAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java 10 Mar 2003 23:27:12 -0000 1.24 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameJavaElementAction.java 8 Jul 2003 20:33:40 -0000 +@@ -68,7 +68,7 @@ + setEnabled(false); + } + +- protected void run(IStructuredSelection selection) { ++ public void run(IStructuredSelection selection) { + IJavaElement element= getJavaElement(selection); + if (element == null) + return; +@@ -101,7 +101,7 @@ + return (IJavaElement)first; + } + +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try { + IJavaElement element= getJavaElement(selection); + if (element != null) { +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameResourceAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameResourceAction.java,v +retrieving revision 1.3 +diff -u -r1.3 RenameResourceAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameResourceAction.java 10 Mar 2003 23:27:12 -0000 1.3 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameResourceAction.java 8 Jul 2003 20:33:40 -0000 +@@ -42,7 +42,7 @@ + run((IResource)element); + } + +- private void run(IResource element) { ++ public void run(IResource element) { + // Work around for http://dev.eclipse.org/bugs/show_bug.cgi?id=19104 + if (!ActionUtil.isProcessable(getShell(), element)) + return; +Index: plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameTempAction.java +=================================================================== +RCS file: /home/eclipse/org.eclipse.jdt.ui/plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameTempAction.java,v +retrieving revision 1.32 +diff -u -r1.32 RenameTempAction.java +--- plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameTempAction.java 10 Mar 2003 23:27:12 -0000 1.32 ++++ plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/RenameTempAction.java 8 Jul 2003 20:33:41 -0000 +@@ -73,7 +73,7 @@ + } + } + +- protected void run(ITextSelection selection) { ++ public void run(ITextSelection selection) { + try{ + ICompilationUnit input= SelectionConverter.getInputAsCompilationUnit(fEditor); + if (!ActionUtil.isProcessable(getShell(), input)) +Content-Type: text/plain + diff --git a/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1.2-r1 b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1.2-r1 new file mode 100644 index 000000000000..7fcf57ff9d33 --- /dev/null +++ b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1.2-r1 @@ -0,0 +1 @@ +MD5 24fc3bf3be3d3f3e306786ab7b13bcce eclipse-sourceBuild-srcIncluded-2.1.2.zip 45014406 |