1 /*************************************************************************
2 * @author Ali Echihabi (ali_echihabi@ieee.org, ali.echihabi@souss.ca)
4 * Plugin for PHP unit Testing.
7 *************************************************************************/
9 package net.sourceforge.phpeclipse.phpunit;
11 import org.eclipse.core.runtime.CoreException;
12 import org.eclipse.core.runtime.IPluginDescriptor;
13 import org.eclipse.jface.dialogs.IDialogSettings;
14 import org.eclipse.jface.preference.IPreferenceStore;
15 import org.eclipse.jface.resource.ImageRegistry;
16 import org.eclipse.ui.IWorkbench;
17 import org.eclipse.ui.plugin.AbstractUIPlugin;
20 public class PHPUnitPlugin extends AbstractUIPlugin {
23 private static PHPUnitPlugin plugin;
24 public static final String PLUGIN_ID= "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$
29 public PHPUnitPlugin(IPluginDescriptor descriptor) {
39 public static PHPUnitPlugin getDefault() {
44 * @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry()
46 protected ImageRegistry createImageRegistry() {
47 // TODO Auto-generated method stub
48 return super.createImageRegistry();
52 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getDialogSettings()
54 public IDialogSettings getDialogSettings() {
55 // TODO Auto-generated method stub
56 return super.getDialogSettings();
60 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getImageRegistry()
62 public ImageRegistry getImageRegistry() {
63 // TODO Auto-generated method stub
64 return super.getImageRegistry();
68 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getPreferenceStore()
70 public IPreferenceStore getPreferenceStore() {
71 // TODO Auto-generated method stub
72 return super.getPreferenceStore();
76 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getWorkbench()
78 public IWorkbench getWorkbench() {
79 // TODO Auto-generated method stub
80 return super.getWorkbench();
84 * @see org.eclipse.core.runtime.Plugin#initializeDefaultPluginPreferences()
86 protected void initializeDefaultPluginPreferences() {
87 // TODO Auto-generated method stub
88 super.initializeDefaultPluginPreferences();
92 * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
94 protected void initializeDefaultPreferences(IPreferenceStore store) {
95 // TODO Auto-generated method stub
96 super.initializeDefaultPreferences(store);
100 * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
102 protected void initializeImageRegistry(ImageRegistry reg) {
103 // TODO Auto-generated method stub
104 super.initializeImageRegistry(reg);
108 * @see org.eclipse.ui.plugin.AbstractUIPlugin#loadDialogSettings()
110 protected void loadDialogSettings() {
111 // TODO Auto-generated method stub
112 super.loadDialogSettings();
118 * @see org.eclipse.ui.plugin.AbstractUIPlugin#refreshPluginActions()
120 protected void refreshPluginActions() {
121 // TODO Auto-generated method stub
122 super.refreshPluginActions();
126 * @see org.eclipse.ui.plugin.AbstractUIPlugin#saveDialogSettings()
128 protected void saveDialogSettings() {
129 // TODO Auto-generated method stub
130 super.saveDialogSettings();
136 * @see org.eclipse.core.runtime.Plugin#shutdown()
138 public void shutdown() throws CoreException {
139 // TODO Auto-generated method stub
144 * @see org.eclipse.core.runtime.Plugin#startup()
146 public void startup() throws CoreException {
147 // TODO Auto-generated method stub