if( property instanceof ScreenDockProperty ){
ScreenDockProperty screen = (ScreenDockProperty)property;
CLocation result;
if( screen.isFullscreen() ){
result = new CMaximalExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
}
else{
result = new CExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
}