|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.dialogs.DialogPage org.eclipse.jface.preference.PreferencePage org.eclipse.jface.preference.FieldEditorPreferencePage net.sf.commonclipse.preferences.TabbedFieldEditorPreferencePage
public abstract class TabbedFieldEditorPreferencePage
Field Summary |
---|
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
---|
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
protected |
TabbedFieldEditorPreferencePage(int style)
Creates a new field editor preference page with the given style, an empty title, and no image. |
protected |
TabbedFieldEditorPreferencePage(java.lang.String title,
org.eclipse.jface.resource.ImageDescriptor image,
int style)
Creates a new field editor preference page with the given title, image, and style. |
protected |
TabbedFieldEditorPreferencePage(java.lang.String title,
int style)
Creates a new field editor preference page with the given title and style, but no image. |
Method Summary | |
---|---|
protected void |
addField(org.eclipse.jface.preference.FieldEditor editor)
Adds the given field editor to this page. |
void |
addTab(java.lang.String text)
Adds a tab to the page. |
protected void |
adjustGridLayout()
Adjust the layout of the field editors so that they are properly aligned. |
protected org.eclipse.swt.widgets.Composite |
getFieldEditorParent()
Returns a parent composite for a field editor. |
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
---|
applyFont, checkState, createContents, createFieldEditors, dispose, initialize, performDefaults, performOk, propertyChange, setVisible |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
---|
applyData, applyDialogFont, computeSize, contributeButtons, createControl, 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, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor |
Constructor Detail |
---|
protected TabbedFieldEditorPreferencePage(int style)
style
- either GRID
or FLAT
protected TabbedFieldEditorPreferencePage(java.lang.String title, int style)
title
- the title of this preference pagestyle
- either GRID
or FLAT
protected TabbedFieldEditorPreferencePage(java.lang.String title, org.eclipse.jface.resource.ImageDescriptor image, int style)
title
- the title of this preference pageimage
- the image for this preference page, or null
if nonestyle
- either GRID
or FLAT
Method Detail |
---|
protected void addField(org.eclipse.jface.preference.FieldEditor editor)
addField
in class org.eclipse.jface.preference.FieldEditorPreferencePage
editor
- the field editorprotected void adjustGridLayout()
adjustGridLayout
in class org.eclipse.jface.preference.FieldEditorPreferencePage
protected org.eclipse.swt.widgets.Composite getFieldEditorParent()
This value must not be cached since a new parent may be created each time this method called. Thus this method must be called each time a field editor is constructed.
getFieldEditorParent
in class org.eclipse.jface.preference.FieldEditorPreferencePage
public void addTab(java.lang.String text)
text
- the tab label
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |