org.eclipse.cdt.managedbuilder.ui.properties
Class ManagedBuilderUIPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by org.eclipse.cdt.managedbuilder.ui.properties.ManagedBuilderUIPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ManagedBuilderUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin


Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
ManagedBuilderUIPlugin()
          The constructor
 
Method Summary
static void errorDialog(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String message, java.lang.Throwable t)
          Utility method with conventions
static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
           
static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
          Returns the active workbench window or null if none
static ManagedBuilderUIPlugin getDefault()
          Returns the singleton instance of the plugin
 org.eclipse.swt.widgets.Shell getShell()
          Answers the Shell associated with the active workbench, or one of the windows associated with the workbench.
static java.lang.String getUniqueIdentifier()
          Convenience method which returns the unique identifier of this plugin.
static org.eclipse.core.resources.IWorkspace getWorkspace()
           
static void log(org.eclipse.core.runtime.IStatus status)
           
static void log(java.lang.Throwable e)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedBuilderUIPlugin

public ManagedBuilderUIPlugin()
The constructor

Method Detail

getActiveWorkbenchShell

public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
Returns:

getActiveWorkbenchWindow

public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
Returns the active workbench window or null if none


getDefault

public static ManagedBuilderUIPlugin getDefault()
Returns the singleton instance of the plugin


getUniqueIdentifier

public static java.lang.String getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin.


log

public static void log(org.eclipse.core.runtime.IStatus status)

log

public static void log(java.lang.Throwable e)

errorDialog

public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
                               java.lang.String title,
                               java.lang.String message,
                               java.lang.Throwable t)
Utility method with conventions


getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()
Returns:

getShell

public org.eclipse.swt.widgets.Shell getShell()
Answers the Shell associated with the active workbench, or one of the windows associated with the workbench.

Returns: