com.bonevich.eclipse.logging
Class LoggingPlugin

java.lang.Object
  extended byorg.eclipse.core.runtime.Plugin
      extended byorg.eclipse.ui.plugin.AbstractUIPlugin
          extended bycom.bonevich.eclipse.logging.LoggingPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator, LoggingPluginResources

public class LoggingPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
implements LoggingPluginResources

The main plugin class to be used in the desktop.

Author:
jbonevic

Field Summary
static java.lang.String DEFAULT_API_PREF
           
static boolean DEFAULT_AUTOSAVE_PREF
           
static boolean DEFAULT_DEBUG_CONDITIONALS_PREF
           
static boolean DEFAULT_ERROR_CONDITIONALS_PREF
           
static boolean DEFAULT_FATAL_CONDITIONALS_PREF
           
static java.lang.String DEFAULT_FIELD_PREF
           
static boolean DEFAULT_INFO_CONDITIONALS_PREF
           
static boolean DEFAULT_TRACE_CONDITIONALS_PREF
           
static boolean DEFAULT_WARN_CONDITIONALS_PREF
           
static java.lang.String LOGGING_PREFS_API_AVALON
           
static java.lang.String LOGGING_PREFS_API_COMMONS
           
static java.lang.String LOGGING_PREFS_API_JDK_1_4
           
static java.lang.String LOGGING_PREFS_API_LOG4J
           
static java.lang.String PREFERENCE_API
           
static java.lang.String PREFERENCE_AUTOSAVE
           
static java.lang.String PREFERENCE_DEBUG_CONDITIONALS
           
static java.lang.String PREFERENCE_ERROR_CONDITIONALS
           
static java.lang.String PREFERENCE_FATAL_CONDITIONALS
           
static java.lang.String PREFERENCE_FIELD
           
static java.lang.String PREFERENCE_INFO_CONDITIONALS
           
static java.lang.String PREFERENCE_TRACE_CONDITIONALS
           
static java.lang.String PREFERENCE_WARN_CONDITIONALS
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
bundle, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Fields inherited from interface com.bonevich.eclipse.logging.LoggingPluginResources
ACTION_LOGGING_CONDITIONAL_CLOSE, ACTION_LOGGING_DEBUG, ACTION_LOGGING_DEBUG_CONDITIONAL, ACTION_LOGGING_ERROR, ACTION_LOGGING_ERROR_CONDITIONAL, ACTION_LOGGING_FATAL, ACTION_LOGGING_FATAL_CONDITIONAL, ACTION_LOGGING_INFO, ACTION_LOGGING_INFO_CONDITIONAL, ACTION_LOGGING_TRACE, ACTION_LOGGING_TRACE_CONDITIONAL, ACTION_LOGGING_WARN, ACTION_LOGGING_WARN_CONDITIONAL, ADD_LOGGING_DIALOG, ADD_LOGGING_ERROR, LOGGING_FIELD_DECLARATION, LOGGING_IMPORT_CLASS, LOGGING_LIB_PATHVAR, LOGGING_PREFS_API_AVALON_LABEL, LOGGING_PREFS_API_COMMONS_LABEL, LOGGING_PREFS_API_JDK_1_4_LABEL, LOGGING_PREFS_API_LABEL, LOGGING_PREFS_API_LOG4J_LABEL, LOGGING_PREFS_AUTOSAVE_LABEL, LOGGING_PREFS_CONDITIONALS_LABEL, LOGGING_PREFS_DEBUG_CONDITIONALS_LABEL, LOGGING_PREFS_ERROR_CONDITIONALS_LABEL, LOGGING_PREFS_FATAL_CONDITIONALS_LABEL, LOGGING_PREFS_FIELD_LABEL, LOGGING_PREFS_GENERAL, LOGGING_PREFS_INFO_CONDITIONALS_LABEL, LOGGING_PREFS_TRACE_CONDITIONALS_LABEL, LOGGING_PREFS_WARN_CONDITIONALS_LABEL, RESOURCE_BUNDLE
 
Constructor Summary
LoggingPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
           
 
Method Summary
 boolean getAutoSavePreference()
           
 boolean getDebugConditionalsPreference()
           
 boolean getErrorConditionalsPreference()
           
 boolean getFatalConditionalsPreference()
           
 java.lang.String getFieldNamePreference()
           
 boolean getInfoConditionalsPreference()
           
 java.lang.String getLoggingImplementationPreference()
           
static LoggingPlugin getPlugin()
           
 java.util.ResourceBundle getResourceBundle()
           
 boolean getTraceConditionalsPreference()
           
 boolean getWarnConditionalsPreference()
           
static org.eclipse.core.resources.IWorkspace getWorkspace()
           
