Files
Brainstorm/Foundation Widget Test Application/src/test/local/view/controller/AbstractViewController.java
2014-05-30 10:31:51 -07:00

62 lines
2.3 KiB
Java

/*
* Copyright (c) 2006,2009 Declarative Engineering LLC.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Declarative Engineering LLC
* verson 1 which accompanies this distribution, and is available at
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
*/
package test.local.view.controller;
import test.application.TestViewApplication;
import com.foundation.application.IApplication;
import com.foundation.attribute.ReflectionContext;
import com.foundation.controller.ViewController;
import com.foundation.view.IViewContext;
public abstract class AbstractViewController extends ViewController {
/**
* AbstractViewController constructor.
* @param context The context underwhich the view is being created. This context manages the threading, resources, and request handling for the view as well as ties together related views.
*/
public AbstractViewController(IViewContext context) {
super(context);
}//AbstractViewController()//
/**
* AbstractViewController constructor.
* @param context The context underwhich the view is being created. This context manages the threading, resources, and request handling for the view as well as ties together related views.
* @param reflectionContext The reflection context to be used by the view.
*/
public AbstractViewController(IViewContext context, ReflectionContext reflectionContext) {
super(context, reflectionContext);
}//AbstractViewController()//
/**
* AbstractViewController constructor.
* @param context
* @param validateOnOpen
*/
public AbstractViewController(IViewContext context, boolean validateOnOpen) {
super(context, validateOnOpen);
}
/**
* AbstractViewController constructor.
* @param context
* @param reflectionContext
* @param validateOnOpen
*/
public AbstractViewController(IViewContext context, ReflectionContext reflectionContext, boolean validateOnOpen) {
super(context, reflectionContext, validateOnOpen);
}
/* (non-Javadoc)
* @see com.foundation.controller.AbstractViewController#validate()
*/
public boolean validate() {
return true;
}//validate()//
/* (non-Javadoc)
* @see com.foundation.common.IEntity#getApplication()
*/
public IApplication getApplication() {
return TestViewApplication.getSingleton();
}//getApplication()//
}//AbstractViewController//