Class ListingMergePanelProvider

All Implemented Interfaces:
ActionContextProvider, PopupActionProvider, HelpDescriptor

public class ListingMergePanelProvider extends ComponentProviderAdapter implements PopupActionProvider
  • Constructor Details

  • Method Details

    • getComponent

      public JComponent getComponent()
      Description copied from class: ComponentProvider
      Returns the component to be displayed
      Specified by:
      getComponent in class ComponentProvider
      Returns:
      the component to be displayed
    • getActionContext

      public ActionContext getActionContext(MouseEvent event)
      Description copied from class: ComponentProvider
      Returns the context object which corresponds to the area of focus within this provider's component. Null is returned when there is no context.

      Subclasses should override this method to provider more specific context objects or information.

      Specified by:
      getActionContext in interface ActionContextProvider
      Overrides:
      getActionContext in class ComponentProvider
      Parameters:
      event - popup event which corresponds to this request. Will be null for key-stroke or other non-mouse uses.
    • getPopupActions

      public List<DockingActionIf> getPopupActions(Tool dt, ActionContext context)
      Description copied from interface: PopupActionProvider
      Provides notification that the popup menu is about to be displayed and allows a set of temporary actions to be included in the popup menu. Actions returned will be included in the menu if they have a valid popup menu path and respond true to the DockingActionIf.isValidContext(ActionContext) call.
      Specified by:
      getPopupActions in interface PopupActionProvider
      Parameters:
      dt - the tool requesting the actions
      context - the ActionContext
      Returns:
      list of temporary popup actions; return null if there are no popup actions