|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITrayService
The interface that defines methods to add and remove items to iView and page tray menus.
Menu items are bound to a Web Dynpro action.
Note that adding or removing a menu item should be executed only once
in the wdDoModifyView method.
| Field Summary | |
|---|---|
static String |
ADD_IVIEW_ITEM
The constant that represents the key of the add item to iView tray command. |
static String |
ADD_PAGE_ITEM
The constant that represents the key of the add item to page tray command. |
static String |
KEY
The service key |
static String |
REMOVE_IVIEW_ITEM
The constant that represents the key of the remove item from iView tray command. |
static String |
REMOVE_PAGE_ITEM
The constant that represents the key of the remove item from page tray command. |
| Method Summary | |
|---|---|
void |
addIViewItem(String id,
String text,
com.sap.tc.webdynpro.progmodel.api.IWDAction action,
Map parameters)
Adds an item to the iView tray menu that, when selected, executes the specified Web Dynpro action. |
void |
addPageItem(String id,
String text,
com.sap.tc.webdynpro.progmodel.api.IWDAction action,
Map parameters)
Adds an item to the page tray menu that, when selected, executes the specified Web Dynpro action. |
void |
removeIViewItem(String id)
Removes the specified item from the iView tray menu. |
void |
removePageItem(String id)
Removes the specified item from the page tray menu. |
| Field Detail |
|---|
static final String KEY
static final String ADD_IVIEW_ITEM
static final String REMOVE_IVIEW_ITEM
static final String ADD_PAGE_ITEM
static final String REMOVE_PAGE_ITEM
| Method Detail |
|---|
void addIViewItem(String id,
String text,
com.sap.tc.webdynpro.progmodel.api.IWDAction action,
Map parameters)
id - the id of the menu itemtext - the display name of the item in the tray menuaction - a Web Dynpro action that is executed when the user selects this itemparameters - the required parameters for the specified action, or null if no parameters are needed
void addPageItem(String id,
String text,
com.sap.tc.webdynpro.progmodel.api.IWDAction action,
Map parameters)
id - the id of the menu itemtext - the display name of the item in the tray menuaction - a Web Dynpro action that is executed when the user selects this itemparameters - the required parameters for the specified action, or null if no parameters are neededvoid removeIViewItem(String id)
id - the id of the menu itemvoid removePageItem(String id)
id - the id of the menu item| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/pagebuilder/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||