ilog.views.diagrammer.faces.dhtml.servlet
Class IlvFacesDiagrammerPopupSupport

java.lang.Object
  extended by ilog.views.util.servlet.IlvPopupMenuServletSupport
      extended by ilog.views.servlet.IlvManagerPopupServletSupport
          extended by ilog.views.faces.dhtml.servlet.IlvFacesManagerPopupSupport
              extended by ilog.views.diagrammer.faces.dhtml.servlet.IlvFacesDiagrammerPopupSupport

public class IlvFacesDiagrammerPopupSupport
extends IlvFacesManagerPopupSupport

IlvFacesDiagrammerPopupSupport defines the pop-up menu support for a diagrammer view.

Since:
JViews 7.5

Field Summary
 
Fields inherited from class ilog.views.util.servlet.IlvPopupMenuServletSupport
MENU_SESSION_KEY, REQUEST_TYPE, SERVLET_ACTION_NAME
 
Constructor Summary
IlvFacesDiagrammerPopupSupport(IlvManagerServletSupport support)
          Creates an IlvFacesDiagrammerPopupSupport instance.
 
Method Summary
protected  ServerActionListener createListener()
          Returns a new instance of IlvFacesPopupMenuActionListener which can handle popup menu actions.
protected  IlvPopupMenuEncoder getMenuEncoder(javax.servlet.http.HttpServletRequest request)
          Returns the menu encoder that will translate the menu model into compatible code for the client.
protected  Object invokeFinder(IlvObjectSelectedFinder baseFinder, IlvManagerView view, String[] params)
          Invokes the specified finder with the parameters extracted from the action.
 
Methods inherited from class ilog.views.faces.dhtml.servlet.IlvFacesManagerPopupSupport
getPopupMenuFromSession, getSelectedObject, savePopupMenuModelInSession
 
Methods inherited from class ilog.views.servlet.IlvManagerPopupServletSupport
getGraphicComponent, getMenuModelId, getSupport, installListeners, prepareComponent, removeListeners
 
Methods inherited from class ilog.views.util.servlet.IlvPopupMenuServletSupport
createMenu, createMenu, getMenuFactory, getServletContext, handleRequest, setMenuFactory, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvFacesDiagrammerPopupSupport

public IlvFacesDiagrammerPopupSupport(IlvManagerServletSupport support)
Creates an IlvFacesDiagrammerPopupSupport instance.

Parameters:
support - The servlet support.
Method Detail

invokeFinder

protected Object invokeFinder(IlvObjectSelectedFinder baseFinder,
                              IlvManagerView view,
                              String[] params)
Invokes the specified finder with the parameters extracted from the action.

Overrides:
invokeFinder in class IlvFacesManagerPopupSupport
Parameters:
baseFinder - The finder to invoke.
view - The view component.
params - The action parameters.
Returns:
The object found by the finder.

getMenuEncoder

protected IlvPopupMenuEncoder getMenuEncoder(javax.servlet.http.HttpServletRequest request)
                                      throws javax.servlet.ServletException
Returns the menu encoder that will translate the menu model into compatible code for the client.

Overrides:
getMenuEncoder in class IlvFacesManagerPopupSupport
Parameters:
request - The HTTP request.
Returns:
The menu encoder instance.
Throws:
javax.servlet.ServletException

createListener

protected ServerActionListener createListener()
Returns a new instance of IlvFacesPopupMenuActionListener which can handle popup menu actions.

Overrides:
createListener in class IlvFacesManagerPopupSupport


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.