Class AtlCodeFormatterPropertyPage
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.AtlCodeFormatterPropertyPage
- All Implemented Interfaces:
EventListener,Observer,org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.preference.IPreferencePage,org.eclipse.swt.events.SelectionListener,org.eclipse.swt.internal.SWTEventListener,org.eclipse.ui.IWorkbenchPreferencePage,org.eclipse.ui.IWorkbenchPropertyPage
public class AtlCodeFormatterPropertyPage
extends AbstractPropertyAndPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage, Observer, org.eclipse.swt.events.SelectionListener
The ATL formatter property page.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddTabPage(String title, IModifyDialogTabPage tabPage) protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent) voidfillPreferenceeStore(Map<String, String> settings) protected voidbooleanprotected voidnewProfilesList(AtlPreview atlPreview) protected voidnewPropertiesTable(AtlPreview atlPreview, org.eclipse.swt.widgets.TableColumn... editableColumns) protected voidbooleanvoidsetElement(org.eclipse.core.runtime.IAdaptable element) voidsetSelectedProfile(org.eclipse.swt.widgets.List list) voidupdate(Observable o, Object arg) voidvoidprotected voidupdateTab(ModifyDialogTabPage page) voidwidgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e) voidwidgetSelected(org.eclipse.swt.events.SelectionEvent e) Methods inherited from class org.eclipse.m2m.atl.adt.ui.preferences.AbstractPropertyAndPreferencePage
dispose, doGetPreferenceStore, getPreferenceStore, handleColorListSelection, init, initialize, initializeFieldsToDefaultValues, initializeFieldsToUserValues, newCheckBoxField, newCheckBoxField, newCheckBoxField, newColorList, newComposite, newCompositeCheckBoxes, newCompositeColors, newCompositeTextFields, newGroup, newLabelField, newLabelledTextField, newPushButton, newRadioButton, newScrollList, newTabItem, newTextField, newTextField, newTextField, tabForwardMethods inherited from class org.eclipse.ui.dialogs.PropertyPage
getElementMethods 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, dispose, 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.IWorkbenchPreferencePage
initMethods inherited from interface org.eclipse.ui.IWorkbenchPropertyPage
getElement
-
Field Details
-
PREVIEW
- See Also:
-
PROFILES_KEY
-
CURRENT_PROFILE_KEY
-
LAST_TAB_FOCUS
-
SHOW_INVISIBLE_PREFERENCE_KEY
-
PROJECT_SPECIFIC_SETTINGS_ENABLED
-
DIALOG_STORE_LAST_LOAD_PATH
-
DIALOG_STORE_LAST_SAVE_PATH
-
-
Constructor Details
-
AtlCodeFormatterPropertyPage
public AtlCodeFormatterPropertyPage()
-
-
Method Details
-
createContents
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent) - Specified by:
createContentsin classorg.eclipse.jface.preference.PreferencePage
-
initializeSettings
protected void initializeSettings() -
updateTab
-
addTabPage
-
newPropertiesTable
protected void newPropertiesTable(AtlPreview atlPreview, org.eclipse.swt.widgets.TableColumn... editableColumns) -
newProfilesList
-
setSelectedProfile
public void setSelectedProfile(org.eclipse.swt.widgets.List list) -
updateProfilesList
public void updateProfilesList() -
updatePropertiesTable
public void updatePropertiesTable() -
performDefaults
protected void performDefaults()- Overrides:
performDefaultsin classAbstractPropertyAndPreferencePage- See Also:
-
PreferencePage.performDefaults()
-
performOk
public boolean performOk()- Specified by:
performOkin interfaceorg.eclipse.jface.preference.IPreferencePage- Overrides:
performOkin classAbstractPropertyAndPreferencePage- See Also:
-
fillPreferenceeStore
-
update
-
setElement
public void setElement(org.eclipse.core.runtime.IAdaptable element) - Specified by:
setElementin interfaceorg.eclipse.ui.IWorkbenchPropertyPage- Overrides:
setElementin classorg.eclipse.ui.dialogs.PropertyPage- See Also:
-
PropertyPage.setElement(org.eclipse.core.runtime.IAdaptable)
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) - Specified by:
widgetSelectedin interfaceorg.eclipse.swt.events.SelectionListener
-
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e) - Specified by:
widgetDefaultSelectedin interfaceorg.eclipse.swt.events.SelectionListener
-
isProjectSpecificSettingsEnabled
public boolean isProjectSpecificSettingsEnabled()
-