Interface DecisionTableColumnPlugin

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  DecisionTableColumnPlugin.Type
      Plugin type for the column wizard.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Boolean generateColumn()
      Creates the column when the Wizard completes.
      String getIdentifier()
      Retrieves the plugin unique identifier.
      org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 getOriginalColumnConfig52()
      Retrieves the original pattern without any update.
      org.drools.workbench.models.guided.dtable.shared.model.Pattern52 getOriginalPattern52()
      Retrieves the original column without any update.
      List<org.uberfire.ext.widgets.core.client.wizards.WizardPage> getPages()
      Retrieves the list of subsequent pages required for the "Type" selected in the first page of the Wizard.
      String getTitle()
      Retrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.
      DecisionTableColumnPlugin.Type getType()
      Retrieves the plugin type.
      void init​(NewGuidedDecisionTableColumnWizard wizard)
      Sets the plugin up with the wizard instance.
      Boolean isNewColumn()
      Represents the current plugin operation.
      void setOriginalColumnConfig52​(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 originalColumnConfig52)
      Sets the original pattern (required when the plugin is updating a column).
      void setOriginalPattern52​(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 originalPattern52)
      Sets the original column (required when the plugin is updating a column).
    • Method Detail

      • init

        void init​(NewGuidedDecisionTableColumnWizard wizard)
        Sets the plugin up with the wizard instance.
        Parameters:
        wizard - Has the presenter which represents the active decision table. Must not be null.
      • getTitle

        String getTitle()
        Retrieves the text that will be shown to Users in the "Type Selection List" on the first page of the Wizard.
      • getPages

        List<org.uberfire.ext.widgets.core.client.wizards.WizardPage> getPages()
        Retrieves the list of subsequent pages required for the "Type" selected in the first page of the Wizard.
      • generateColumn

        Boolean generateColumn()
        Creates the column when the Wizard completes.
        Returns:
        'true' when the Wizard was successful, otherwise 'false'.
      • getIdentifier

        String getIdentifier()
        Retrieves the plugin unique identifier.
        Returns:
        A String representing the identifier (usually something as 'class.getSimpleName()').
      • isNewColumn

        Boolean isNewColumn()
        Represents the current plugin operation.
        Returns:
        `true` when the plugin is creating a new column, and `false` when the plugin is updating an existing column.
      • getOriginalPattern52

        org.drools.workbench.models.guided.dtable.shared.model.Pattern52 getOriginalPattern52()
        Retrieves the original column without any update.
      • setOriginalPattern52

        void setOriginalPattern52​(org.drools.workbench.models.guided.dtable.shared.model.Pattern52 originalPattern52)
        Sets the original column (required when the plugin is updating a column).
      • getOriginalColumnConfig52

        org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 getOriginalColumnConfig52()
        Retrieves the original pattern without any update.
      • setOriginalColumnConfig52

        void setOriginalColumnConfig52​(org.drools.workbench.models.guided.dtable.shared.model.DTColumnConfig52 originalColumnConfig52)
        Sets the original pattern (required when the plugin is updating a column).