Class RenameAction.RenameFlapDockStation

All Implemented Interfaces:
SharingDropDownItemAction, SharingStandardDockAction, ButtonDockAction, DockAction, DropDownItemAction, StandardDockAction, StandardDropDownItemAction
Enclosing class:
RenameAction

@ClientOnly public static class RenameAction.RenameFlapDockStation extends RenameAction
An implementation of RenameAction that can handle FlapDockStations.
Author:
Benjamin Sigg
  • Constructor Details

    • RenameFlapDockStation

      public RenameFlapDockStation(DockController controller)
      Creates a new action
      Parameters:
      controller - the controller to which a listener will be added
  • Method Details

    • rename

      protected void rename(Dockable dock, String text)
      Description copied from class: RenameAction
      Invoked when the action was triggered, and the user tipped in the new title for dockable.
      Specified by:
      rename in class RenameAction
      Parameters:
      dock - The Dockable whose title should be changed
      text - The new title