org.topbraid.core
Class TBPlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by 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
 
Constructor Summary
TBPlugin()
           
 
Method Summary
static TBPlugin getDefault()
           
static java.lang.String getDetailedStatus()
           
static java.lang.String getDetailedStatusAndInform()
           
static java.lang.String getDetailedStatusAndInform(java.lang.Object shell)
           
static java.lang.String getStatus()
           
static void init(org.eclipse.core.runtime.Preferences preferences, java.lang.String eclipsePlatform, IStatusUIHandler statusHandler, java.lang.Object shell)
           
static void log2(java.lang.String message)
           
static boolean quest()
           
static boolean quest(java.lang.Object shell)
           
static void showDetailedTrialDialog(boolean showOnce)
           
static void showDetailedTrialDialog(java.lang.Object shell, boolean showOnce)
           
static void showTrialDialog(boolean showOnce)
           
static void showTrialDialog(java.lang.Object shell, boolean showOnce)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
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
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

TBPlugin

public TBPlugin()
Method Detail

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)