|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPlugin
org.eclipse.egf.common.activator.AbstractActivator
public abstract class AbstractActivator
Constructor Summary | |
---|---|
AbstractActivator()
|
Method Summary | |
---|---|
String |
getPluginID()
Get the plug-in ID according to MANIFEST.MF definition. |
void |
log(Class<?> clazz,
String methodName,
Throwable t)
Logs the given throwable to the platform log, indicating the class and method from where it is being logged (this is not necessarily where it occurred). |
void |
log(int severity,
String message,
Throwable e)
Log the given exception along with the provided message and severity indicator |
void |
log(IStatus status)
Logs the given message and status to the platform log. |
void |
log(String message)
Logs the given message to the platform log. |
void |
log(String message,
IStatus status)
Logs the given message and status to the platform log. |
void |
log(String message,
Throwable t)
Logs the given message and throwable to the platform log. |
void |
log(Throwable t)
|
IStatus |
newErrorStatus(String message,
Throwable exception)
Returns a new error status for this plug-in with the given message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractActivator()
Method Detail |
---|
public void log(Throwable t)
public IStatus newErrorStatus(String message, Throwable exception)
message
- the message to be included in the statusexception
- the exception to be included in the status or null
if none
public void log(String message)
message
- A high level UI message describing when the problem happened.public void log(String message, Throwable t)
message
- A high level UI message describing when the problem happened.t
- The throwable from where the problem actually occurred.public void log(Class<?> clazz, String methodName, Throwable t)
clazz
- The calling class.methodName
- The calling method name.t
- The throwable from where the problem actually occurred.public void log(IStatus status)
status
- The status describing the problem. Must not be null.public void log(int severity, String message, Throwable e)
public void log(String message, IStatus status)
message
- A high level UI message describing when the problem happened. May be null
.status
- The status describing the problem. Must not be null.public String getPluginID()
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.