TilesContainer container = TilesAccess.getContainer(context);
if (container instanceof BasicTilesContainer) {
BasicTilesContainer basic = (BasicTilesContainer) container;
DefinitionsFactory factory = basic.getDefinitionsFactory();
if (factory instanceof Refreshable) {
Refreshable rFactory = (Refreshable) factory;
if (rFactory.refreshRequired()) {
rFactory.refresh();
}
}
}
}