org.eclipse.jpt.ui
Class JptUiPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.jpt.ui.JptUiPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class JptUiPlugin
- extends org.eclipse.ui.plugin.AbstractUIPlugin
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
The plug-in identifier of JPA UI support
(value "org.eclipse.jpt.ui" ). |
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
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 JptUiPlugin |
getPlugin()
Returns the singleton Plugin |
JpaPlatformUi |
jpaPlatformUi(JpaPlatform jpaPlatform)
Return the JPA platform UI corresponding to the given JPA platform |
static void |
log(org.eclipse.core.runtime.IStatus status)
|
static void |
log(java.lang.String msg)
|
static void |
log(java.lang.Throwable throwable)
|
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 |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- The plug-in identifier of JPA UI support
(value
"org.eclipse.jpt.ui"
).
- See Also:
- Constant Field Values
JptUiPlugin
public JptUiPlugin()
getPlugin
public static JptUiPlugin getPlugin()
- 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
jpaPlatformUi
public JpaPlatformUi jpaPlatformUi(JpaPlatform jpaPlatform)
- Return the JPA platform UI corresponding to the given JPA platform