| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| */ |
| |
| package org.apache.openaz.xacml.admin.components; |
| |
| import com.vaadin.annotations.AutoGenerated; |
| import com.vaadin.annotations.Theme; |
| import com.vaadin.server.VaadinRequest; |
| import com.vaadin.ui.AbsoluteLayout; |
| import com.vaadin.ui.CustomComponent; |
| import com.vaadin.ui.UI; |
| |
| public class Simulator extends CustomComponent { |
| |
| @AutoGenerated |
| private AbsoluteLayout mainLayout; |
| |
| private static final long serialVersionUID = 1L; |
| |
| @Theme("xacml_pap_admin") |
| public static class SimulatorUI extends UI { |
| private static final long serialVersionUID = 1L; |
| |
| @Override |
| protected void init(VaadinRequest request) { |
| // TODO Auto-generated method stub |
| |
| } |
| |
| } |
| |
| /** |
| * The constructor should first build the main layout, set the |
| * composition root and then do any custom initialization. |
| * |
| * The constructor will not be automatically regenerated by the |
| * visual editor. |
| */ |
| public Simulator() { |
| buildMainLayout(); |
| setCompositionRoot(mainLayout); |
| |
| // TODO add user code here |
| } |
| |
| @AutoGenerated |
| private void buildMainLayout() { |
| // the main layout and components will be created here |
| mainLayout = new AbsoluteLayout(); |
| } |
| |
| } |