public class IlvFacesDiagrammerPopupSupport extends IlvFacesManagerPopupSupport
IlvFacesDiagrammerPopupSupport
defines the pop-up menu support
for a diagrammer view.MENU_SESSION_KEY, REQUEST_TYPE, SERVLET_ACTION_NAME
Constructor and Description |
---|
IlvFacesDiagrammerPopupSupport(IlvManagerServletSupport support)
Creates an
IlvFacesDiagrammerPopupSupport instance. |
Modifier and Type | Method and Description |
---|---|
protected ServerActionListener |
createListener()
Returns a new instance of
IlvFacesPopupMenuActionListener which can handle pop-up 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.
|
getPopupMenuFromSession, getSelectedObject, savePopupMenuModelInSession
getGraphicComponent, getMenuModelId, getSupport, installListeners, prepareComponent, removeListeners
createMenu, createMenu, getMenuFactory, getServletContext, handleRequest, setMenuFactory, setServletContext
public IlvFacesDiagrammerPopupSupport(IlvManagerServletSupport support)
IlvFacesDiagrammerPopupSupport
instance.support
- The servlet support.protected Object invokeFinder(IlvObjectSelectedFinder baseFinder, IlvManagerView view, String[] params)
invokeFinder
in class IlvFacesManagerPopupSupport
baseFinder
- The finder to invoke.view
- The view component.params
- The action parameters.protected IlvPopupMenuEncoder getMenuEncoder(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
getMenuEncoder
in class IlvFacesManagerPopupSupport
request
- The HTTP request.javax.servlet.ServletException
protected ServerActionListener createListener()
IlvFacesPopupMenuActionListener
which can handle pop-up menu actions.createListener
in class IlvFacesManagerPopupSupport
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.