|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ChildFilterHelper allows implementors to add nodes to a filtered node.
Method Summary | |
int |
getCategories()
Returns a bitfield indicating the root categories for which this listener should be invoked. |
java.lang.Class[] |
getNodeClasses()
Return the node classes for which this helper will be called. |
boolean |
handleAdd(Element element,
Folder parent,
java.util.List childrenAdded,
ApplicationFilter filter)
Callers should add the appropriate Locatable s to the
parent folder. |
boolean |
handleRemove(Element element,
Folder parent,
java.util.List childrenRemoved,
ApplicationFilter filter)
Callers should remove the appropriate node(s) to the parent folder. |
Method Detail |
public int getCategories()
public java.lang.Class[] getNodeClasses()
public boolean handleAdd(Element element, Folder parent, java.util.List childrenAdded, ApplicationFilter filter)
Locatable
s to the
parent
folder.
element
- The element being added.parent
- The root category node.childrenAdded
- The actual element or elements to be added.
The first entries in the list should be loacatable elements whose
URL is a child of a real java package. Immediately after these may follow
one or more package folders along with their children.filter
- The application filter itself. From here users can get
at the project object, and create new packages.
false
if method did not handle the addition.public boolean handleRemove(Element element, Folder parent, java.util.List childrenRemoved, ApplicationFilter filter)
parent
folder.
element
- The element being removed.parent
- The root category node.filter
- The application filter itself. From here users can get
at the project object, and create new packages.
false
if method did not handle the removal.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.