Class RenameAction.RenameDefaultDockable

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

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

    • RenameDefaultDockable

      public RenameDefaultDockable(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