Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.ui.cls
Interface SwitchableType

All Known Implementing Classes:
ClassFormSwitchableType, LogicClassDefinitionWidgetType, PropertiesClassDefinitionWidgetType

public interface SwitchableType

An interface for factory objects that can register with the SwitchableClassDefinitionWidget to create the available options (Logic View, Properties View, etc).

Author:
Holger Knublauch

Method Summary
 String getButtonText()
           
 Class getWidgetClassType()
           
 boolean isSufficientlyExpressive(RDFSNamedClass namedClass)
          Checks if this type would be able to display a given class.
 boolean isSuitable(OWLModel owlModel)
           
 

Method Detail

getButtonText

String getButtonText()

getWidgetClassType

Class getWidgetClassType()

isSufficientlyExpressive

boolean isSufficientlyExpressive(RDFSNamedClass namedClass)
Checks if this type would be able to display a given class. This may happen if the definition of the class uses constructs that lay outside of the expressivity supported by this type. If not, then the container may decide to switch to another, more generic type.

Parameters:
namedClass - the named class to test
Returns:
true if this type could handle namedClass

isSuitable

boolean isSuitable(OWLModel owlModel)

Protégé-OWL 3.3.1

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