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.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 Details

    • PREVIEW

      public static final String PREVIEW
      See Also:
    • PROFILES_KEY

      public static final String PROFILES_KEY
    • CURRENT_PROFILE_KEY

      public static final String CURRENT_PROFILE_KEY
    • LAST_TAB_FOCUS

      public static final String LAST_TAB_FOCUS
    • SHOW_INVISIBLE_PREFERENCE_KEY

      public static final String SHOW_INVISIBLE_PREFERENCE_KEY
    • PROJECT_SPECIFIC_SETTINGS_ENABLED

      public static final String PROJECT_SPECIFIC_SETTINGS_ENABLED
    • DIALOG_STORE_LAST_LOAD_PATH

      public static final String DIALOG_STORE_LAST_LOAD_PATH
    • DIALOG_STORE_LAST_SAVE_PATH

      public static final String 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:
      createContents in class org.eclipse.jface.preference.PreferencePage
    • initializeSettings

      protected void initializeSettings()
    • updateTab

      protected void updateTab(ModifyDialogTabPage page)
    • addTabPage

      protected final void addTabPage(String title, IModifyDialogTabPage tabPage)
    • newPropertiesTable

      protected void newPropertiesTable(AtlPreview atlPreview, org.eclipse.swt.widgets.TableColumn... editableColumns)
    • newProfilesList

      protected void newProfilesList(AtlPreview atlPreview)
    • setSelectedProfile

      public void setSelectedProfile(org.eclipse.swt.widgets.List list)
    • updateProfilesList

      public void updateProfilesList()
    • updatePropertiesTable

      public void updatePropertiesTable()
    • performDefaults

      protected void performDefaults()
      Overrides:
      performDefaults in class AbstractPropertyAndPreferencePage
      See Also:
      • PreferencePage.performDefaults()
    • performOk

      public boolean performOk()
      Specified by:
      performOk in interface org.eclipse.jface.preference.IPreferencePage
      Overrides:
      performOk in class AbstractPropertyAndPreferencePage
      See Also:
    • fillPreferenceeStore

      public void fillPreferenceeStore(Map<String,String> settings)
    • update

      public void update(Observable o, Object arg)
      Specified by:
      update in interface Observer
      See Also:
    • setElement

      public void setElement(org.eclipse.core.runtime.IAdaptable element)
      Specified by:
      setElement in interface org.eclipse.ui.IWorkbenchPropertyPage
      Overrides:
      setElement in class org.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:
      widgetSelected in interface org.eclipse.swt.events.SelectionListener
    • widgetDefaultSelected

      public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
      Specified by:
      widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
    • isProjectSpecificSettingsEnabled

      public boolean isProjectSpecificSettingsEnabled()