Class AbstractActionPlugin

    • Constructor Detail

      • AbstractActionPlugin

        protected AbstractActionPlugin()
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean enabled)
      • getBaseResources

        public org.pentaho.reporting.libraries.base.util.ResourceBundleSupport getBaseResources()
      • getConfig

        public org.pentaho.reporting.libraries.base.config.ExtendedConfiguration getConfig()
      • isSeparated

        public boolean isSeparated()
        Returns true if the action is separated, and false otherwise. A separated action starts a new action group and will be sepearated from previous actions on the menu and toolbar.
        Specified by:
        isSeparated in interface ActionPlugin
        Returns:
        true, if the action should be separated from previous actions, false otherwise.
      • isAddToToolbar

        public boolean isAddToToolbar()
        Returns true if the action should be added to the toolbar, and false otherwise.
        Specified by:
        isAddToToolbar in interface ActionPlugin
        Returns:
        true, if the plugin should be added to the toolbar, false otherwise.
      • isAddToMenu

        public boolean isAddToMenu()
        Returns true if the action should be added to the menu, and false otherwise.
        Specified by:
        isAddToMenu in interface ActionPlugin
        Returns:
        A boolean.
      • createProgressDialog

        protected ReportProgressDialog createProgressDialog()
        Creates a progress dialog, and tries to assign a parent based on the given preview proxy.
        Returns:
        the progress dialog.
      • getIconTheme

        public IconTheme getIconTheme()
      • getConfigurationPrefix

        protected abstract String getConfigurationPrefix()
      • getMenuOrder

        public int getMenuOrder()
        A sort key used to enforce a certain order within the actions.
        Specified by:
        getMenuOrder in interface ActionPlugin
        Returns: