public abstract class AbstractContextMenu extends Object
Modifier and Type | Field and Description |
---|---|
protected com.saperion.ngc.iform.xml.ResultType |
definition
Parent's type definition.
|
protected Map<org.zkoss.zul.Menuitem,org.zkoss.zk.ui.event.EventListener> |
eventListners
Keeps track of the event listeners which need to be removed before detach
|
protected LocalizationUtil |
localization
Localization utility.
|
protected ResultSetPresenter |
presenter
Parent view's presenter.
|
protected User |
user
Current user from session.
|
protected ResultSetViewImpl |
view
Parent view.
|
protected ContextMenuVisibility |
visibility
Helper class that manages visibility of context menu items.
|
Constructor and Description |
---|
AbstractContextMenu(ResultSetViewImpl view,
ResultSetPresenter presenter,
com.saperion.ngc.iform.xml.ResultType definition,
ContextMenuVisibility visibility) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCoreString(String key) |
abstract List<org.zkoss.zk.ui.Component> |
getMenuItems() |
protected String |
getString(String key) |
protected boolean |
isEfileQueryMask() |
protected boolean |
isIndexUser() |
protected boolean |
isLookupMode() |
protected final ResultSetViewImpl view
protected final ResultSetPresenter presenter
protected final LocalizationUtil localization
protected final com.saperion.ngc.iform.xml.ResultType definition
protected final User user
protected final ContextMenuVisibility visibility
protected final Map<org.zkoss.zul.Menuitem,org.zkoss.zk.ui.event.EventListener> eventListners
public AbstractContextMenu(ResultSetViewImpl view, ResultSetPresenter presenter, com.saperion.ngc.iform.xml.ResultType definition, ContextMenuVisibility visibility)
view
- associated result set view instancepresenter
- presenter of associated result set view instancedefinition
- result set type definitionvisibility
- visibility helperpublic abstract List<org.zkoss.zk.ui.Component> getMenuItems() throws NgcUiException, AuthenticationException
NgcUiException
- exception to be handled by viewAuthenticationException
- re-logon requiredprotected String getString(String key)
key
- key to localizeprotected String getCoreString(String key)
key
- key to localizeprotected boolean isLookupMode()
protected boolean isEfileQueryMask()
protected boolean isIndexUser()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.