/* * Created on Nov 18, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ package CDBuilder; import org.eclipse.core.runtime.IPluginDescriptor; import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.ui.plugin.AbstractUIPlugin; /** * @author sddsim * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class CDBuilderPlugin extends AbstractUIPlugin { private static CDBuilderPlugin inst; public CDBuilderPlugin(IPluginDescriptor descriptor) { super(descriptor); if (inst==null) inst = this; } /** * Gets the plugin singleton. * * @return the default ReadmePlugin instance */ static public CDBuilderPlugin getDefault() { return inst; } /** * Sets default preference values. These values will be used * until some preferences are actually set using Preference dialog. */ protected void initializeDefaultPreferences(IPreferenceStore store) { // These settings will show up when Preference dialog // opens up for the first time. store.setDefault("vModeChoice",3); store.setToDefault("vModeChoice"); store.setDefault("setChoice", 3); store.setDefault("batchChoice", 3); } }