Class SingleCDockableListMenuPiece


public class SingleCDockableListMenuPiece extends CloseableDockableMenuPiece
A piece of a menu that adds an item for each closeable CDockable that can be found in a CControl. The user can show or hide CDockables by clicking onto these items.
Please note: this menu shows only CDockables that really do exist, if a dockable is loaded lazy, then this menu does not show the element!
Author:
Benjamin Sigg
  • Constructor Details

    • SingleCDockableListMenuPiece

      public SingleCDockableListMenuPiece(CControl control)
      Creates a new piece.
      Parameters:
      control - the control to observe for new Dockables, can be null.
  • Method Details