Class InstalledExtensionsPanel<T extends AppExtension>

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class InstalledExtensionsPanel<T extends AppExtension> extends JPanel
This panel shows a list of all installed extensions, and allows the user to enable/disable them, or uninstall them if desired.
Since:
2023-11-11
Author:
scorbo2
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • isRestartRequired

      public boolean isRestartRequired()
      Indicates whether any change made on this panel requires an application restart. (Extension uninstalled perhaps).
    • isExtensionEnabled

      public boolean isExtensionEnabled(String className)
      Reports whether an extension has been enabled or disabled by the user on this panel.
      Parameters:
      className - The fully qualified class name of the extension to query.
      Returns:
      True if that extension is enabled on this panel, false otherwise or if not found.
    • setAllEnabled

      protected void setAllEnabled(boolean enabled)
      Sets all extensions to the given enabled status.
    • listSelectionChanged

      protected void listSelectionChanged()
    • rejigger

      protected void rejigger(JComponent component)
      Swing nonsense - when stuff is added or removed from a container, you have to do some silliness to get the change to become visible.
      Parameters:
      component - The thing to rejigger.
    • initComponents

      protected void initComponents()
    • getMessageUtil

      protected MessageUtil getMessageUtil()