org.activemath.webapp.clip
Class ClipController

java.lang.Object
  extended by org.infohazard.maverick.ctl.Throwaway2
      extended by org.infohazard.maverick.ctl.ThrowawayBean2
          extended by org.activemath.webapp.base.ControllerBase
              extended by org.activemath.webapp.clip.ClipController
All Implemented Interfaces:
Controller

public class ClipController
extends ControllerBase

Controller class to deliver extracts as part of a data-transfer operation such as copy and paste or drag-and-drop. These extracts are called clips.

The controller calls the Rephraser in order to actually perform the negotiation.


Field Summary
static String CVS_ID
           
protected static boolean DEBUG
           
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
ClipController()
           
 
Method Summary
protected  String action()
          Returns the clipping in most cases.
 void setCoordinate(String coordinate)
           
 void setDragging(String dragging)
           
 
Methods inherited from class org.activemath.webapp.base.ControllerBase
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser
 
Methods inherited from class org.infohazard.maverick.ctl.ThrowawayBean2
go
 
Methods inherited from class org.infohazard.maverick.ctl.Throwaway2
getCtx, go
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_ID

public static final String CVS_ID
See Also:
Constant Field Values

log

protected static org.apache.commons.logging.Log log

DEBUG

protected static final boolean DEBUG
Constructor Detail

ClipController

public ClipController()
Method Detail

setCoordinate

public void setCoordinate(String coordinate)

setDragging

public void setDragging(String dragging)

action

protected String action()
                 throws ServletException
Returns the clipping in most cases.

Overrides:
action in class ControllerBase
Throws:
ServletException