From dac96cd1ea9edd48d3d46dc238ec6b88baf8511d Mon Sep 17 00:00:00 2001 From: khartlage Date: Thu, 3 Jun 2004 21:38:30 +0000 Subject: [PATCH] 3.x compatibility --- .../net.sourceforge.phpeclipse.jtidy/.classpath | 33 +------ archive/net.sourceforge.phpeclipse.jtidy/.project | 4 +- .../net.sourceforge.phpeclipse.jtidy/plugin.xml | 10 ++- .../net/sourceforge/phpdt/tidy/JtidyPlugin.java | 15 +++- net.sourceforge.phpeclipse.phphelp/.project | 1 + net.sourceforge.phpeclipse.phphelp/plugin.xml | 8 +- .../sourceforge/phpdt/phphelp/PHPHelpPlugin.java | 101 +++++++++++-------- .../phphelp/actions/PHPEclipseShowContextHelp.java | 12 +- 8 files changed, 100 insertions(+), 84 deletions(-) diff --git a/archive/net.sourceforge.phpeclipse.jtidy/.classpath b/archive/net.sourceforge.phpeclipse.jtidy/.classpath index 1c3bb0c..275b34c 100644 --- a/archive/net.sourceforge.phpeclipse.jtidy/.classpath +++ b/archive/net.sourceforge.phpeclipse.jtidy/.classpath @@ -1,32 +1,7 @@ - - - - - - - - - - - - - - - - + + + + diff --git a/archive/net.sourceforge.phpeclipse.jtidy/.project b/archive/net.sourceforge.phpeclipse.jtidy/.project index 32654ea..3fb29c9 100644 --- a/archive/net.sourceforge.phpeclipse.jtidy/.project +++ b/archive/net.sourceforge.phpeclipse.jtidy/.project @@ -1,8 +1,10 @@ - de.katzien.jtidy + net.sourceforge.phpeclipse.jtidy + net.sourceforge.phpeclipse + net.sourceforge.phpeclipse.quantum.sql diff --git a/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml b/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml index 185aacf..167eb5a 100644 --- a/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml +++ b/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml @@ -1,8 +1,9 @@ + @@ -10,7 +11,14 @@ + + + + + + + diff --git a/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/JtidyPlugin.java b/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/JtidyPlugin.java index cf100dc..4ce8530 100644 --- a/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/JtidyPlugin.java +++ b/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/JtidyPlugin.java @@ -16,6 +16,7 @@ import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; /** * The main plugin class to be used in the desktop. @@ -335,5 +336,17 @@ public class JtidyPlugin extends AbstractUIPlugin implements IPreferenceConstant } return getDefault().fTidy; } - + /** + * This method is called upon plug-in activation + */ + public void start(BundleContext context) throws Exception { + super.start(context); + } + + /** + * This method is called when the plug-in is stopped + */ + public void stop(BundleContext context) throws Exception { + super.stop(context); + } } diff --git a/net.sourceforge.phpeclipse.phphelp/.project b/net.sourceforge.phpeclipse.phphelp/.project index 39448c4..1fc41f3 100644 --- a/net.sourceforge.phpeclipse.phphelp/.project +++ b/net.sourceforge.phpeclipse.phphelp/.project @@ -4,6 +4,7 @@ net.sourceforge.phpeclipse + net.sourceforge.phpeclipse.quantum.sql diff --git a/net.sourceforge.phpeclipse.phphelp/plugin.xml b/net.sourceforge.phpeclipse.phphelp/plugin.xml index ee11706..a663fbc 100644 --- a/net.sourceforge.phpeclipse.phphelp/plugin.xml +++ b/net.sourceforge.phpeclipse.phphelp/plugin.xml @@ -3,12 +3,14 @@ - + + + @@ -22,8 +24,8 @@ + -