Class WorkspacePanelResources

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, IReloadableFilterable

public class WorkspacePanelResources extends AbstractWorkspacePanel
See Also:
  • Constructor Details

    • WorkspacePanelResources

      public WorkspacePanelResources(WorkspacePanel workspacePanel)
  • Method Details

    • addResourcesTab

      public void addResourcesTab(String key, String title, JPanel component)
      Adds a new resource section to this panel.
      Parameters:
      title - The name of the section shown in the workspace.
      component - The panel representing contents of the resources tab being added.
    • getResourcePanel

      public JPanel getResourcePanel(String key)
      Gets the resource panel by its key.
      Parameters:
      key - The key of the resource panel.
      Returns:
      The resource panel.
    • isSupportedInWorkspace

      public boolean isSupportedInWorkspace()
      Description copied from class: AbstractWorkspacePanel
      Determines whether the section will be registered but not shown in the workspace when registered.
      Overrides:
      isSupportedInWorkspace in class AbstractWorkspacePanel
      Returns:
      Whether the section will be registered but not shown in the workspace when registered.
    • reloadElements

      public void reloadElements()
    • refilterElements

      public void refilterElements()