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

Quick Search    Search Deep

com.port80.swt
Class SwtPlugin  view SwtPlugin download SwtPlugin.java

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.port80.swt.SwtPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class SwtPlugin
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
private static SwtPlugin 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
SwtPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
          The constructor.
 
Method Summary
static SwtPlugin getDefault()
          Returns the shared instance.
 java.util.ResourceBundle getResourceBundle()
          Returns the plugin's resource bundle,
static java.lang.String getResourceString(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.
static void log(org.eclipse.core.runtime.IStatus status)
           
static void log(java.lang.String message)
           
static void log(java.lang.String message, java.lang.Exception e)
           
static void log(java.lang.String message, int code, java.lang.Exception e)
           
 
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

plugin

private static SwtPlugin plugin

resourceBundle

private java.util.ResourceBundle resourceBundle
Constructor Detail

SwtPlugin

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

Method Detail

getDefault

public static SwtPlugin getDefault()
Returns the shared instance.


getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()
Returns the workspace instance.


getResourceString

public static java.lang.String getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found.


getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Returns the plugin's resource bundle,


log

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

log

public static void log(java.lang.String message)

log

public static void log(java.lang.String message,
                       java.lang.Exception e)

log

public static void log(java.lang.String message,
                       int code,
                       java.lang.Exception e)