Just start typing something on the search bar and you will get a list of the projects found.
With a double click you can open the selected project
How it works:
with the call of:
projectListNode = SysTreeNode::getSharedProject();
you get the AOT node for the shared project. Then all the child of this node are looped, and the name is checked against the input text
treeNodeIterator = projectListNode.AOTiterator();
treeNode = treeNodeIterator.next();
while(treeNode)
{ ... }
void FindProject() { ProjectSharedPrivate projectType; TreeNode treeNode; ProjectListNode projectListNode; TreeNodeIterator treeNodeIterator; str aotName; ; ListboxResult.clear(); projectListNode = SysTreeNode::getSharedProject(); treeNodeIterator = projectListNode.AOTiterator(); treeNode = treeNodeIterator.next(); while(treeNode) { aotName = treeNode.AOTname(); //return; if(DEVString::contains(aotName, projectName.text())) { ListboxResult.add(aotName); } treeNode = treeNodeIterator.next(); } }
Download link below
No comments:
Post a Comment