Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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