|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.model.DefaultFilter
oracle.ide.model.FilelistFilter
oracle.jdeveloper.model.CategoryFilter
oracle.jdeveloper.model.JProjectFilter
The JProjectFilter
class organizes the children of a
project into a predefined structure. Children of the project that
implement the Category
interface are grouped based on the
registered categories.
Nested Class Summary |
Nested classes inherited from class oracle.jdeveloper.model.CategoryFilter |
CategoryFilter.CategoryRegistry, CategoryFilter.CatInfo, CategoryFilter.JProjectComparator |
Nested classes inherited from class oracle.ide.model.DefaultFilter |
DefaultFilter.SortedComparator, DefaultFilter.SortedFolderFirstComparator |
Field Summary | |
static int |
COMPONENT
|
static int |
DB_OBJECT
|
static int |
DB_RESOURCE
|
static int |
DEPLOYMENT
|
static int |
EJB
|
static int |
JAVA_SOURCE
|
static int |
UML_DIAGRAM
|
static int |
WEB_SERVICE
|
static int |
WWW_SOURCE
|
Fields inherited from class oracle.jdeveloper.model.CategoryFilter |
LAST_CATEGORY_SHIFT, OPTION_VIEW_AS_LIST, PROJECT_REBUILT |
Fields inherited from class oracle.ide.model.DefaultFilter |
folderFirstComparator, folderFirstComparator2, sortedComparator |
Fields inherited from interface oracle.ide.explorer.ChildFilter |
NO_OPTIONS |
Constructor Summary | |
JProjectFilter()
|
|
JProjectFilter(JProject project)
Constructor. |
Method Summary | |
static ChildFilter |
findFilter(TNode tnode,
int filterType)
Deprecated. Replace with JProjectStructureController.findFilter(TNode,int) . |
protected CategoryFilter.CategoryRegistry |
getCategoryRegistry()
Subclass must override this method and return a registry containing valid categories. |
static boolean |
isFilteredBy(TNode tnode,
int filterType)
Deprecated. Replace with JProjectStructureController.isFilteredBy(TNode,int) . |
static boolean |
isFilterSupported(int category,
int filter)
Returns whether the category with the specified ID supports the specified filter. |
static boolean |
isFilterSupported(TNode tnode,
int filter)
Deprecated. Replace with JProjectStructureController.isFilterSupported(TNode,int) . |
static boolean |
isInProject(TNode tnode)
Deprecated. Replace with JProjectStructureController.isInProject(TNode) . |
static void |
registerCategory(int category,
java.lang.Class cls)
Deprecated. Replace with registerCategory(int,Class,String,Icon,int) . |
static void |
registerCategory(int category,
java.lang.Class cls,
int filtersSupported)
Deprecated. Replace with registerCategory(int,Class,String,Icon,int) . |
static void |
registerCategory(int category,
java.lang.Class cls,
java.lang.String label)
Deprecated. Replace with registerCategory(int,Class,String,Icon,int) . |
static void |
registerCategory(int category,
java.lang.Class cls,
java.lang.String label,
javax.swing.Icon icon,
int filtersSupported)
Registers a new project category with the specified attributes. |
static void |
registerCategory(int category,
java.lang.Class cls,
java.lang.String label,
int filtersSupported)
Deprecated. Replace with registerCategory(int,Class,String,Icon,int) . |
Methods inherited from class oracle.jdeveloper.model.CategoryFilter |
cache, canRefresh, canSupportFilter, canUpdate, childrenAdded, childrenRemoved, closeChildren, findCategoryFolder, getCategoryNode, getChildren, getComparator, getOptions, getProjectChildren, getType, handleAdd, handleRemove, isListView, newCategory, refresh, registerCategories, setListView, setOptions, setOwner, uncache, update |
Methods inherited from class oracle.ide.model.FilelistFilter |
getProject, setProject |
Methods inherited from class oracle.ide.model.DefaultFilter |
checkElementAttributes, getIcon, getLongLabel, getOwner, getShortLabel, getToolTipText, getURLFilter, refreshExplorerNode, setURLFilter, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int JAVA_SOURCE
public static final int WWW_SOURCE
public static final int DB_OBJECT
public static final int DB_RESOURCE
public static final int EJB
public static final int COMPONENT
public static final int UML_DIAGRAM
public static final int DEPLOYMENT
public static final int WEB_SERVICE
Constructor Detail |
public JProjectFilter()
public JProjectFilter(JProject project)
project
- the project whose children are to be filtered.Method Detail |
public static void registerCategory(int category, java.lang.Class cls, java.lang.String label, javax.swing.Icon icon, int filtersSupported)
category
- The ID for this category. See CategoryFilter.newCategory()
.cls
- The CategoryFolder
subclass that represents this
category; use null
to specify a default
CategoryFolder
.label
- The display name used to represent this category.icon
- The display icon used to represent this category; use
null
to specify the default folder icon.filtersSupported
- The bit mask of FilterTypes
supported
by this category; specify FilterTypes.NONE
if no filters are
supported.public static boolean isFilterSupported(int category, int filter)
category
- the ID of the category.filter
- the ID of the filter to be supported, as specified by
one of the constants in FilterTypes
.public static void registerCategory(int category, java.lang.Class cls, java.lang.String label, int filtersSupported)
registerCategory(int,Class,String,Icon,int)
.
public static void registerCategory(int category, java.lang.Class cls, java.lang.String label)
registerCategory(int,Class,String,Icon,int)
.
public static void registerCategory(int category, java.lang.Class cls, int filtersSupported)
registerCategory(int,Class,String,Icon,int)
.
public static void registerCategory(int category, java.lang.Class cls)
registerCategory(int,Class,String,Icon,int)
.
public static boolean isFilterSupported(TNode tnode, int filter)
JProjectStructureController.isFilterSupported(TNode,int)
.
public static ChildFilter findFilter(TNode tnode, int filterType)
JProjectStructureController.findFilter(TNode,int)
.
public static boolean isFilteredBy(TNode tnode, int filterType)
JProjectStructureController.isFilteredBy(TNode,int)
.
public static boolean isInProject(TNode tnode)
JProjectStructureController.isInProject(TNode)
.
protected CategoryFilter.CategoryRegistry getCategoryRegistry()
CategoryFilter
getCategoryRegistry
in class CategoryFilter
|
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.