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 IUIBaseCommand
bundleFile
- The new resourceBundle valuepublic void setLabelBundleKey(String groupLabel)
IUIBaseCommand
setLabelBundleKey
in interface IUIBaseCommand
groupLabel
- The new labelBundleKey valuepublic void setTooltipBundleKey(String groupTooltip)
IUIBaseCommand
setTooltipBundleKey
in interface IUIBaseCommand
groupTooltip
- The new tooltipBundleKey valuepublic String getLabel()
public String getText(TextKey key)
IUIBaseCommand
getText
in interface IUIBaseCommand
key
- the input TextKey
public String getTooltip()
public com.sapportals.htmlb.Component getComponent()
getComponent
in interface IUIBaseCommand
public void setLabel(String label)
label
- The new label valuepublic void setTooltip(String tooltip)
tooltip
- The new tooltip valuepublic IUIBaseCommand getCommand()
getCommand
in interface IUIMenuCommand
public void setMandatory(boolean mandatory)
IUIMenuCommand
setMandatory
in interface IUIMenuCommand
mandatory
- The new mandatory valuepublic boolean isMandatory()
IUIMenuCommand
isMandatory
in interface IUIMenuCommand
public void setConfigurationProperties(Properties properties)
setConfigurationProperties
in interface IUIBaseCommand
properties
- The new configurationProperties valuepublic Properties getConfigurationProperties()
IUIBaseCommand
getConfigurationProperties
in interface IUIBaseCommand
public void setEnabled(boolean enabled)
IUIMenuCommand
setEnabled
in interface IUIMenuCommand
enabled
- The new enabled valuepublic boolean isEnabled()
IUIMenuCommand
isEnabled
in interface IUIMenuCommand
public void setResource(IResource resource)
setResource
in interface IUIBaseCommand
resource
- sets the resource the command shall operate onpublic void setProxy(AbstractProxyControl proxy)
IUIBaseCommand
setProxy
in interface IUIBaseCommand
proxy
- The new proxy valuepublic void setResourceContext(IResourceContext context)
setResourceContext
in interface IUIBaseCommand
context
- The new resourceContext valuepublic void setExpanded(boolean expanded)
setExpanded
in interface IUIMenuCommand
expanded
- The new expanded valuepublic boolean isExpanded()
isExpanded
in interface IUIMenuCommand
public List getReplaceCommands()
getReplaceCommands
in interface IUIBaseCommand
public void setReplaceCommands(List replaceCommandsList)
setReplaceCommands
in interface IUIBaseCommand
replaceCommandsList
- The new replaceCommands valuepublic void setParameters(Hashtable parameters)
setParameters
in interface IUIBaseCommand
parameters
- The new parameters valuepublic Hashtable getParameters()
getParameters
in interface IUIBaseCommand
public void setIncluded(boolean included)
setIncluded
in interface IUIMenuCommand
included
- The new expanded valuepublic boolean isIncluded()
isIncluded
in interface IUIMenuCommand
public boolean isDefault()
isDefault
in interface IUIMenuCommand
public void setDefault(boolean flag)
setDefault
in interface IUIMenuCommand
public 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 2018 SAP AG Complete Copyright Notice