@@ -0,0 +1,1294 @@
+package edu.colorado.csdms.wmt.client.ui.widgets;%0A%0Aimport com.google.gwt.user.client.ui.Grid;%0Aimport com.google.gwt.user.client.ui.HasHorizontalAlignment;%0Aimport com.google.gwt.user.client.ui.HorizontalPanel;%0A%0A/**%0A * Displays the owner and creation date of a model.%0A * %0A * @author Mark Piper (mark.piper@colorado.edu)%0A */%0Apublic class MetadataPanel extends HorizontalPanel %7B%0A%0A  private Grid grid;%0A  private String owner = %22%22;%0A  private String date = %22%22;%0A  %0A  public MetadataPanel() %7B%0A%0A    this.setWidth(%22100%25%22);%0A    this.setSpacing(5); // px%0A    this.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);%0A    %0A    grid = new Grid(2, 2);%0A    grid.setHTML(0, 0, %22owner:%22);%0A    grid.setHTML(1, 0, %22creation date:%22);%0A    grid.setHTML(0, 1, owner);%0A    grid.setHTML(1, 1, date);%0A    grid.getCellFormatter().setHorizontalAlignment(0, 0,%0A        HasHorizontalAlignment.ALIGN_RIGHT);%0A    grid.getCellFormatter().setHorizontalAlignment(1, 0,%0A        HasHorizontalAlignment.ALIGN_RIGHT);%0A    %0A    this.add(grid);%0A  %7D%0A%0A  public String getOwner() %7B%0A    return grid.getText(0, 1);%0A  %7D%0A%0A  public void setOwner(String owner) %7B%0A    grid.setHTML(0, 1, owner);%0A  %7D%0A  %0A  public String getDate() %7B%0A    return grid.getText(1, 1);%0A  %7D%0A%0A  public void setDate(String date) %7B%0A    grid.setHTML(1, 1, date);%0A  %7D%0A%7D%0A

Add MetadataPanel