org.topbraid.core
Class TBPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.topbraid.core.TBPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public final class TBPlugin
- extends org.eclipse.core.runtime.Plugin
- implements org.osgi.framework.BundleActivator
|
Field Summary |
static java.lang.String |
PLUGIN_ID
|
| Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| 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 |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
TBPlugin
public TBPlugin()
getDefault
public static TBPlugin getDefault()
start
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
start in interface org.osgi.framework.BundleActivator- Overrides:
start in class org.eclipse.core.runtime.Plugin
- Throws:
java.lang.Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
- Specified by:
stop in interface org.osgi.framework.BundleActivator- Overrides:
stop in class org.eclipse.core.runtime.Plugin
- Throws:
java.lang.Exception
getDetailedStatus
public static final java.lang.String getDetailedStatus()
getDetailedStatusAndInform
public static final java.lang.String getDetailedStatusAndInform()
getDetailedStatusAndInform
public static final java.lang.String getDetailedStatusAndInform(java.lang.Object shell)
getStatus
public static final java.lang.String getStatus()
init
public static final void init(org.eclipse.core.runtime.Preferences preferences,
java.lang.String eclipsePlatform,
IStatusUIHandler statusHandler,
java.lang.Object shell)
- Parameters:
preferences - platform - The platform that TB runs on. In TBC,
usually SWT.getPlatform() is used to get the platform.
Examples are "win32", "motif", "gtk", "photon", "carbon
log2
public static void log2(java.lang.String message)
quest
public static boolean quest()
quest
public static boolean quest(java.lang.Object shell)
showDetailedTrialDialog
public static void showDetailedTrialDialog(boolean showOnce)
showDetailedTrialDialog
public static void showDetailedTrialDialog(java.lang.Object shell,
boolean showOnce)
showTrialDialog
public static void showTrialDialog(boolean showOnce)
showTrialDialog
public static void showTrialDialog(java.lang.Object shell,
boolean showOnce)