コード例 #1
0
 /**
  * Create a new action with the given name for this controller
  *
  * @param eventHandler is the action's eventhandler with proper signature
  * @param name is the action's name
  * @param text is the text displayed in the UI element triggering this action
  */
 public IWDAction wdCreateNamedAction(
     WDActionEventHandler eventHandler, String name, String text) {
   return wdAlterEgo.createAction(name, eventHandler, text, null);
 }
コード例 #2
0
 // create UI tree
 public com.sap.tc.webdynpro.progmodel.api.IWDViewElement wdCreateUITree() {
   return wdAlterEgo.createElement(
       com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDViewContainerUIElement.class,
       wdAlterEgo.getName());
 }