Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.ui.explorer.filter
Class HiddenClassesFilter

java.lang.Object
  extended by 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

Constructor Summary
HiddenClassesFilter()
           
 
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
 

Constructor Detail

HiddenClassesFilter

public HiddenClassesFilter()
Method Detail

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 node
childClass - the class displayed by the potential child node
Returns:
true if childClass shall be used as child node for parentClass

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.