PerspectiveManager.clear(port);
int len = sequence.size();
Dockable[] dockables = new Dockable[len];
for(int i=0; i<len; i++) {
DockingState info = (DockingState)sequence.get(i);
Dockable dockable = info.getDockable();
dockables[i] = dockable;
String region = info.getRegion();
if(i==0) {
DockingManager.dock(info.getDockable(), port, info.getRegion());
continue;
}
Dockable parent = info.getRelativeParent();
float ratio = info.getSplitRatio();
DockingUtility.dockRelative(dockable, parent, region, ratio);
}
PerspectiveManager.setDockingStateListening(listen);