edu.stanford.smi.protegex.owl.ui.explorer.filter
Class HiddenClassesFilter
java.lang.Object
edu.stanford.smi.protegex.owl.ui.explorer.filter.HiddenClassesFilter
- All Implemented Interfaces:
- ExplorerFilter
public class HiddenClassesFilter
- extends Object
- implements ExplorerFilter
- Author:
- Nick Drummond, Medical Informatics Group, University of Manchester
24-Feb-2006
Method Summary |
boolean |
getUseInferredSuperclasses()
Checks if the tree should display inferred relationships instead
of asserted ones. |
boolean |
isValidChild(RDFSClass parentClass,
RDFSClass childClass)
Checks whether a given superclass (childClass) shall be be displayed
as a child of a given subclass node (parentClass). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HiddenClassesFilter
public HiddenClassesFilter()
getUseInferredSuperclasses
public boolean getUseInferredSuperclasses()
- Description copied from interface:
ExplorerFilter
- Checks if the tree should display inferred relationships instead
of asserted ones.
- Specified by:
getUseInferredSuperclasses
in interface ExplorerFilter
- Returns:
- true if inferred superclasses shall be displayed
isValidChild
public boolean isValidChild(RDFSClass parentClass,
RDFSClass childClass)
- Description copied from interface:
ExplorerFilter
- Checks whether a given superclass (childClass) shall be be displayed
as a child of a given subclass node (parentClass).
- Specified by:
isValidChild
in interface ExplorerFilter
- Parameters:
parentClass
- the class displayed by the parent nodechildClass
- the class displayed by the potential child node
- Returns:
- true if childClass shall be used as child node for parentClass
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.