public DefaultCFocusHistory( CControl control ){
this.control = control;
}
public CDockable[] getHistory(){
FocusHistory history = control.getController().getFocusHistory();
List<CDockable> result = new ArrayList<CDockable>();
Dockable[] dockables = history.getHistory();
for( int i = dockables.length-1; i >= 0; i-- ){
Dockable dockable = dockables[i];
if( dockable instanceof CommonDockable ){
CDockable cdockable = ((CommonDockable)dockable).getDockable();
result.add( cdockable );