1) Reintroduced finishedBuilding
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPeclipsePlugin.java
index 383b728..ba72251 100644 (file)
@@ -76,20 +76,20 @@ import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
+//import org.eclipse.core.runtime.Path;
 //import org.eclipse.core.runtime.Platform;
 import org.eclipse.core.runtime.Plugin;
 import org.eclipse.core.runtime.Status;
 import org.eclipse.core.runtime.jobs.ISchedulingRule;
 //import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jface.text.templates.ContextTypeRegistry;
+//import org.eclipse.jface.text.templates.ContextTypeRegistry;
 //import org.eclipse.ui.editors.text.templates.ContributionContextTypeRegistry;
-/*import org.eclipse.jface.action.GroupMarker;
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.preference.PreferenceConverter;
-import org.eclipse.jface.resource.JFaceResources;*/
+//import org.eclipse.jface.action.GroupMarker;
+//import org.eclipse.jface.action.IMenuManager;
+//import org.eclipse.jface.action.Separator;
+//import org.eclipse.jface.preference.IPreferenceStore;
+//import org.eclipse.jface.preference.PreferenceConverter;
+//import org.eclipse.jface.resource.JFaceResources;
 /*import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.IDocument;
 import org.eclipse.jface.text.templates.ContextTypeRegistry;
@@ -157,14 +157,14 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
         * 
         * @since 3.0
         */
-       private static final String TEMPLATES_KEY = "net.sourceforge.phpdt.ui.text.custom_templates"; //$NON-NLS-1$
+       //private static final String TEMPLATES_KEY = "net.sourceforge.phpdt.ui.text.custom_templates"; //$NON-NLS-1$
 
        /**
         * The key to store customized code templates.
         * 
         * @since 3.0
         */
-       private static final String CODE_TEMPLATES_KEY = "net.sourceforge.phpdt.ui.text.custom_code_templates"; //$NON-NLS-1$
+       //private static final String CODE_TEMPLATES_KEY = "net.sourceforge.phpdt.ui.text.custom_code_templates"; //$NON-NLS-1$
 
        public static final String PHP_CODING_ACTION_SET_ID = PLUGIN_ID
                        + ".ui.CodingActionSet"; //$NON-NLS-1$
@@ -193,7 +193,7 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
         * 
         * @since 3.0
         */
-       private ContextTypeRegistry fCodeTemplateContextTypeRegistry;
+       //private ContextTypeRegistry fCodeTemplateContextTypeRegistry;
 
        /**
         * The template store for the java editor.
@@ -210,10 +210,10 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
        /*private TemplateStore fCodeTemplateStore;*/
 
        /** Windows 9x */
-       private static final int WINDOWS_9x = 6;
+       //private static final int WINDOWS_9x = 6;
 
        /** Windows NT */
-       private static final int WINDOWS_NT = 5;
+       //private static final int WINDOWS_NT = 5;
 
        /*private ImageDescriptorRegistry fImageDescriptorRegistry;*/
 
@@ -231,7 +231,7 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
 
        /*private MembersOrderPreferenceCache fMembersOrderPreferenceCache;*/
 
-       private IFile fLastEditorFile = null;
+       //private IFile fLastEditorFile = null;
 
 /*     private JavaEditorTextHoverDescriptor[] fJavaEditorTextHoverDescriptors;*/
 
@@ -482,9 +482,9 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
 //             return getDefault().internalGetImageDescriptorRegistry();
 //     }
 
-       static IPath getInstallLocation() {
-               return new Path(getDefault().getBundle().getEntry("/").getFile());
-       }
+//     static IPath getInstallLocation() {
+//             return new Path(getDefault().getBundle().getEntry("/").getFile());
+//     }
 
        // public static int getJVM() {
        // return jvm;
@@ -678,9 +678,9 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
 //             return fJavaTextTools;
 //     }
 
-       public IFile getLastEditorFile() {
-               return fLastEditorFile;
-       }
+//     public IFile getLastEditorFile() {
+//             return fLastEditorFile;
+//     }
 
        /**
         * Returns the string from the plugin's resource bundle, or 'key' if not
@@ -933,7 +933,7 @@ public class PHPeclipsePlugin extends /*AbstractUIPlugin*/Plugin implements
 //     }
 
        public void setLastEditorFile(IFile textEditor) {
-               this.fLastEditorFile = textEditor;
+               //this.fLastEditorFile = textEditor;
        }
 
        /*