Interface IPluginGenericCustomGUIBean

    • Method Detail

      • destroy

        default void destroy()
        A callback method that is called when this bean is not needed anymore. When exactly this and whether this is called may depend on the type of plugin. Usually, this should be called when the bean is about to be destroyed. This can be used to perform any required cleanup.
      • getFileHelper

        IPluginFileHelper getFileHelper()
        Lets you access the file helper of the plugin that provided this UI.
        Returns:
        IPluginFileHelper The helper class for working with the plugin files
      • getProperties

        Properties getProperties()
        Lets you access the properties of the plugin that provided this UI.
        Returns:
        Properties The properties of the plugin.
      • getResourceHelper

        IPluginResourceHelper getResourceHelper()
        Lets you access the resource helper of the plugin that provided this UI.
        Returns:
        IPluginResourceHelper The helper class for working with resources
      • initialize

        default void initialize​(IPluginInitializeBeanData initializeBeanData)
                         throws FCPluginException
        A callback method that is invoked after all beans required by the IPluginGenericCustomGUI plugin were created. You can use this method to get access to the plugin configuration data. If you need to perform any initialization logic, do it in this method.
        Parameters:
        initializeBeanData - The IPluginInitializeBeanData you can make use of in the initialization process.
        Throws:
        FCPluginException - When the bean could not be initialized. If you do throw the exception, an error will be shown to the user. Depending on the type of custom UI, the user may instead see an error page, a default page or be redirected to another page.