table.getFlexCellFormatter().setHorizontalAlignment(0, 1, HasHorizontalAlignment.ALIGN_RIGHT);
table.getFlexCellFormatter().setStylePrimaryName(0, 0, "lab-Header-Links");
table.getFlexCellFormatter().setStylePrimaryName(0, 1, "lab-Header-Links");
/* Upper Header Panel */
leftLinks = new HorizontalPanel();
Anchor projectLink = new Anchor("Project", "http://code.google.com/p/latex-lab", "_blank");
Anchor wikiLink = new Anchor("Wiki", "http://code.google.com/p/latex-lab/w/list", "_blank");
Anchor issuesLink = new Anchor("Issues", "http://code.google.com/p/latex-lab/issues/list", "_blank");
Anchor devLink = new Anchor("Development Version", "http://dev.latexlab.org/docs", "_blank");
Anchor texLink = new Anchor("TeXnicCenter", "http://www.texniccenter.org/", "_blank");
leftLinks.add(projectLink);
leftLinks.add(wikiLink);
leftLinks.add(issuesLink);
leftLinks.add(devLink);
leftLinks.add(texLink);
rightLinks = new HorizontalPanel();
author = new Label();
Anchor docsLink = new Anchor("Docs Home", "http://docs.google.com/", "_blank");
Anchor helpLink = new Anchor("Help", "http://code.google.com/p/latex-lab/wiki/UsingLaTeXLab", "_blank");
Anchor acLink = new Anchor("Access Control", "https://www.google.com/accounts/IssuedAuthSubTokens", "_blank");
signoutLink = new Anchor("Sign Out");
signoutLink.addClickHandler(new ClickHandler(){
public void onClick(ClickEvent event) {
CommandEvent.fire(new SystemSignOutCommand());
}
});