on 01-09-2007 9:02 AM
Doing programming in webdynpro need a lots of WD_xxx
where can i find this WD API
Hi
Check the below links for WD API
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm
Check the below link for programming using Webdynpro
http://help.sap.com/saphelp_nw2004s/helpdata/en/f3/a21188687da54bbd841768f9af9585/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
// ---------------------------------------------------------------------------
// This file has been generated by the Web Dynpro Code Generator.
// DO NOT MODIFY! CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
// ---------------------------------------------------------------------------
package com.sap.tc.webdynpro.tutorials.viewcomposition.maincomp.wdp;
import com.sap.tc.webdynpro.progmodel.api.*;
import com.sap.tc.webdynpro.progmodel.gci.*;
import com.sap.tc.webdynpro.progmodel.context.*;
import com.sap.tc.webdynpro.services.exceptions.WDRuntimeException;
/** Interface that is provided to application class. */
public interface IPrivateCompControlView {
/*
* Event Handler identifiers.
*/
/** Event handler constant. */
public static IWDEventHandlerId WD_EVENTHANDLER_ON_ACTION_DISPLAY_RIGHT_IMAGE_COMP_INSTANCE = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIEventHandlerId("onActionDisplayRightImageCompInstance", "CompControlView", "com.sap.tc.webdynpro.tutorials.viewcomposition.maincomp.MainComp");
/** Event handler constant. */
public static IWDEventHandlerId WD_EVENTHANDLER_ON_ACTION_DELETE_LEFT_COMP_INSTANCE = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIEventHandlerId("onActionDeleteLeftCompInstance", "CompControlView", "com.sap.tc.webdynpro.tutorials.viewcomposition.maincomp.MainComp");
/** Event handler constant. */
public static IWDEventHandlerId WD_EVENTHANDLER_ON_ACTION_LEAVE_RIGHT_COMP_INTERFACE_VIEW = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIEventHandlerId("onActionLeaveRightCompInterfaceView", "CompControlView", "com.sap.tc.webdynpro.tutorials.viewcomposition.maincomp.MainComp");
/** Event handler constant. */
public static IWDEventHandlerId WD_EVENTHANDLER_ON_ACTION_CREATE_LEFT_IMAGE_COMPONENT_INSTANCE = new com.sap.tc.webdynpro.progmodel.gci.impl.GCIEventHandlerId("onActionCreateLeftImageComponentInstance", "CompControlView", "com.sap.tc.webdynpro.tutorials.viewcomposition.maincomp.MainComp");
/**
* Provides access to the generic API of this controller.
*/
IWDViewController wdGetAPI();
/**
* Interface for the node 'Context'.
*
* singleton = true, cardinality = _1_1, selection = _1_1
*/
public static class IContextNode extends Node
{
private InternalCompControlView gen_delegate;
IContextNode(InternalCompControlView delegate, IGCINodeInfo nodeInfo, Node parent) {
super(nodeInfo, parent);
gen_delegate = delegate;
}
protected com.sap.tc.webdynpro.progmodel.context.Node createNode(IGCINodeInfo nodeInfo, com.sap.tc.webdynpro.progmodel.context.Node parentNode, com.sap.tc.webdynpro.progmodel.context.NodeElement parentElement) {
if (nodeInfo == gen_delegate.infoContext)
return new IPrivateCompControlView.IContextNode(gen_delegate, nodeInfo, parentNode);
return super.createNode(nodeInfo, parentNode, parentElement);
}
protected com.sap.tc.webdynpro.progmodel.context.NodeElement doCreateElement(IGCINodeInfo nodeInfo, Object reference) {
if (nodeInfo == gen_delegate.infoContext) {
return new IPrivateCompControlView.IContextElement(gen_delegate, nodeInfo);
}
return super.doCreateElement(nodeInfo, reference);
}
// ---- typed accessors --------------------------------------------------
/**
* Provides access to the generic context API as described by IWDContext.
*/
public IWDContext wdGetAPI() {
return getContext();
}
/**
* Creates a new element for this node. The element is <b>not</b> bound
* to the node. Use {@link #bind(IContextElement)} or
* {@link IWDNode#bind(Collection)} to bind it or {@link IWDNode#addElement(IWDNodeElement)}
* to add it to the node.
* @return an element for this node
*/
public IPrivateCompControlView.IContextElement createContextElement() {
return (IPrivateCompControlView.IContextElement)createElement();
}
/**
* Binds a single IContextElement to the node.
* @param element a node element for this node
*/
public void bind(IPrivateCompControlView.IContextElement element) {
bind(element == null ? java.util.Collections.EMPTY_LIST : java.util.Collections.singletonList(element));
}
/**
* Returns the element at the lead selection.
* @return the element at the lead selection or <code>null</code> if the
* lead selection is not set
*/
public IPrivateCompControlView.IContextElement currentContextElement() {
return (IPrivateCompControlView.IContextElement) getCurrentElement();
}
// ---- hooks ------------------------------------------------------------
// ---- child nodes ------------------------------------------------------------
}
/**
* Interface for the elements of the node Context.
*/
public static class IContextElement extends com.sap.tc.webdynpro.progmodel.context.NodeElement
{
private InternalCompControlView gen_delegate;
public IContextElement(InternalCompControlView delegate, com.sap.tc.webdynpro.progmodel.gci.IGCINodeInfo info) {
super(info);
gen_delegate = delegate;
}
}
/**
* Returns the context root node.
* @return the context root node.
*/
IContextNode wdGetContext();
/** Fires outbound plug. */
void wdFirePlugShowRightCompOut( java.lang.String name );
/** Fires outbound plug. */
void wdFirePlugShowLeftCompOut( java.lang.String name );
/** Fires outbound plug. */
void wdFirePlugShowEmptyView( );
/** Declared event handler. */
void onActionDisplayRightImageCompInstance(IWDCustomEvent wdEvent );
/** Declared event handler. */
void onActionDeleteLeftCompInstance(IWDCustomEvent wdEvent );
/** Declared event handler. */
void onActionLeaveRightCompInterfaceView(IWDCustomEvent wdEvent );
/** Declared event handler. */
void onActionCreateLeftImageComponentInstance(IWDCustomEvent wdEvent );
/** Gets component usage. */
IWDComponentUsage wdGetLeftImageCompInstComponentUsage();
/** Gets action 'DisplayRightImageComponentInstance'. */
IWDAction wdGetDisplayRightImageComponentInstanceAction();
/** Gets action 'DeleteLeftCompInstance'. */
IWDAction wdGetDeleteLeftCompInstanceAction();
/** Gets action 'LeaveRightCompInterfaceView'. */
IWDAction wdGetLeaveRightCompInterfaceViewAction();
/** Gets action 'CreateLeftImageComponentInstance'. */
IWDAction wdGetCreateLeftImageComponentInstanceAction();
/** Enumeration of all available action event handlers. */
public final class WDActionEventHandler extends com.sap.tc.webdynpro.progmodel.gci.GCIActionEventHandlerEnum
{
public static final WDActionEventHandler DISPLAY_RIGHT_IMAGE_COMPONENT_INSTANCE = new WDActionEventHandler("onActionDisplayRightImageCompInstance", true, NO_PARAMETERS);
public static final WDActionEventHandler DELETE_LEFT_COMP_INSTANCE = new WDActionEventHandler("onActionDeleteLeftCompInstance", true, NO_PARAMETERS);
public static final WDActionEventHandler LEAVE_RIGHT_COMP_INTERFACE_VIEW = new WDActionEventHandler("onActionLeaveRightCompInterfaceView", true, NO_PARAMETERS);
public static final WDActionEventHandler CREATE_LEFT_IMAGE_COMPONENT_INSTANCE = new WDActionEventHandler("onActionCreateLeftImageComponentInstance", true, NO_PARAMETERS);
private WDActionEventHandler(String value, boolean isValidating, Object[] declaredParameters) {
super(value, isValidating, declaredParameters);
}
}
/**
* Creates a new action for this controller.
* @param eventHandler is the action's event handler with an appropriate signature
* @param text is the text displayed in the UI element triggering this action
*/
IWDAction wdCreateAction(WDActionEventHandler eventHandler, String text);
/**
* Creates a new action with the given name for this controller.
* @param eventHandler is the action's event handler with an appropriate signature
* @param name is the action's name
* @param text is the text displayed in the UI element triggering this action
*/
IWDAction wdCreateNamedAction(WDActionEventHandler eventHandler, String name, String text);
}
i expecting some like this :
everytime in IPrivatexxxView
import com.sap.tc.webdynpro.progmodel.api.*;
import com.sap.tc.webdynpro.progmodel.gci.*;
import com.sap.tc.webdynpro.progmodel.context.*;
import com.sap.tc.webdynpro.services.exceptions.WDRuntimeException;
....
....
when i search in help cannot find this above api....
pls help
User | Count |
---|---|
68 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.