public final class UIMenuCommand extends Object implements IUIMenuCommand, IRenderDataAcceptor
ERR_MESSAGE_MISSING_CONFIG_ENTRY, ERR_MESSAGE_WRONG_METHOD_CALL, KEY_INPUT_CONTROL_TEXT, KEY_INPUT_CONTROL_TEXT_2, KEY_INPUT_CONTROL_TEXT_2_DEFAULT_TEXT, KEY_INPUT_CONTROL_TEXT_3, KEY_INPUT_CONTROL_TEXT_DEFAULT_TEXT, KEY_LABEL, KEY_MASS_EMBEDDED_COMMAND_TEXT, KEY_MASS_EMBEDDED_COMMANT_TOOLTIP, KEY_SINGLE_EMBEDDED_COMMAND_TEXT, KEY_SINGLE_EMBEDDED_COMMAND_TOOLTIP, KEY_TOOLTIP, LINE_BREAK, TEXT_KEYS, VALUE_EMPTY_STRING| Constructor and Description |
|---|
UIMenuCommand(IUIBaseCommand command)
Deprecated.
As of NetWeaver 7.1
|
UIMenuCommand(IUIBaseCommand command,
boolean mandatory)
Deprecated.
As of NetWeaver 7.1
|
UIMenuCommand(IUIBaseCommand command,
boolean mandatory,
boolean defaultCommand)
Deprecated.
As of NetWeaver 7.1
|
| Modifier and Type | Method and Description |
|---|---|
IUIBaseCommand |
getCommand()
Deprecated.
As of NetWeaver 7.1
|
com.sapportals.htmlb.Component |
getComponent()
Deprecated.
As of NetWeaver 7.1
|
Properties |
getConfigurationProperties()
Deprecated.
As of NetWeaver 7.1
|
String |
getLabel()
Deprecated.
As of NetWeaver 7.1
|
Hashtable |
getParameters()
Deprecated.
As of NetWeaver 7.1
|
List |
getReplaceCommands()
Deprecated.
As of NetWeaver 7.1
|
String |
getText(TextKey key)
Deprecated.
As of NetWeaver 7.1
|
String |
getTooltip()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isDefault()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isEnabled()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isExpanded()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isIncluded()
Deprecated.
As of NetWeaver 7.1
|
boolean |
isMandatory()
Deprecated.
As of NetWeaver 7.1
|
void |
setCommandData(RenderDataContainer data)
Deprecated.
As of NetWeaver 7.1
|
void |
setConfigurationProperties(Properties properties)
Deprecated.
As of NetWeaver 7.1
|
void |
setDefault(boolean flag)
Deprecated.
As of NetWeaver 7.1
|
void |
setEnabled(boolean enabled)
Deprecated.
As of NetWeaver 7.1
|
void |
setExpanded(boolean expanded)
Deprecated.
As of NetWeaver 7.1
|
void |
setIncluded(boolean included)
Deprecated.
As of NetWeaver 7.1
|
void |
setLabel(String label)
Deprecated.
As of NetWeaver 7.1
|
void |
setLabelBundleKey(String groupLabel)
Deprecated.
As of NetWeaver 7.1
|
void |
setMandatory(boolean mandatory)
Deprecated.
As of NetWeaver 7.1
|
void |
setParameters(Hashtable parameters)
Deprecated.
As of NetWeaver 7.1
|
void |
setProxy(AbstractProxyControl proxy)
Deprecated.
As of NetWeaver 7.1
|
void |
setReplaceCommands(List replaceCommandsList)
Deprecated.
As of NetWeaver 7.1
|
void |
setResource(IResource resource)
Deprecated.
As of NetWeaver 7.1
|
void |
setResourceBundle(ResourceBundles bundleFile)
Deprecated.
As of NetWeaver 7.1
|
void |
setResourceContext(IResourceContext context)
Deprecated.
As of NetWeaver 7.1
|
void |
setTooltip(String tooltip)
Deprecated.
As of NetWeaver 7.1
|
void |
setTooltipBundleKey(String groupTooltip)
Deprecated.
As of NetWeaver 7.1
|
public UIMenuCommand(IUIBaseCommand command)
public UIMenuCommand(IUIBaseCommand command, boolean mandatory)
public UIMenuCommand(IUIBaseCommand command, boolean mandatory, boolean defaultCommand)
public void setResourceBundle(ResourceBundles bundleFile)
setResourceBundle in interface IUIBaseCommandbundleFile - The new resourceBundle valuepublic void setLabelBundleKey(String groupLabel)
IUIBaseCommandsetLabelBundleKey in interface IUIBaseCommandgroupLabel - The new labelBundleKey valuepublic void setTooltipBundleKey(String groupTooltip)
IUIBaseCommandsetTooltipBundleKey in interface IUIBaseCommandgroupTooltip - The new tooltipBundleKey valuepublic String getLabel()
public String getText(TextKey key)
IUIBaseCommandgetText in interface IUIBaseCommandkey - the input TextKeypublic String getTooltip()
public com.sapportals.htmlb.Component getComponent()
getComponent in interface IUIBaseCommandpublic void setLabel(String label)
label - The new label valuepublic void setTooltip(String tooltip)
tooltip - The new tooltip valuepublic IUIBaseCommand getCommand()
getCommand in interface IUIMenuCommandpublic void setMandatory(boolean mandatory)
IUIMenuCommandsetMandatory in interface IUIMenuCommandmandatory - The new mandatory valuepublic boolean isMandatory()
IUIMenuCommandisMandatory in interface IUIMenuCommandpublic void setConfigurationProperties(Properties properties)
setConfigurationProperties in interface IUIBaseCommandproperties - The new configurationProperties valuepublic Properties getConfigurationProperties()
IUIBaseCommandgetConfigurationProperties in interface IUIBaseCommandpublic void setEnabled(boolean enabled)
IUIMenuCommandsetEnabled in interface IUIMenuCommandenabled - The new enabled valuepublic boolean isEnabled()
IUIMenuCommandisEnabled in interface IUIMenuCommandpublic void setResource(IResource resource)
setResource in interface IUIBaseCommandresource - sets the resource the command shall operate onpublic void setProxy(AbstractProxyControl proxy)
IUIBaseCommandsetProxy in interface IUIBaseCommandproxy - The new proxy valuepublic void setResourceContext(IResourceContext context)
setResourceContext in interface IUIBaseCommandcontext - The new resourceContext valuepublic void setExpanded(boolean expanded)
setExpanded in interface IUIMenuCommandexpanded - The new expanded valuepublic boolean isExpanded()
isExpanded in interface IUIMenuCommandpublic List getReplaceCommands()
getReplaceCommands in interface IUIBaseCommandpublic void setReplaceCommands(List replaceCommandsList)
setReplaceCommands in interface IUIBaseCommandreplaceCommandsList - The new replaceCommands valuepublic void setParameters(Hashtable parameters)
setParameters in interface IUIBaseCommandparameters - The new parameters valuepublic Hashtable getParameters()
getParameters in interface IUIBaseCommandpublic void setIncluded(boolean included)
setIncluded in interface IUIMenuCommandincluded - The new expanded valuepublic boolean isIncluded()
isIncluded in interface IUIMenuCommandpublic boolean isDefault()
isDefault in interface IUIMenuCommandpublic void setDefault(boolean flag)
setDefault in interface IUIMenuCommandpublic void setCommandData(RenderDataContainer data)
setCommandData in interface IRenderDataAcceptor| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice