public abstract class EMFPlugin extends DelegatingResourceLocator implements ResourceLocator, Logger
DelegatingResourceLocator
,
ResourceLocator
,
Logger
Modifier and Type | Class and Description |
---|---|
static class |
EMFPlugin.EclipsePlugin
The actual implementation of an Eclipse Plugin.
|
static interface |
EMFPlugin.InternalEclipsePlugin
This just provides a common interface for the Eclipse plugins supported by EMF.
|
static class |
EMFPlugin.InternalHelper
This just provides a common delegate for non-UI and UI plug-in classes.
|
static class |
EMFPlugin.OSGiDelegatingBundleActivator
This is just a bundle activator wrapper for delegating to another bundle activator.
|
Modifier and Type | Field and Description |
---|---|
protected ResourceLocator[] |
delegateResourceLocators |
static boolean |
IS_ECLIPSE_RUNNING |
static boolean |
IS_RESOURCES_BUNDLE_AVAILABLE |
baseURL, images, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings
Constructor and Description |
---|
EMFPlugin(ResourceLocator[] delegateResourceLocators) |
Modifier and Type | Method and Description |
---|---|
protected ResourceLocator[] |
getDelegateResourceLocators()
Returns the delegate resource locators.
|
Logger |
getPluginLogger()
Returns an Eclipse plugin implementation of a logger.
|
abstract ResourceLocator |
getPluginResourceLocator()
Returns an Eclipse plugin implementation of a resource locator.
|
protected ResourceLocator |
getPrimaryResourceLocator()
Returns the primary resource locator.
|
java.lang.String |
getSymbolicName() |
void |
log(java.lang.Object logEntry)
Logs an entry.
|
static void |
main(java.lang.String[] args) |
delegatedGetImage, delegatedGetString, doGetImage, doGetString, extensionFor, getBaseURL, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseURL, getImage, getString, getString, getString, getString
public static final boolean IS_ECLIPSE_RUNNING
public static final boolean IS_RESOURCES_BUNDLE_AVAILABLE
protected ResourceLocator[] delegateResourceLocators
public EMFPlugin(ResourceLocator[] delegateResourceLocators)
public abstract ResourceLocator getPluginResourceLocator()
protected final ResourceLocator getPrimaryResourceLocator()
DelegatingResourceLocator
getPrimaryResourceLocator
in class DelegatingResourceLocator
protected ResourceLocator[] getDelegateResourceLocators()
DelegatingResourceLocator
getDelegateResourceLocators
in class DelegatingResourceLocator
public Logger getPluginLogger()
public java.lang.String getSymbolicName()
public void log(java.lang.Object logEntry)
Logger
public static void main(java.lang.String[] args)