package ru.jnano.swing.viewframework;
import org.viewaframework.annotation.View;
import org.viewaframework.annotation.Views;
import org.viewaframework.core.DefaultApplication;
import org.viewaframework.core.DefaultApplicationLauncher;
import org.viewaframework.view.perspective.PerspectiveConstraint;
@Views({
@View(type=SimpleApplicationRootView.class,isRoot=true),
@View(type=NavigationView.class,position=PerspectiveConstraint.LEFT)
})
public class SimpleApplicationDemo extends DefaultApplication{
public static void main(String[] args) throws Exception {
new DefaultApplicationLauncher().execute(SimpleApplicationDemo.class);
}
}