rollOverTools.setHeight(LAYERTREEBUTTON_SIZE);
emptyRollOver = new HLayout();
emptyRollOver.setWidth(1);
emptyRollOver.setHeight(LAYERTREEBUTTON_SIZE);
ClientLayerTreeInfo layerTreeInfo = mapModel.getMapInfo().getLayerTree();
if (layerTreeInfo != null) {
for (ClientToolInfo tool : layerTreeInfo.getTools()) {
String id = tool.getId();
IButton button = null;
ToolbarBaseAction action = LayerTreeRegistry.getToolbarAction(id, mapWidget);
if (action instanceof LayerTreeAction) {
button = new LayerTreeButton(LayerTreeWithLegend.this, (LayerTreeAction) action);