protected  void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)
           
 
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, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFERENCE_API

public static final java.lang.String PREFERENCE_API
See Also:
Constant Field Values

PREFERENCE_FIELD

public static final java.lang.String PREFERENCE_FIELD
See Also:
Constant Field Values

PREFERENCE_AUTOSAVE

public static final java.lang.String PREFERENCE_AUTOSAVE
See Also:
Constant Field Values

PREFERENCE_TRACE_CONDITIONALS

public static final java.lang.String PREFERENCE_TRACE_CONDITIONALS
See Also:
Constant Field Values

PREFERENCE_DEBUG_CONDITIONALS

public static final java.lang.String PREFERENCE_DEBUG_CONDITIONALS
See Also:
Constant Field Values

PREFERENCE_INFO_CONDITIONALS

public static final java.lang.String PREFERENCE_INFO_CONDITIONALS
See Also:
Constant Field Values

PREFERENCE_WARN_CONDITIONALS

public static final java.lang.String PREFERENCE_WARN_CONDITIONALS
See Also:
Constant Field Values

PREFERENCE_ERROR_CONDITIONALS

public static final java.lang.String PREFERENCE_ERROR_CONDITIONALS
See Also:
Constant Field Values

PREFERENCE_FATAL_CONDITIONALS

public static final java.lang.String PREFERENCE_FATAL_CONDITIONALS
See Also:
Constant Field Values

LOGGING_PREFS_API_COMMONS

public static final java.lang.String LOGGING_PREFS_API_COMMONS
See Also:
Constant Field Values

LOGGING_PREFS_API_JDK_1_4

public static final java.lang.String LOGGING_PREFS_API_JDK_1_4
See Also:
Constant Field Values

LOGGING_PREFS_API_LOG4J

public static final java.lang.String LOGGING_PREFS_API_LOG4J
See Also:
Constant Field Values

LOGGING_PREFS_API_AVALON

public static final java.lang.String LOGGING_PREFS_API_AVALON
See Also:
Constant Field Values

DEFAULT_API_PREF

public static final java.lang.String DEFAULT_API_PREF
See Also:
Constant Field Values

DEFAULT_FIELD_PREF

public static final java.lang.String DEFAULT_FIELD_PREF
See Also:
Constant Field Values

DEFAULT_AUTOSAVE_PREF

public static final boolean DEFAULT_AUTOSAVE_PREF
See Also:
Constant Field Values

DEFAULT_TRACE_CONDITIONALS_PREF

public static final boolean DEFAULT_TRACE_CONDITIONALS_PREF
See Also:
Constant Field Values

DEFAULT_DEBUG_CONDITIONALS_PREF

public static final boolean DEFAULT_DEBUG_CONDITIONALS_PREF
See Also:
Constant Field Values

DEFAULT_INFO_CONDITIONALS_PREF

public static final boolean DEFAULT_INFO_CONDITIONALS_PREF
See Also:
Constant Field Values

DEFAULT_WARN_CONDITIONALS_PREF

public static final boolean DEFAULT_WARN_CONDITIONALS_PREF
See Also:
Constant Field Values

DEFAULT_ERROR_CONDITIONALS_PREF

public static final boolean DEFAULT_ERROR_CONDITIONALS_PREF
See Also:
Constant Field Values

DEFAULT_FATAL_CONDITIONALS_PREF

public static final boolean DEFAULT_FATAL_CONDITIONALS_PREF
See Also:
Constant Field Values
Constructor Detail

LoggingPlugin

public LoggingPlugin(org.eclipse.core.runtime.IPluginDescriptor descriptor)
Method Detail

getPlugin

public static LoggingPlugin getPlugin()

getWorkspace

public static org.eclipse.core.resources.IWorkspace getWorkspace()

getResourceBundle

public java.util.ResourceBundle getResourceBundle()

initializeDefaultPreferences

protected void initializeDefaultPreferences(org.eclipse.jface.preference.IPreferenceStore store)

getLoggingImplementationPreference

public java.lang.String getLoggingImplementationPreference()

getFieldNamePreference

public java.lang.String getFieldNamePreference()

getAutoSavePreference

public boolean getAutoSavePreference()

getTraceConditionalsPreference

public boolean getTraceConditionalsPreference()

getDebugConditionalsPreference

public boolean getDebugConditionalsPreference()

getInfoConditionalsPreference

public boolean getInfoConditionalsPreference()

getWarnConditionalsPreference

public boolean getWarnConditionalsPreference()

getErrorConditionalsPreference

public boolean getErrorConditionalsPreference()

getFatalConditionalsPreference

public boolean getFatalConditionalsPreference()


Copyright © 2003-2004 bonevich.com. All Rights Reserved.