Dart Documentationdock_spawnDocumentManagerContainer

DocumentManagerContainer Class

The document manager is then central area of the dock layout hierarchy. This is where more important panels are placed (e.g. the text editor in an IDE, 3D view in a modelling package etc

Extends

FillDockContainer > DocumentManagerContainer

Constructors

Code new DocumentManagerContainer(DockManager dockManager) #

DocumentManagerContainer(DockManager dockManager)
    : super(tabStripDirection: TabHost.DIRECTION_TOP)
{
  element.classes.add("document-manager");
  tabHost.createTabPage = _createDocumentTabPage;
  tabHost.displayCloseButton = true;
}

Methods

Code int get minimumAllowedChildNodes() #

int get minimumAllowedChildNodes() { return 0; }

Code void saveState(Map<String, Object> state) #

void saveState(Map<String, Object> state) {
  super.saveState(state);
  state['documentManager'] = true;
}