@Override public void bind(Dockable dockable) { bound++; if (bound == 1) { this.dockable.addDockHierarchyListener(hierarchy); parent = this.dockable.getDockParent(); if (parent != null) { parent.addDockStationListener(adapter); } checkState(); } super.bind(dockable); }