return getCLocation( property );
}
private CLocation getCLocation( DockableProperty property ){
CLocation stationLocation = station.getStationLocation();
CMaximizedLocation result = new CMaximizedLocation( stationLocation.findRoot() );
if( property != null ){
property = property.getSuccessor();
}
if( property != null ){
return result.expandProperty( station.getStation().getController(), property );
}
else{
return result;
}
}