Class ExtensionsOverviewPanel

java.lang.Object
ca.corbett.extras.demo.panels.PanelBuilder
ca.corbett.extensions.demo.ExtensionsOverviewPanel

public class ExtensionsOverviewPanel extends PanelBuilder
A demo panel to show off ONLY SOME of what ExtensionManager can do. This is a very difficult feature to demo! ExtensionManager, by design, is extremely customizable. Through extensions, you can add almost any additional functionality to an existing application without changing the application code itself!

This demo panel focuses mostly on the ExtensionManagerDialog, which gives your application a free UI to show your extensions to the user, and to allow them to be toggled on or off. For the purpose of this demo, we create and present three "fake" built-in extensions that don't actually do anything. They only exist so that you can get a feel for what the ExtensionManagerDialog might look like in your application.

One extremely cool feature of the ExtensionManagerDialog that is not shown here is the ability to discover and download new extensions from remote web hosts, and the ability to upgrade existing extensions when new versions are made available. For a complete working example of applications that make good use of this feature, I invite you to take a look at these projects:

Author:
scorbo2
  • Constructor Details

    • ExtensionsOverviewPanel

      public ExtensionsOverviewPanel()
  • Method Details

    • getTitle

      public String getTitle()
      Description copied from class: PanelBuilder
      Returns a name for this PanelBuilder.
      Specified by:
      getTitle in class PanelBuilder
      Returns:
      A hopefully descriptive name.
    • build

      public JPanel build()
      Description copied from class: PanelBuilder
      Builds and returns the FormPanel (or technically any JPanel) for this builder.
      Specified by:
      build in class PanelBuilder
      Returns:
      A populated JPanel (or FormPanel).