Interface ICleanUpConfigurationUI


public interface ICleanUpConfigurationUI
Provides the UI to configure a clean up.
Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.swt.widgets.Composite
    createContents(org.eclipse.swt.widgets.Composite parent)
    Creates the contents for this clean up configuration UI.
    int
    Returns the number of clean ups that can be configured.
    A code snippet which complies to the current settings.
    int
    Returns the number of selected clean ups.
    void
    The options to modify in this section.
  • Method Details

    • setOptions

      void setOptions(CleanUpOptions options)
      The options to modify in this section.

      Note: If an option gets changed in the UI then this must immediately update the corresponding option in the here given clean up options.

      Parameters:
      options - the options to modify
    • createContents

      org.eclipse.swt.widgets.Composite createContents(org.eclipse.swt.widgets.Composite parent)
      Creates the contents for this clean up configuration UI.
      Parameters:
      parent - the parent composite
      Returns:
      created content control
    • getCleanUpCount

      int getCleanUpCount()
      Returns the number of clean ups that can be configured.
      Returns:
      the number of clean ups that can be configured
    • getSelectedCleanUpCount

      int getSelectedCleanUpCount()
      Returns the number of selected clean ups.
      Returns:
      the number of selected clean ups at the moment
    • getPreview

      String getPreview()
      A code snippet which complies to the current settings.
      Returns:
      a code snippet