MarketPlaceScenehandler handler = (MarketPlaceScenehandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayConsumtionProductionDialog(city, this);
break;
}
case TO_BALANCE:{
PortSceneHandler handler = (PortSceneHandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayTradingOfficeBalanceDialog(city, this);
break;
}
case TO_CONSUMPTION_PRODUCTION:{
PortSceneHandler handler = (PortSceneHandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayConsumtionProductionDialog(city, this);
break;
}
case TO_OFFICE_TRADING:
logger.debug("Should desplay dialog");
break;
case TO_PERSONAL:{
PortSceneHandler handler = (PortSceneHandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayTradingOfficePersonaldialog(city, this);
logger.debug("Should desplay dialog");
break;
}
case TO_WAREHOUSES:{
PortSceneHandler handler = (PortSceneHandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayWareStorageDialog(city, this);
break;
}
case TO_WEAPONS:{
PortSceneHandler handler = (PortSceneHandler) SceneHandlerFactory.getSceneLoader(viewState, getBounds(), xmlLoader, resolver);
handler.displayWeaponStorageDialog(city, this);
break;
}
default:
throw new IllegalArgumentException("Not implemented notice item "+noticeItem);
}