public class GridPage extends AbstractSelectorPage
| Modifier and Type | Field and Description |
|---|---|
private IAxis[] |
axes
the axes
|
protected org.eclipse.jface.preference.ColorSelector |
foregroundButton
the foreground button
|
protected org.eclipse.swt.graphics.RGB[] |
foregroundColors
the foreground colors
|
private static java.lang.String |
GRID_FOREGROUND
the key for grid foreground
|
protected org.eclipse.swt.widgets.Combo |
styleCombo
the style combo
|
protected LineStyle[] |
styles
the line styles
|
list, selectedIndexchart, resources| Constructor and Description |
|---|
GridPage(InteractiveChart chart,
PropertiesResources resources,
IAxis.Direction direction,
java.lang.String title)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addGridPanel(org.eclipse.swt.widgets.Composite parent)
Adds the grid panel.
|
protected void |
addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
Adds the contents on right panel.
|
void |
apply()
Apply the values specified on controls.
|
protected java.lang.String[] |
getListItems()
Gets the list items.
|
protected void |
performDefaults() |
protected void |
selectInitialValues()
Selects value for each control.
|
protected void |
updateControlSelections()
Updates the selection on controls.
|
createContentscreateCheckBoxControl, 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, 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, setVisibleprivate static final java.lang.String GRID_FOREGROUND
private IAxis[] axes
protected org.eclipse.swt.widgets.Combo styleCombo
protected org.eclipse.jface.preference.ColorSelector foregroundButton
protected LineStyle[] styles
protected org.eclipse.swt.graphics.RGB[] foregroundColors
public GridPage(InteractiveChart chart, PropertiesResources resources, IAxis.Direction direction, java.lang.String title)
chart - the chartresources - the properties resourcesdirection - the directiontitle - the titleprotected java.lang.String[] getListItems()
AbstractSelectorPagegetListItems in class AbstractSelectorPageprotected void selectInitialValues()
AbstractSelectorPageselectInitialValues in class AbstractSelectorPageprotected void updateControlSelections()
AbstractSelectorPageupdateControlSelections in class AbstractSelectorPageprotected void addRightPanelContents(org.eclipse.swt.widgets.Composite parent)
AbstractSelectorPageaddRightPanelContents in class AbstractSelectorPageparent - the parent to add the contentsprivate void addGridPanel(org.eclipse.swt.widgets.Composite parent)
parent - the parent to add the grid panelpublic void apply()
AbstractPageapply in class AbstractPageprotected void performDefaults()
performDefaults in class org.eclipse.jface.preference.PreferencePage