public class ContextMenuItemFactory extends Object
Constructor and Description |
---|
ContextMenuItemFactory(ResultSetViewImpl parentView,
ResultSetPresenter parentPresenter,
com.saperion.ngc.iform.xml.ResultType def,
ResultSetViewImpl.ViewMode viewMode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<org.zkoss.zk.ui.Component> |
createEmptyListItems()
Creates the menu for empty lists.
|
List<org.zkoss.zk.ui.Component> |
createEmptyMenu() |
List<org.zkoss.zk.ui.Component> |
createItems()
Creates all menu items that can be used with the currently selected items.
|
public ContextMenuItemFactory(ResultSetViewImpl parentView, ResultSetPresenter parentPresenter, com.saperion.ngc.iform.xml.ResultType def, ResultSetViewImpl.ViewMode viewMode)
parentPresenter
- presenter of viewparentView
- parent view of the context menudef
- Result typeviewMode
- View modepublic List<org.zkoss.zk.ui.Component> createItems() throws NgcUiException, AuthenticationException
AuthenticationException
- re-logon requiredNgcUiException
- exception to be handled by viewpublic List<org.zkoss.zk.ui.Component> createEmptyListItems() throws NgcUiException, AuthenticationException
AuthenticationException
- re-logon requiredNgcUiException
- exception to be handled by viewpublic List<org.zkoss.zk.ui.Component> createEmptyMenu()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.