@Override protected void attachBackgroundListener(RComponent viewComponent, IValueConnector backgroundConnector) { if (viewComponent.getBackgroundState() == null) { // Not previously set by view creation if (backgroundConnector instanceof IRemoteStateOwner) { viewComponent.setBackgroundState(((IRemoteStateOwner) backgroundConnector).getState()); } } }