Interface ExclusiveUIExtension

All Superinterfaces:
IExtension

public interface ExclusiveUIExtension extends IExtension
Extensions implementing this interface are able to take control over the user interface, by deciding which of the other extensions will be enabled/disabled or visible/hidden. Besides implementing this interface, the extension needs to be set as ExclusiveUIExtension during Andami startup process. This is performed by providing a command line argument to Andami:
ExclusiveUIExtension=ExtensionName
Author:
Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
  • Method Details

    • isEnabled

      boolean isEnabled(IExtension extension)
      This method is used when this extension is installed as ExclusiveUIExtension. This extension will be asked for each installed extension to determine which of them should be enabled.
      Returns:
      true if the provided extension should be enabled, false if it should be disabled.
    • isVisible

      boolean isVisible(IExtension extension)
      This method is used when this extension is installed as ExclusiveUIExtension. This extension will be asked for each installed extension to determine which of them should be visible.
      Returns:
      true if the provided extension should be visible, false if it should be hidden.