org.eclipse.jpt.eclipselink.ui
Class JptEclipseLinkUiPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by org.eclipse.jpt.eclipselink.ui.JptEclipseLinkUiPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

The activator class controls the plug-in life cycle Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Field Summary
static java.lang.String PLUGIN_ID
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
JptEclipseLinkUiPlugin()
           
 
Method Summary
static org.eclipse.swt.graphics.Image getImage(java.lang.String key)
          This returns an image for a .gif from the icons folder
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String key)
          This gets a .gif from the icons folder.
static JptEclipseLinkUiPlugin instance()
          Returns the singleton Plugin
static void log(org.eclipse.core.runtime.IStatus status)
           
static void log(java.lang.String msg)
           
static void log(java.lang.Throwable throwable)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup
 
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
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

JptEclipseLinkUiPlugin

public JptEclipseLinkUiPlugin()
Method Detail

instance

public static JptEclipseLinkUiPlugin instance()
Returns the singleton Plugin


log

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

log

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

log

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

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String key)
This gets a .gif from the icons folder.


getImage

public static org.eclipse.swt.graphics.Image getImage(java.lang.String key)
This returns an image for a .gif from the icons folder


start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.ui.plugin.AbstractUIPlugin
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.ui.plugin.AbstractUIPlugin
Throws:
java.lang.Exception