Class AtlCodeFormatterProfilesTabPage

    • Constructor Detail

      • AtlCodeFormatterProfilesTabPage

        public AtlCodeFormatterProfilesTabPage​(ProfileManager manager,
                                               ProfileStore store,
                                               boolean isProjectSpecific)
    • Method Detail

      • getProfilesList

        public org.eclipse.swt.widgets.List getProfilesList()
      • getfEnableProjectSpecificSettings

        public org.eclipse.swt.widgets.Button getfEnableProjectSpecificSettings()
      • initializePage

        protected void initializePage()
        Description copied from class: ModifyDialogTabPage
        This method is called after all controls have been allocated, including the preview. It can be used to set the preview text and to create listeners.
        Specified by:
        initializePage in class ModifyDialogTabPage
      • doCreatePreferences

        protected void doCreatePreferences​(org.eclipse.swt.widgets.Composite composite,
                                           int numColumns)
        Description copied from class: ModifyDialogTabPage
        Create the left side of the modify dialog. This is meant to be implemented by subclasses.
        Specified by:
        doCreatePreferences in class ModifyDialogTabPage
        Parameters:
        composite - Composite to create in
        numColumns - Number of columns to use
      • doCreatePreviewPane

        protected org.eclipse.swt.widgets.Composite doCreatePreviewPane​(org.eclipse.swt.widgets.Composite composite,
                                                                        int numColumns)
        Description copied from class: ModifyDialogTabPage
        Create the right side of the modify dialog. By default, the preview is displayed there. Subclasses can override this method in order to customize the right-hand side of the dialog.
        Overrides:
        doCreatePreviewPane in class ModifyDialogTabPage
        Parameters:
        composite - Composite to create in
        numColumns - Number of columns to use
        Returns:
        Created composite
      • doCreateAtlPreview

        protected AtlPreview doCreateAtlPreview​(org.eclipse.swt.widgets.Composite parent)
        Description copied from class: ModifyDialogTabPage
        To be implemented by subclasses. This method should return an instance of JavaPreview. Currently, the choice is between CompilationUnitPreview which contains a valid compilation unit, or a SnippetPreview which formats several independent code snippets and displays them in the same window.
        Specified by:
        doCreateAtlPreview in class ModifyDialogTabPage
        Parameters:
        parent - Parent composite
        Returns:
        Created preview