public void showToolbar(Widget widget) {
popUpAssociateWidget = widget;
moveImage.setVisible(((IVkWidget)popUpAssociateWidget).isMovable() && ((IVkWidget)popUpAssociateWidget).isMovable() && popUpAssociateWidget.getParent() instanceof AbsolutePanel);
resizeImage.setVisible(((IVkWidget)popUpAssociateWidget).isResizable());
HorizontalPanel toolBarHp = (HorizontalPanel) toolBarPanel.getWidget();
toolBarHp.clear();
toolBarHp.add(moveImage);
List<? extends Widget> toolbarWidgets = ((IVkWidget)widget).getToolbarWidgets();
if(toolbarWidgets != null)
for(int i = 0, len = toolbarWidgets.size(); i < len; i++)
toolBarHp.add(toolbarWidgets.get(i));