oracle.ide.model
Class FilelistFilter
java.lang.Object
|
+--oracle.ide.model.DefaultFilter
|
+--oracle.ide.model.FilelistFilter
- All Implemented Interfaces:
- ChildFilter, Displayable
- Direct Known Subclasses:
- JProjectFilter
- public class FilelistFilter
- extends DefaultFilter
The FilelistFilter
class shows a flat children list
Method Summary |
TNode |
childrenAdded(java.util.List additions,
TNode parent,
TreeExplorer tree)
The childrenAdded method is called when the UI is notified that
an element has been added to the node that owns this filter. |
TNode |
childrenRemoved(java.util.List removals,
TNode parent,
TreeExplorer tree)
The childrenRemoved method is called when the UI is notified that
an element has been added to the node that owns this filter. |
java.util.Iterator |
getChildren()
Get the children. |
int |
getType()
This method should return bitfield specifying the filter type. |
void |
setOwner(TNode owner)
Sets the node that owns this filter. |
Methods inherited from class oracle.ide.model.DefaultFilter |
cache, canRefresh, getComparator, getIcon, getLongLabel, getOptions, getOwner, getShortLabel, getToolTipText, getURLFilter, refresh, refreshExplorerNode, setOptions, setURLFilter, toString, uncache, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FilelistFilter
public FilelistFilter()
- Constructor.
getChildren
public java.util.Iterator getChildren()
- Get the children. This filter makes sures that when its owner is a
project, we don't return children of the project that are owned by other
folders contained in the project. This avoids seeing these
children more than once in the navigator.
- Overrides:
getChildren
in class DefaultFilter
setOwner
public void setOwner(TNode owner)
- Description copied from interface:
ChildFilter
- Sets the node that owns this filter.
- Overrides:
setOwner
in class DefaultFilter
childrenRemoved
public TNode childrenRemoved(java.util.List removals,
TNode parent,
TreeExplorer tree)
- Description copied from interface:
ChildFilter
- The childrenRemoved method is called when the UI is notified that
an element has been added to the node that owns this filter.
This method should return the tnode to be selected in the tree.
- Overrides:
childrenRemoved
in class DefaultFilter
childrenAdded
public TNode childrenAdded(java.util.List additions,
TNode parent,
TreeExplorer tree)
- Description copied from interface:
ChildFilter
- The childrenAdded method is called when the UI is notified that
an element has been added to the node that owns this filter.
This method should return the tnode to be selected in the tree.
- Overrides:
childrenAdded
in class DefaultFilter
getType
public int getType()
- Description copied from interface:
ChildFilter
- This method should return bitfield specifying the filter type.
Filters types are created by calling
FilterTypes.newType()
.
- Overrides:
getType
in class DefaultFilter