public void handleDashboardWidgetDrop(DashboardWidget dashboardWidget) throws DropVetoException {
if (placeHolderIndex < 0) {
throw new DropVetoException();
}
SimplePanel placeHolder = (SimplePanel) main.getWidget(placeHolderIndex);
placeHolder.removeFromParent();
placeHolder = new SimplePanel();
main.insert(placeHolder, placeHolderIndex);
placeHolder.setWidget(dashboardWidget);
dashboardWidget.setWidth("100%");
placeHolder.setWidth("100%");
placeHolderIndex = -1;
}