public abstract class AbstractSelectorPage extends AbstractPage
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.swt.widgets.List |
list
the list
|
protected int |
selectedIndex
the selected index
|
chart, resources| Constructor and Description |
|---|
AbstractSelectorPage(InteractiveChart chart,
PropertiesResources resources,
String title,
String selector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
Adds the contents on right panel.
|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected abstract String[] |
getListItems()
Gets the list items.
|
protected abstract void |
selectInitialValues()
Selects value for each control.
|
protected abstract void |
updateControlSelections()
Updates the selection on controls.
|
apply, createCheckBoxControl, createColorButtonControl, createComboControl, createGroupControl, createLabelControl, createSpinnerControl, createTextControl, performOkapplyData, applyDialogFont, computeSize, contributeButtons, 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 org.eclipse.swt.widgets.List list
protected int selectedIndex
public AbstractSelectorPage(InteractiveChart chart, PropertiesResources resources, String title, String selector)
chart - the chartresources - the properties resourcestitle - the titleselector - the selector nameprotected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.preference.PreferencePageprotected abstract String[] getListItems()
protected abstract void selectInitialValues()
protected abstract void addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
parent - the parent to add the contentsprotected abstract void updateControlSelections()
Copyright © 2024. All rights reserved.