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
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
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ATL editor preference page telling to the super class the title using the resource bundle. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.widgets.Control
createContents
(org.eclipse.swt.widgets.Composite parent) protected void
When a selection is made, the color button handles the color sets by this selection.protected void
Initializes the preference page with the user values.protected void
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.ui.dialogs.PropertyPage
getElement, setElement
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
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
Methods inherited from interface org.eclipse.ui.IWorkbenchPropertyPage
getElement, setElement
-
Constructor Details
-
AtlSyntaxPreferencePage
public AtlSyntaxPreferencePage()Creates a new ATL editor preference page telling to the super class the title using the resource bundle.
-
-
Method Details
-
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:
-
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:
-
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:
-
performDefaults
protected void performDefaults()- Overrides:
performDefaults
in classAbstractPropertyAndPreferencePage
- See Also:
-