|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
com.aptana.ide.lexer.LexerPlugin
public class LexerPlugin
The main plugin class to be used in the desktop.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
LexerPlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static LexerPlugin |
getDefault()
Returns the shared instance. |
static java.lang.String |
getLexerType()
getLexerType |
static java.lang.String |
getPluginVersion(org.eclipse.core.runtime.Plugin plugin)
Retrieves the bundle version or a plugin based on its ID. |
static void |
log(int statusNumber,
java.lang.String message,
java.lang.Throwable throwable)
Logs an error |
static void |
logError(java.lang.String message)
Logs an error |
static void |
logError(java.lang.String message,
java.lang.Throwable th)
Logs an error |
static void |
logInfo(java.lang.String message)
Logs an error |
static void |
logInfo(java.lang.String message,
java.lang.Throwable th)
Logs an error |
static void |
logWarning(java.lang.String message)
logWarning |
static void |
logWarning(java.lang.String message,
java.lang.Throwable th)
logWarning |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation |
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped |
static boolean |
useAsciiLexer()
useAsciiLexer |
static boolean |
useCodeBasedLexer()
useCodeBasedLexer |
static boolean |
useMatcherLexer()
useMatcherLexer |
static boolean |
useUnicodeLexer()
useUnicodeLexer |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LexerPlugin()
| Method Detail |
|---|
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.core.runtime.Plugincontext -
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.core.runtime.Plugincontext -
java.lang.Exceptionpublic static LexerPlugin getDefault()
public static java.lang.String getLexerType()
public static void logError(java.lang.String message)
message - The message to log
public static void logError(java.lang.String message,
java.lang.Throwable th)
message - th - public static void logInfo(java.lang.String message)
message -
public static void logInfo(java.lang.String message,
java.lang.Throwable th)
message - th - public static void logWarning(java.lang.String message)
message -
public static void logWarning(java.lang.String message,
java.lang.Throwable th)
message - th -
public static void log(int statusNumber,
java.lang.String message,
java.lang.Throwable throwable)
statusNumber - message - throwable - public static java.lang.String getPluginVersion(org.eclipse.core.runtime.Plugin plugin)
plugin - The plugin to retrieve from
public static boolean useAsciiLexer()
public static boolean useUnicodeLexer()
public static boolean useCodeBasedLexer()
public static boolean useMatcherLexer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||