java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com.port80.eclipse.builder.BuilderPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- public class BuilderPlugin
- extends org.eclipse.ui.plugin.AbstractUIPlugin
The main plugin class to be used in the desktop.
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startup, stop |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
BUILD_PROBLEM_MARKER
public static final java.lang.String BUILD_PROBLEM_MARKER
- See Also:
- Constant Field Values
plugin
private static BuilderPlugin plugin
resourceBundle
private java.util.ResourceBundle resourceBundle
BuilderPlugin
public BuilderPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
- The constructor.
getDefault
public static BuilderPlugin getDefault()
- Returns the shared instance.
getWorkspace
public static org.eclipse.core.resources.IWorkspace getWorkspace()
- Returns the workspace instance.
getString
public static java.lang.String getString(java.lang.String key)
- Returns the string from the plugin's resource bundle,
or 'key' if not found.
error
public static void error(java.lang.String message,
java.lang.Exception e,
org.eclipse.core.resources.IProject project)
build
public static void build(org.eclipse.core.resources.IProject project,
java.lang.String builder_name,
org.eclipse.swt.widgets.Shell shell)
build
static void build(org.eclipse.core.resources.IProject project,
java.lang.String builder_name,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.reflect.InvocationTargetException
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
- Returns the plugin's resource bundle,