public abstract class OomphPlugin extends EMFPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
OomphPlugin.BundleFile |
EMFPlugin.EclipsePlugin, EMFPlugin.InternalEclipsePlugin, EMFPlugin.InternalHelper, EMFPlugin.OSGiDelegatingBundleActivatordelegateResourceLocators, IS_ECLIPSE_RUNNING, IS_RESOURCES_BUNDLE_AVAILABLEbaseURL, images, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings| Modifier | Constructor and Description |
|---|---|
protected |
OomphPlugin(ResourceLocator[] delegateResourceLocators) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkCancelation(IProgressMonitor monitor) |
void |
coreException(IStatus status) |
void |
coreException(Throwable t) |
File |
exportResources(String entry) |
void |
exportResources(String entry,
File target) |
org.osgi.framework.Bundle |
getBundle() |
org.osgi.framework.BundleContext |
getBundleContext() |
org.osgi.service.prefs.Preferences |
getConfigurationPreferences() |
protected Plugin |
getEclipsePlugin() |
org.osgi.service.prefs.Preferences |
getInstancePreferences() |
ILog |
getLog() |
OomphPlugin.BundleFile |
getRootFile() |
<T> T |
getService(Class<T> serviceClass) |
IPath |
getStateLocation() |
IStatus |
getStatus(Object obj) |
IPath |
getUserLocation() |
boolean |
isDebugging() |
boolean |
isOSGiRunning() |
void |
log(IStatus status) |
void |
log(String message) |
void |
log(String message,
int severity) |
String |
log(Throwable t) |
void |
setDebugging(boolean value) |
static String |
toString(IStatus status) |
static String |
toString(Throwable t) |
void |
ungetService(Object service) |
getDelegateResourceLocators, getPluginLogger, getPluginResourceLocator, getPrimaryResourceLocator, getSymbolicName, log, maindelegatedGetImage, delegatedGetString, doGetImage, doGetString, extensionFor, getBaseURL, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseURL, getImage, getString, getString, getString, getStringprotected OomphPlugin(ResourceLocator[] delegateResourceLocators)
public final boolean isOSGiRunning()
protected Plugin getEclipsePlugin()
public final org.osgi.framework.Bundle getBundle()
public final org.osgi.framework.BundleContext getBundleContext()
public final IPath getStateLocation() throws IllegalStateException
IllegalStateExceptionpublic final IPath getUserLocation() throws IllegalStateException
IllegalStateExceptionpublic final org.osgi.service.prefs.Preferences getInstancePreferences()
public final org.osgi.service.prefs.Preferences getConfigurationPreferences()
public final boolean isDebugging()
public final void setDebugging(boolean value)
public final <T> T getService(Class<T> serviceClass)
public final void ungetService(Object service)
public final ILog getLog()
public final void log(String message, int severity)
public final void log(String message)
public final void log(IStatus status)
public void coreException(IStatus status) throws CoreException
CoreExceptionpublic final void coreException(Throwable t) throws CoreException
CoreExceptionpublic OomphPlugin.BundleFile getRootFile()
public static void checkCancelation(IProgressMonitor monitor)
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html