com.bonevich.eclipse.logging.prefs
Class LoggingPreferencePage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended bycom.bonevich.eclipse.logging.prefs.LoggingPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage, LoggingPluginResources

public class LoggingPreferencePage
extends org.eclipse.jface.preference.PreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage, LoggingPluginResources

Preference page for the Boneclipse Logging Plugin. Allows the user to specify which logging API to use and the default name for the logging field to be used.

Author:
jbonevic

Field Summary
 
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
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
LoggingPreferencePage()
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
 void init(org.eclipse.ui.IWorkbench workbench)
           
protected  void performDefaults()
           
 boolean performOk()
           
 
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Constructor Detail

LoggingPreferencePage

public LoggingPreferencePage()
Method Detail

init

public void init(org.eclipse.ui.IWorkbench workbench)
Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)

performDefaults

protected void performDefaults()

performOk

public boolean performOk()
Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage


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