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;
19 public class PHPUnitPlugin extends AbstractUIPlugin {
21 private static PHPUnitPlugin plugin;
23 public static final String PLUGIN_ID = "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$
28 public PHPUnitPlugin(IPluginDescriptor descriptor) {
36 public static PHPUnitPlugin getDefault() {
43 * @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry()
45 protected ImageRegistry createImageRegistry() {
46 // TODO Auto-generated method stub
47 return super.createImageRegistry();
53 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getDialogSettings()
55 public IDialogSettings getDialogSettings() {
56 // TODO Auto-generated method stub
57 return super.getDialogSettings();
63 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getImageRegistry()
65 public ImageRegistry getImageRegistry() {
66 // TODO Auto-generated method stub
67 return super.getImageRegistry();
73 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getPreferenceStore()
75 public IPreferenceStore getPreferenceStore() {
76 // TODO Auto-generated method stub
77 return super.getPreferenceStore();
83 * @see org.eclipse.ui.plugin.AbstractUIPlugin#getWorkbench()
85 public IWorkbench getWorkbench() {
86 // TODO Auto-generated method stub
87 return super.getWorkbench();
93 * @see org.eclipse.core.runtime.Plugin#initializeDefaultPluginPreferences()
95 protected void initializeDefaultPluginPreferences() {
96 // TODO Auto-generated method stub
97 super.initializeDefaultPluginPreferences();
103 * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
105 protected void initializeDefaultPreferences(IPreferenceStore store) {
106 // TODO Auto-generated method stub
107 super.initializeDefaultPreferences(store);
113 * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
115 protected void initializeImageRegistry(ImageRegistry reg) {
116 // TODO Auto-generated method stub
117 super.initializeImageRegistry(reg);
123 * @see org.eclipse.ui.plugin.AbstractUIPlugin#loadDialogSettings()
125 protected void loadDialogSettings() {
126 // TODO Auto-generated method stub
127 super.loadDialogSettings();
133 * @see org.eclipse.ui.plugin.AbstractUIPlugin#refreshPluginActions()
135 protected void refreshPluginActions() {
136 // TODO Auto-generated method stub
137 super.refreshPluginActions();
143 * @see org.eclipse.ui.plugin.AbstractUIPlugin#saveDialogSettings()
145 protected void saveDialogSettings() {
146 // TODO Auto-generated method stub
147 super.saveDialogSettings();
153 * @see org.eclipse.core.runtime.Plugin#shutdown()
155 public void shutdown() throws CoreException {
156 // TODO Auto-generated method stub
163 * @see org.eclipse.core.runtime.Plugin#startup()
165 public void startup() throws CoreException {
166 // TODO Auto-generated method stub