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, textFieldModelFields 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.ControlcreateContents(org.eclipse.swt.widgets.Composite parent) protected voidWhen a selection is made, the color button handles the color sets by this selection.protected voidInitializes the preference page with the user values.protected voidMethods 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, tabForwardMethods inherited from class org.eclipse.ui.dialogs.PropertyPage
getElement, setElementMethods 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, updateApplyButtonMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, setContainer, setSizeMethods 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:
createContentsin 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:
handleColorListSelectionin 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:
initializein classAbstractPropertyAndPreferencePage- See Also:
-
performDefaults
protected void performDefaults()- Overrides:
performDefaultsin classAbstractPropertyAndPreferencePage- See Also:
-