on 05-16-2007 2:19 PM
Hi,all
How can I populate my node with elements by using
IWDNodeCollectionSupplier?
Regards,
Michael
javadoc for IWDNodeCollectionSupplier says :
/**
* Interface used to set up a dynamic supply "function".
*/
public interface IWDNodeCollectionSupplier {
/**
* Method to set up the collection for a dependent node after changes in
* the parent node. You can use {@link IWDNode#bind(java.util.Collection)} or
* {@link IWDNode#addElement(IWDNodeElement)} to fill the node. It is possible
* to set up child nodes in this supplier, too. In this case, their supply
* "function" will not be called. Do <b>not</b>
* {@link IWDNode#invalidate() invalidate} the node; the supplier is only
* called if the node's collection is invalid.
* @param node The node the collection is to be determined for
* @param parentElement The parent element
*/
void supplyElements(IWDNode node, IWDNodeElement parentElement);
Hence the place you want to use this method you should have the node on which you want to invoke this method and its parent Element.
Can you elaborate where you want to use this method.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Refer the blog @ https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1896. [original link is broken] [original link is broken] [original link is broken] [original link is broken] This article, in fact, has a clear piece of code that will help you understand the API.
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.