public class Action extends Object
actionManager.js in the editor framework.| Constructor and Description |
|---|
Action(String id)
A constructor that sets an ID.
|
Action(String id,
String title)
A constructor that sets an ID and title.
|
Action(String id,
String title,
String description)
A constructor that sets an ID, title and description.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComponentId(String compId)
For internal use.
|
List |
getComponents()
For internal use.
|
String |
getDescription()
Gets the action description (the tooltip).
|
String |
getId()
Gets the action ID.
|
String |
getTitle()
Gets the action title.
|
boolean |
isClientAction()
Indicates whether action handling is performed on the client
side.
|
boolean |
isEnabled()
Indicates whether the action is enabled.
|
void |
setClientAction()
Sets this action to be a client action.
|
void |
setDescription(String description)
Sets a description for the action.
|
void |
setEnabled(boolean isEnabled)
Enables or disables the action.
|
void |
setTitle(String title)
Sets the action title.
|
public Action(String id, String title, String description)
id - action IDtitle - a title for components related to the actiondescription - the tooltip for the actionpublic Action(String id, String title)
id - action IDtitle - a title for components related to the actionpublic Action(String id)
id - an action IDpublic void setClientAction()
doMyAction, where myAction is the action ID.public boolean isClientAction()
true if this is a client action,
false if notpublic void setDescription(String description)
description - a tooltip for the actionpublic String getDescription()
public void setEnabled(boolean isEnabled)
isEnabled - true to enable the action,
false to disable itpublic boolean isEnabled()
true if this action is enabled,
false if it is disabledpublic String getId()
public String getTitle()
public List getComponents()
public void addComponentId(String compId)
compId - the component IDpublic void setTitle(String title)
title - the action title| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice