Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.builder
Class BuilderPlugin  view BuilderPlugin download BuilderPlugin.java

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.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.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
 
Field Summary
static java.lang.String BUILD_PROBLEM_MARKER
           
static java.lang.String ID
           
static java.lang.String NAME
           
private static BuilderPlugin plugin
           
private  java.util.ResourceBundle resourceBundle
           
 
Fields inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
BuilderPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
          The constructor.
 
Method Summary
(package private) static void build(org.eclipse.core.resources.IProject project, java.lang.String builder_name, org.eclipse.core.runtime.IProgressMonitor monitor)
           
static void build(org.eclipse.core.resources.IProject project, java.lang.String builder_name, org.eclipse.swt.widgets.Shell shell)
           
static void error(java.lang.String message, java.lang.Exception e, org.eclipse.core.resources.IProject project)
           
static BuilderPlugin getDefault()
          Returns the shared instance.
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.lang.String getString(java.lang.String key)
          Returns the string from the plugin's resource bundle, or 'key' if not found.
static org.eclipse.core.resources.IWorkspace getWorkspace()
          Returns the workspace instance.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

BuilderPlugin

public BuilderPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
The constructor.

Method Detail

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,