1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
import leon.app.*;
import leon.control.*;
import leon.data.*;
import leon.info.*;
import leon.view.*;
/**
* Interface for action processing.
*
* @author Lyria S.A.
* @version $Id: LyProcessActionInterface.java,v 6.3 2007/02/07 15:51:37 jls Exp $
* @see leon.app.LySession
* @see leon.app.behavior.LySessionBehavior
*/
public class ActionshowlocActionProcessor
implements LyProcessActionInterface
{
/**
* Default Constructor
*/
public ActionshowlocActionProcessor()
{
}
/**
* Process an action.
*
* @param session Session in which the action is executed.
* @param parent The source controller.
* @param action The action to execute.
* @param classInfo The class on which the action applies.
* @param objects The list of objects on which the action applies.
* @return The controller result of this action if exists, null otherwise.
* @see leon.app.behavior.LySessionBehavior#invokeAction(LySession, LyController, LyAction,
* LyClassInfo, LyObjectList, boolean)
* @see leon.app.LyProcessActionInterface#processAction
*/
public LyController processAction(LySession session, LyController parent, LyAction action,
LyClassInfo classInfo, LyObjectList objects)
{
LyViewManager viewManager = session.getViewManager();
viewManager.showLocation(null, "/mon_appli/html/myFile.jsp", true);
return null;
}
} |
Partager