return dockFullPath(dockable, rootPort, region);
}
DockingPort port = rootPort;
for(Iterator it=nodes.iterator(); it.hasNext();) {
SplitNode node = (SplitNode)it.next();
Component comp = port.getDockedComponent();
region = getRegion(node, comp);
JSplitPane splitPane = comp instanceof JSplitPane? (JSplitPane)comp: null;
// path was broken. we have no SplitPane, or the SplitPane doesn't
// match the orientation of the current node, meaning the path was
// altered at this point.
if(splitPane==null || splitPane.getOrientation()!=node.getOrientation()) {
return dockBrokenPath(dockable, port, region, node);
}
// assume there is a transient sub-dockingPort in the split pane
comp = node.getRegion()==LEFT || node.getRegion()==TOP? splitPane.getLeftComponent(): splitPane.getRightComponent();
port = (DockingPort)comp;
// move on to the next node
}