/*******************************************************************************
* Copyright (c) 2014 antoniomariasanchez at gmail.com.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* antoniomaria - initial API and implementation
******************************************************************************/
package net.sf.gazpachoquest.questionnaires.views;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
import com.vaadin.ui.Label;
import com.vaadin.ui.VerticalLayout;
public class ErrorView extends VerticalLayout implements View {
public ErrorView() {
setMargin(true);
setSpacing(true);
setSizeFull();
addComponent(new Label("Error loading view, you may not have proper access rights"));
}
@Override
public void enter(ViewChangeEvent event) {
// TODO Auto-generated method stub
}
}