public abstract class AbstractPage
extends org.eclipse.jface.preference.PreferencePage
| Modifier and Type | Field and Description |
|---|---|
protected InteractiveChart |
chart
the chart
|
protected PropertiesResources |
resources
the properties resources
|
| Constructor and Description |
|---|
AbstractPage(InteractiveChart chart,
PropertiesResources resources,
String title)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply()
Apply the values specified on controls.
|
protected org.eclipse.swt.widgets.Button |
createCheckBoxControl(org.eclipse.swt.widgets.Composite parent,
String label)
Creates the check box.
|
protected org.eclipse.jface.preference.ColorSelector |
createColorButtonControl(org.eclipse.swt.widgets.Composite parent)
Creates the color selector.
|
protected org.eclipse.swt.widgets.Combo |
createComboControl(org.eclipse.swt.widgets.Composite parent,
String[] items)
Creates the combo control.
|
protected org.eclipse.swt.widgets.Group |
createGroupControl(org.eclipse.swt.widgets.Composite parent,
String text,
boolean equal)
Creates the group control which contains two columns for controls.
|
protected org.eclipse.swt.widgets.Label |
createLabelControl(org.eclipse.swt.widgets.Composite parent,
String text)
Creates the label.
|
protected org.eclipse.swt.widgets.Spinner |
createSpinnerControl(org.eclipse.swt.widgets.Composite parent,
int min,
int max)
Creates the spinner.
|
protected org.eclipse.swt.widgets.Text |
createTextControl(org.eclipse.swt.widgets.Composite parent)
Creates the text field.
|
boolean |
performOk() |
applyData, applyDialogFont, computeSize, contributeButtons, createContents, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButtonconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisibleprotected InteractiveChart chart
protected PropertiesResources resources
public AbstractPage(InteractiveChart chart, PropertiesResources resources, String title)
chart - the chartresources - the properties resourcestitle - the titlepublic boolean performOk()
performOk in interface org.eclipse.jface.preference.IPreferencePageperformOk in class org.eclipse.jface.preference.PreferencePagepublic abstract void apply()
protected org.eclipse.swt.widgets.Group createGroupControl(org.eclipse.swt.widgets.Composite parent,
String text,
boolean equal)
parent - the parent to create the group controltext - the group nameequal - true if making columns equal widthprotected org.eclipse.swt.widgets.Label createLabelControl(org.eclipse.swt.widgets.Composite parent,
String text)
parent - the parent to create the labeltext - the label textprotected org.eclipse.jface.preference.ColorSelector createColorButtonControl(org.eclipse.swt.widgets.Composite parent)
parent - the parent to create the color selectorprotected org.eclipse.swt.widgets.Button createCheckBoxControl(org.eclipse.swt.widgets.Composite parent,
String label)
parent - the parent to create the check boxlabel - the label textButton controlprotected org.eclipse.swt.widgets.Text createTextControl(org.eclipse.swt.widgets.Composite parent)
parent - the parent to create the text fieldprotected org.eclipse.swt.widgets.Combo createComboControl(org.eclipse.swt.widgets.Composite parent,
String[] items)
parent - the parent to create the comboitems - the combo itemsprotected org.eclipse.swt.widgets.Spinner createSpinnerControl(org.eclipse.swt.widgets.Composite parent,
int min,
int max)
parent - the parent to create the spinnermin - the minimum value of spinnermax - the maximum value of spinnerCopyright © 2024. All rights reserved.