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
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)
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.