|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPlugin
org.eclipse.mtj.toolkit.uei.UeiPlugin
public class UeiPlugin
The main plug-in class to be used in the desktop.
| Field Summary | |
|---|---|
static String |
UEI_DEBUG_SYSTEM_PROPERTY
A debug flag used for debugging the UEI device import process. |
| Constructor Summary | |
|---|---|
UeiPlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static void |
debugLog(String message)
Log the specified message for debug purposes. |
static void |
debugLog(String message,
Exception e)
Log the specified message for debug purposes. |
static UeiPlugin |
getDefault()
Returns the shared instance. |
static boolean |
isUEIDebugEnabled()
Check if the UEI device import debugging is enable. |
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String UEI_DEBUG_SYSTEM_PROPERTY
| Constructor Detail |
|---|
public UeiPlugin()
| Method Detail |
|---|
public static void debugLog(String message)
This method will log the message argument when System property
UEI_DEBUG_SYSTEM_PROPERTY is set as true.
The logged message will be: [UEI] <message argument>
message - the message to be logged
public static void debugLog(String message,
Exception e)
This method will log the message argument when System property
UEI_DEBUG_SYSTEM_PROPERTY is set as true.
The logged message will be: [UEI] <message argument>
message - the message to be loggede - the exception to be loggedpublic static UeiPlugin getDefault()
public static boolean isUEIDebugEnabled()
true if debug is enabled; false
otherwise.
public void start(BundleContext context)
throws Exception
Exception
public void stop(BundleContext context)
throws Exception
Exception
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||