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;
*
* @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$
*
* @since 3.0
*/
- private ContextTypeRegistry fCodeTemplateContextTypeRegistry;
+ //private ContextTypeRegistry fCodeTemplateContextTypeRegistry;
/**
* The template store for the java editor.
/*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;*/
/*private MembersOrderPreferenceCache fMembersOrderPreferenceCache;*/
- private IFile fLastEditorFile = null;
+ //private IFile fLastEditorFile = null;
/* private JavaEditorTextHoverDescriptor[] fJavaEditorTextHoverDescriptors;*/
// 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;
// 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
// }
public void setLastEditorFile(IFile textEditor) {
- this.fLastEditorFile = textEditor;
+ //this.fLastEditorFile = textEditor;
}
/*