timespanButton.setStyle(ToolButton.ToolButtonStyle.MENU);
timespanButton.getElement().setAttribute("style", "padding-right:0px;background-image:none;");
timespanButton.setVisible(false);
final PopupMenu timeBtnMenu = new PopupMenu();
for(final TimespanValues ts : TimespanValues.values())
{
timeBtnMenu.addItem(ts.getCanonicalName(), new Command()
{
public void execute()
{
LoadDatasetEvent theEvent = new LoadDatasetEvent();