1 /* 2 * Copyright 2010 James Pether Sörling 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 * $Id: ProjectInfoPage.java 5436 2011-04-26 18:25:22Z pether $ 17 * $HeadURL: https://cia.svn.sourceforge.net/svnroot/cia/trunk/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/page/user/ProjectInfoPage.java $ 18 */ 19 package com.hack23.cia.web.impl.ui.page.user; 20 21 import org.vaadin.navigator7.Page; 22 23 import com.hack23.cia.web.impl.ui.common.ApplicationProperties; 24 import com.hack23.cia.web.impl.ui.page.common.EmbeddedWebBrowser; 25 26 /** 27 * The Class ProjectInfoPage. 28 */ 29 @Page(uriName = "projectinfo",crawlable=true) 30 @SuppressWarnings("serial") 31 public final class ProjectInfoPage extends AbstractUserPage { 32 33 /** The content. */ 34 private final EmbeddedWebBrowser content = new EmbeddedWebBrowser(ApplicationProperties.getName() + " : version " + ApplicationProperties.getVersion(),ApplicationProperties.getUrl()); 35 36 /** 37 * Instantiates a new project info page. 38 */ 39 public ProjectInfoPage() { 40 super(); 41 content.setSizeFull(); 42 content.setMargin(false); 43 content.setSpacing(true); 44 setCompositionRoot(content); 45 setHeight(getScreenHeight()); 46 47 48 } 49 50 /* (non-Javadoc) 51 * @see com.hack23.cia.web.impl.ui.page.common.AbstractPage#getPageTitle() 52 */ 53 @Override 54 public String getPageTitle() { 55 return ""; 56 } 57 58 }