TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.log.views.internal
Class LogViewsPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended byorg.eclipse.tptp.platform.log.views.internal.LogViewsPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class LogViewsPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin


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
LogViewsPlugin()
           
 
Method Summary
 void addRecordPaneViewerListener(IRecordPaneViewerListener listener)
           
 void fireRecordChangeNotification(RecordChangeEvent e)
           
static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
           
static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
           
static int getDateStyle()
           
static java.text.DateFormat getDateTimeFormat()
           
static LogViewsPlugin getDefault()
           
static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
          Insert the method's description here.
static java.lang.String getPluginId()
           
static java.util.ResourceBundle getResourceBundle()
           
 org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
           
static java.lang.String getResourceString(java.lang.String key)
           
static java.lang.String getString(java.lang.String key)
           
 SDBFactoryImpl getSymptomDBFactory()
           
static int getTimeStyle()
           
static int getTimeZone()
           
protected  void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
          Sets default preference values.
static void log(org.eclipse.core.runtime.IStatus status)
           
static void log(java.lang.Throwable e)
          Logs an exception in Eclipse's .log file.
static boolean normalizeTimeZone()
           
 void removeRecordPaneViewerListener(IRecordPaneViewerListener listener)
           
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, 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

LogViewsPlugin

public LogViewsPlugin()
Method Detail

getDefault

public static LogViewsPlugin getDefault()

getPluginId

public static java.lang.String getPluginId()

getImageDescriptor

public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String name)
Insert the method's description here. Creation date: (2/16/2001 4:57:29 PM)

Parameters:
name - java.lang.String
Returns:
org.eclipse.jface.resource.ImageDescriptor

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()

getResourceString

public static java.lang.String getResourceString(java.lang.String key)

getString

public static java.lang.String getString(java.lang.String key)

getActiveWorkbenchShell

public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()

getActiveWorkbenchWindow

public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()

log

public static void log(java.lang.Throwable e)
Logs an exception in Eclipse's .log file.

Parameters:
e - The exception to log.

log

public static void log(org.eclipse.core.runtime.IStatus status)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

getSymptomDBFactory

public SDBFactoryImpl getSymptomDBFactory()

getResourceSet

public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()

getDateTimeFormat

public static java.text.DateFormat getDateTimeFormat()

getDateStyle

public static int getDateStyle()

getTimeStyle

public static int getTimeStyle()

getTimeZone

public static int getTimeZone()

normalizeTimeZone

public static boolean normalizeTimeZone()

initializeDefaultPreferences

protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
Sets default preference values. These values will be used until some preferences are actually set using the Preference dialog.


addRecordPaneViewerListener

public void addRecordPaneViewerListener(IRecordPaneViewerListener listener)

removeRecordPaneViewerListener

public void removeRecordPaneViewerListener(IRecordPaneViewerListener listener)

fireRecordChangeNotification

public void fireRecordChangeNotification(RecordChangeEvent e)

TPTP 4.2.0 Platform Project
Internal API Specification