/* * Created on Sep 4, 2004 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ package net.sourceforge.phpeclipse.phpunit; import java.util.ResourceBundle; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.core.runtime.Platform; import org.eclipse.jface.dialogs.IDialogSettings; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.resource.ImageRegistry; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.plugin.AbstractUIPlugin; /** * @author Ali Echihabi * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class PHPUnitPlugin extends AbstractUIPlugin { private static PHPUnitPlugin plugin; private ResourceBundle resourceBundle; public static final String PLUGIN_ID= "net.sourceforge.phpeclipse.phpunit"; //$NON-NLS-1$ /** * @param descriptor */ public PHPUnitPlugin(IPluginDescriptor descriptor) { super(descriptor); System.out.println("desc: " + descriptor.getInstallURL()); plugin= this; String pathSuffix= "icons/"; //$NON-NLS-1$ System.out.println("" + Platform.getLocation()); System.out.println("" + Platform.getPluginStateLocation(plugin)); System.out.println("" + Platform.getLogFileLocation()); } public String getPath() { return plugin.getDescriptor().getInstallURL().getFile(); } public static PHPUnitPlugin getDefault() { return plugin; } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry() */ protected ImageRegistry createImageRegistry() { // TODO Auto-generated method stub return super.createImageRegistry(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#getDialogSettings() */ public IDialogSettings getDialogSettings() { // TODO Auto-generated method stub return super.getDialogSettings(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#getImageRegistry() */ public ImageRegistry getImageRegistry() { // TODO Auto-generated method stub return super.getImageRegistry(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#getPreferenceStore() */ public IPreferenceStore getPreferenceStore() { // TODO Auto-generated method stub return super.getPreferenceStore(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#getWorkbench() */ public IWorkbench getWorkbench() { // TODO Auto-generated method stub return super.getWorkbench(); } /* (non-Javadoc) * @see org.eclipse.core.runtime.Plugin#initializeDefaultPluginPreferences() */ protected void initializeDefaultPluginPreferences() { // TODO Auto-generated method stub super.initializeDefaultPluginPreferences(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore) */ protected void initializeDefaultPreferences(IPreferenceStore store) { // TODO Auto-generated method stub super.initializeDefaultPreferences(store); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry) */ protected void initializeImageRegistry(ImageRegistry reg) { // TODO Auto-generated method stub super.initializeImageRegistry(reg); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#loadDialogSettings() */ protected void loadDialogSettings() { // TODO Auto-generated method stub super.loadDialogSettings(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#refreshPluginActions() */ protected void refreshPluginActions() { // TODO Auto-generated method stub super.refreshPluginActions(); } /* (non-Javadoc) * @see org.eclipse.ui.plugin.AbstractUIPlugin#saveDialogSettings() */ protected void saveDialogSettings() { // TODO Auto-generated method stub super.saveDialogSettings(); } /* (non-Javadoc) * @see org.eclipse.core.runtime.Plugin#shutdown() */ public void shutdown() throws CoreException { // TODO Auto-generated method stub super.shutdown(); } /* (non-Javadoc) * @see org.eclipse.core.runtime.Plugin#startup() */ public void startup() throws CoreException { // TODO Auto-generated method stub super.startup(); } }