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 LocalizationUtil |
localization
Localization utility.
|
protected ResultSetPresenter |
presenter
Parent view's presenter.
|
protected User |
user
Current user from session.
|
protected UserProfile |
userProfile
The profile of the current user.
|
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 UserProfile userProfile
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 © 2021 Hyland Software Germany GmbH. All rights reserved.