006266b4cc95b815bf3fec05f1a7d05dd6b710f2
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / PHPUnitPlugin.java
1 /*************************************************************************
2  * @author Ali Echihabi (ali_echihabi@ieee.org, ali.echihabi@souss.ca)
3  *
4  * Plugin for PHP unit Testing.
5  * www.phpeclipse.de
6  * 
7  *************************************************************************/
8
9 package net.sourceforge.phpeclipse.phpunit;
10
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;
18
19 public class PHPUnitPlugin extends AbstractUIPlugin {
20
21         private static PHPUnitPlugin plugin;
22
23         public static final String PLUGIN_ID = "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$
24
25         /**
26          * @param descriptor
27          */
28         public PHPUnitPlugin(IPluginDescriptor descriptor) {
29
30                 super(descriptor);
31
32                 plugin = this;
33
34         }
35
36         public static PHPUnitPlugin getDefault() {
37                 return plugin;
38         }
39
40         /*
41          * (non-Javadoc)
42          * 
43          * @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry()
44          */
45         protected ImageRegistry createImageRegistry() {
46                 // TODO Auto-generated method stub
47                 return super.createImageRegistry();
48         }
49
50         /*
51          * (non-Javadoc)
52          * 
53          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getDialogSettings()
54          */
55         public IDialogSettings getDialogSettings() {
56                 // TODO Auto-generated method stub
57                 return super.getDialogSettings();
58         }
59
60         /*
61          * (non-Javadoc)
62          * 
63          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getImageRegistry()
64          */
65         public ImageRegistry getImageRegistry() {
66                 // TODO Auto-generated method stub
67                 return super.getImageRegistry();
68         }
69
70         /*
71          * (non-Javadoc)
72          * 
73          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getPreferenceStore()
74          */
75         public IPreferenceStore getPreferenceStore() {
76                 // TODO Auto-generated method stub
77                 return super.getPreferenceStore();
78         }
79
80         /*
81          * (non-Javadoc)
82          * 
83          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getWorkbench()
84          */
85         public IWorkbench getWorkbench() {
86                 // TODO Auto-generated method stub
87                 return super.getWorkbench();
88         }
89
90         /*
91          * (non-Javadoc)
92          * 
93          * @see org.eclipse.core.runtime.Plugin#initializeDefaultPluginPreferences()
94          */
95         protected void initializeDefaultPluginPreferences() {
96                 // TODO Auto-generated method stub
97                 super.initializeDefaultPluginPreferences();
98         }
99
100         /*
101          * (non-Javadoc)
102          * 
103          * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
104          */
105         protected void initializeDefaultPreferences(IPreferenceStore store) {
106                 // TODO Auto-generated method stub
107                 super.initializeDefaultPreferences(store);
108         }
109
110         /*
111          * (non-Javadoc)
112          * 
113          * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
114          */
115         protected void initializeImageRegistry(ImageRegistry reg) {
116                 // TODO Auto-generated method stub
117                 super.initializeImageRegistry(reg);
118         }
119
120         /*
121          * (non-Javadoc)
122          * 
123          * @see org.eclipse.ui.plugin.AbstractUIPlugin#loadDialogSettings()
124          */
125         protected void loadDialogSettings() {
126                 // TODO Auto-generated method stub
127                 super.loadDialogSettings();
128         }
129
130         /*
131          * (non-Javadoc)
132          * 
133          * @see org.eclipse.ui.plugin.AbstractUIPlugin#refreshPluginActions()
134          */
135         protected void refreshPluginActions() {
136                 // TODO Auto-generated method stub
137                 super.refreshPluginActions();
138         }
139
140         /*
141          * (non-Javadoc)
142          * 
143          * @see org.eclipse.ui.plugin.AbstractUIPlugin#saveDialogSettings()
144          */
145         protected void saveDialogSettings() {
146                 // TODO Auto-generated method stub
147                 super.saveDialogSettings();
148         }
149
150         /*
151          * (non-Javadoc)
152          * 
153          * @see org.eclipse.core.runtime.Plugin#shutdown()
154          */
155         public void shutdown() throws CoreException {
156                 // TODO Auto-generated method stub
157                 super.shutdown();
158         }
159
160         /*
161          * (non-Javadoc)
162          * 
163          * @see org.eclipse.core.runtime.Plugin#startup()
164          */
165         public void startup() throws CoreException {
166                 // TODO Auto-generated method stub
167                 super.startup();
168         }
169
170 }