misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / PHPUnitPlugin.java
1 /*
2  * Created on Sep 4, 2004
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */
7 package net.sourceforge.phpeclipse.phpunit;
8
9 import java.util.ResourceBundle;
10
11 import org.eclipse.core.runtime.CoreException;
12 import org.eclipse.core.runtime.IPluginDescriptor;
13 import org.eclipse.core.runtime.Platform;
14 import org.eclipse.jface.dialogs.IDialogSettings;
15 import org.eclipse.jface.preference.IPreferenceStore;
16 import org.eclipse.jface.resource.ImageRegistry;
17 import org.eclipse.ui.IWorkbench;
18 import org.eclipse.ui.plugin.AbstractUIPlugin;
19
20 /**
21  * @author Ali Echihabi
22  *
23  * To change the template for this generated type comment go to
24  * Window>Preferences>Java>Code Generation>Code and Comments
25  */
26 public class PHPUnitPlugin extends AbstractUIPlugin {
27
28
29
30         private static PHPUnitPlugin plugin;
31         private ResourceBundle resourceBundle;
32         public static final String PLUGIN_ID= "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$
33
34         /**
35          * @param descriptor
36          */
37         public PHPUnitPlugin(IPluginDescriptor descriptor) {
38                 
39                 super(descriptor);
40                 
41                 System.out.println("desc: "  + descriptor.getInstallURL());
42                                 
43                 
44                 plugin= this;
45                 
46                 
47                 String pathSuffix= "icons/"; //$NON-NLS-1$
48                 
49                 System.out.println("" + Platform.getLocation());
50                 
51                 System.out.println("" + Platform.getPluginStateLocation(plugin));
52                 
53                 System.out.println("" + Platform.getLogFileLocation());
54  
55                 
56                 
57                 
58         
59                 
60         }
61
62         public String getPath() {
63                 return plugin.getDescriptor().getInstallURL().getFile();
64         }
65
66         
67
68         public static PHPUnitPlugin getDefault() {
69                 return plugin;
70         }
71
72         /* (non-Javadoc)
73          * @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry()
74          */
75         protected ImageRegistry createImageRegistry() {
76                 // TODO Auto-generated method stub
77                 return super.createImageRegistry();
78         }
79
80         /* (non-Javadoc)
81          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getDialogSettings()
82          */
83         public IDialogSettings getDialogSettings() {
84                 // TODO Auto-generated method stub
85                 return super.getDialogSettings();
86         }
87
88         /* (non-Javadoc)
89          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getImageRegistry()
90          */
91         public ImageRegistry getImageRegistry() {
92                 // TODO Auto-generated method stub
93                 return super.getImageRegistry();
94         }
95
96         /* (non-Javadoc)
97          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getPreferenceStore()
98          */
99         public IPreferenceStore getPreferenceStore() {
100                 // TODO Auto-generated method stub
101                 return super.getPreferenceStore();
102         }
103
104         /* (non-Javadoc)
105          * @see org.eclipse.ui.plugin.AbstractUIPlugin#getWorkbench()
106          */
107         public IWorkbench getWorkbench() {
108                 // TODO Auto-generated method stub
109                 return super.getWorkbench();
110         }
111
112         /* (non-Javadoc)
113          * @see org.eclipse.core.runtime.Plugin#initializeDefaultPluginPreferences()
114          */
115         protected void initializeDefaultPluginPreferences() {
116                 // TODO Auto-generated method stub
117                 super.initializeDefaultPluginPreferences();
118         }
119
120         /* (non-Javadoc)
121          * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore)
122          */
123         protected void initializeDefaultPreferences(IPreferenceStore store) {
124                 // TODO Auto-generated method stub
125                 super.initializeDefaultPreferences(store);
126         }
127
128         /* (non-Javadoc)
129          * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
130          */
131         protected void initializeImageRegistry(ImageRegistry reg) {
132                 // TODO Auto-generated method stub
133                 super.initializeImageRegistry(reg);
134         }
135
136         /* (non-Javadoc)
137          * @see org.eclipse.ui.plugin.AbstractUIPlugin#loadDialogSettings()
138          */
139         protected void loadDialogSettings() {
140                 // TODO Auto-generated method stub
141                 super.loadDialogSettings();
142         }
143
144
145
146         /* (non-Javadoc)
147          * @see org.eclipse.ui.plugin.AbstractUIPlugin#refreshPluginActions()
148          */
149         protected void refreshPluginActions() {
150                 // TODO Auto-generated method stub
151                 super.refreshPluginActions();
152         }
153
154         /* (non-Javadoc)
155          * @see org.eclipse.ui.plugin.AbstractUIPlugin#saveDialogSettings()
156          */
157         protected void saveDialogSettings() {
158                 // TODO Auto-generated method stub
159                 super.saveDialogSettings();
160         }
161
162
163
164         /* (non-Javadoc)
165          * @see org.eclipse.core.runtime.Plugin#shutdown()
166          */
167         public void shutdown() throws CoreException {
168                 // TODO Auto-generated method stub
169                 super.shutdown();
170         }
171
172         /* (non-Javadoc)
173          * @see org.eclipse.core.runtime.Plugin#startup()
174          */
175         public void startup() throws CoreException {
176                 // TODO Auto-generated method stub
177                 super.startup();
178         }
179
180
181
182 }