java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
org.eclipse.debug.internal.ui.preferences.ConsolePreferencePage
- All Implemented Interfaces:
- java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.IWorkbenchPreferencePage
- public class ConsolePreferencePage
- extends org.eclipse.jface.preference.FieldEditorPreferencePage
- implements org.eclipse.ui.IWorkbenchPreferencePage
A page to set the preferences for the console
| Fields inherited from class org.eclipse.jface.preference.PreferencePage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyDialogFont, computeSize, contributeButtons, 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, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
fWrapEditor
private BooleanFieldEditor2 fWrapEditor
fWidthEditor
private ConsolePreferencePage.ConsoleIntegerFieldEditor fWidthEditor
fUseBufferSize
private BooleanFieldEditor2 fUseBufferSize
fBufferSizeEditor
private ConsolePreferencePage.ConsoleIntegerFieldEditor fBufferSizeEditor
fTabSizeEditor
private ConsolePreferencePage.ConsoleIntegerFieldEditor fTabSizeEditor
ConsolePreferencePage
public ConsolePreferencePage()
- Create the console page.
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Description copied from interface:
org.eclipse.jface.dialogs.IDialogPage
- Creates the top level control for this dialog
page under the given parent composite.
Implementors are responsible for ensuring that
the created control can be accessed via getControl
- Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
createFieldEditors
public void createFieldEditors()
- Create all field editors for this page
init
public void init(org.eclipse.ui.IWorkbench workbench)
- Description copied from interface:
org.eclipse.ui.IWorkbenchPreferencePage
- Initializes this preference page for the given workbench.
This method is called automatically as the preference page is being created
and initialized. Clients must not call this method.
- Specified by:
init in interface org.eclipse.ui.IWorkbenchPreferencePage
performOk
public boolean performOk()
- Description copied from interface:
org.eclipse.jface.preference.IPreferencePage
- Notifies that the OK button of this page's container has been pressed.
- Specified by:
performOk in interface org.eclipse.jface.preference.IPreferencePage
initialize
protected void initialize()
- Description copied from class:
org.eclipse.jface.preference.FieldEditorPreferencePage
- Initializes all field editors.
updateWidthEditor
protected void updateWidthEditor()
- Update enablement of width editor based on enablement of 'fixed width' editor.
updateBufferSizeEditor
protected void updateBufferSizeEditor()
- Update enablement of buffer size editor based on enablement of 'limit
console output' editor.
performDefaults
protected void performDefaults()
- Description copied from class:
org.eclipse.jface.preference.FieldEditorPreferencePage
- The field editor preference page implementation of a
PreferencePage
method loads all the field editors with their default values.
canClearErrorMessage
protected boolean canClearErrorMessage()
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Description copied from class:
org.eclipse.jface.preference.FieldEditorPreferencePage
- The field editor preference page implementation of this
IPreferencePage
(and IPropertyChangeListener) method intercepts IS_VALID
events but passes other events on to its superclass.
- Specified by:
propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener