@Override
public RenderSpace getAllocatedSpace(Widget child) {
if (widgetInHierarchyColumn == child) {
final int hierarchyAndIconWidth = getHierarchyAndIconWidth();
final RenderSpace allocatedSpace = super
.getAllocatedSpace(child);
return new RenderSpace() {
@Override
public int getWidth() {
return allocatedSpace.getWidth()
- hierarchyAndIconWidth;
}
@Override
public int getHeight() {
return allocatedSpace.getHeight();
}
};
}
return super.getAllocatedSpace(child);