Class AtlSyntaxPreferencePage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.preference.PreferencePage
-
- org.eclipse.ui.dialogs.PropertyPage
-
- org.eclipse.m2m.atl.adt.ui.preferences.AbstractPropertyAndPreferencePage
-
- org.eclipse.m2m.atl.adt.ui.preferences.AtlSyntaxPreferencePage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.preference.IPreferencePage
,org.eclipse.ui.IWorkbenchPreferencePage
,org.eclipse.ui.IWorkbenchPropertyPage
public class AtlSyntaxPreferencePage extends AbstractPropertyAndPreferencePage
This is the page for setting the highlight syntaxing coloration options.
-
-
Field Summary
-
Fields inherited from class org.eclipse.m2m.atl.adt.ui.preferences.AbstractPropertyAndPreferencePage
checkBoxModel, colorList, colorListModel, colorSelector, fPreferenceeStore, preview, properties, tableProperties, textFieldModel
-
-
Constructor Summary
Constructors Constructor Description AtlSyntaxPreferencePage()
Creates a new ATL editor preference page telling to the super class the title using the resource bundle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.Control
createContents(org.eclipse.swt.widgets.Composite parent)
protected void
handleColorListSelection()
When a selection is made, the color button handles the color sets by this selection.protected void
initialize()
Initializes the preference page with the user values.protected void
performDefaults()
-
Methods inherited from class org.eclipse.m2m.atl.adt.ui.preferences.AbstractPropertyAndPreferencePage
dispose, doGetPreferenceStore, getPreferenceStore, init, initializeFieldsToDefaultValues, initializeFieldsToUserValues, newCheckBoxField, newCheckBoxField, newCheckBoxField, newColorList, newComposite, newCompositeCheckBoxes, newCompositeColors, newCompositeTextFields, newGroup, newLabelField, newLabelledTextField, newPushButton, newRadioButton, newScrollList, newTabItem, newTextField, newTextField, newTextField, performOk, tabForward
-
Methods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, getApplyButton, getContainer, getDefaultsButton, isValid, noDefaultAndApplyButton, noDefaultButton, 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, setVisible
-
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
createControl, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
-
-
-
-
Method Detail
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createContents
in classorg.eclipse.jface.preference.PreferencePage
- See Also:
PreferencePage.createContents(org.eclipse.swt.widgets.Composite)
-
handleColorListSelection
protected void handleColorListSelection()
When a selection is made, the color button handles the color sets by this selection. The default implementation does nothing.- Overrides:
handleColorListSelection
in classAbstractPropertyAndPreferencePage
- See Also:
org.eclipse.m2m.atl.adt.ui.preferences.AbstractPreferencePage#handleColorListSelection()
-
initialize
protected void initialize()
Initializes the preference page with the user values. The default implementation initializes all widgets lists with there user's value.- Overrides:
initialize
in classAbstractPropertyAndPreferencePage
- See Also:
org.eclipse.m2m.atl.adt.ui.preferences.AbstractPreferencePage#initialize()
-
performDefaults
protected void performDefaults()
- Overrides:
performDefaults
in classAbstractPropertyAndPreferencePage
- See Also:
org.eclipse.m2m.atl.adt.ui.preferences.AbstractPreferencePage#performDefaults()
-
-