|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.explorer.ChildFilterHelper
public abstract class ChildFilterHelper
Instances of ChildFilterHelper modify the behavior of a
ChildFilterFactory
, which itself affects how child elements
appear in a navigator. A helper is registered via a
ChildFilterFactory
, which creates instances of
ChildFilter configured with the helpers.
Each instance of ChildFilterHelper registered with a
ChildFilterFactory is shared by all instances of ChildFilter
created by the factory. As a result of this, all ChildFilterHelper
implementations must be stateless, determining all their behavior
solely on immutable state, global state, or parameters passed via the
Context
in initChildren(oracle.ide.Context, java.util.List)
.
Constructor Summary | |
---|---|
ChildFilterHelper()
|
Method Summary | |
---|---|
boolean |
handleChildrenAdded(Context context,
java.util.List children,
TNode parent,
TreeExplorer tree)
|
boolean |
handleChildrenRemoved(Context context,
java.util.List children,
TNode parent,
TreeExplorer tree)
|
abstract void |
initChildren(Context context,
java.util.List children)
Implementations of this method must populate the children
List with Element instances that represent
the root-level children of the project in the Context . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChildFilterHelper()
Method Detail |
---|
public abstract void initChildren(Context context, java.util.List children)
children
List with Element
instances that represent
the root-level children of the project in the Context
.
Flags that specify how the children should be rendered are passed
through the Context.
context
- The Context containing the project whose children
need to be rendered. The Context may also contains flags specifying
how the children should be rendered.children
- The List that the method should modify to pass
the List of children back to the ProjectFilter. If multiple
ChildFilterHelper are active at the same time, later helpers
will see the result of earlier helpers in the children List.public boolean handleChildrenAdded(Context context, java.util.List children, TNode parent, TreeExplorer tree)
public boolean handleChildrenRemoved(Context context, java.util.List children, TNode parent, TreeExplorer tree)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |