edu.stanford.smi.protege.widget
Class DefaultWidgetMapper
java.lang.Object
|
+--edu.stanford.smi.protege.widget.DefaultWidgetMapper
- All Implemented Interfaces:
- WidgetMapper
- public class DefaultWidgetMapper
- extends Object
- implements WidgetMapper
Description of the class
- Author:
- Ray Fergerson
Method Summary |
WidgetDescriptor |
createWidgetDescriptor(Cls cls,
Slot slot,
Facet facet)
|
String |
getDefaultWidgetClassName(Cls cls,
Slot slot,
Facet facet)
|
Collection |
getSuitableWidgetClassNames(Cls cls,
Slot slot,
Facet facet)
|
boolean |
isSuitable(Cls cls,
Slot slot,
Facet facet,
String className)
|
boolean |
isSuitableWidget(Cls cls,
Slot slot,
Facet facet,
WidgetDescriptor d)
|
String |
toString()
|
DefaultWidgetMapper
public DefaultWidgetMapper(KnowledgeBase kb,
Project project)
createWidgetDescriptor
public WidgetDescriptor createWidgetDescriptor(Cls cls,
Slot slot,
Facet facet)
- Specified by:
createWidgetDescriptor
in interface WidgetMapper
getDefaultWidgetClassName
public String getDefaultWidgetClassName(Cls cls,
Slot slot,
Facet facet)
- Specified by:
getDefaultWidgetClassName
in interface WidgetMapper
getSuitableWidgetClassNames
public Collection getSuitableWidgetClassNames(Cls cls,
Slot slot,
Facet facet)
- Specified by:
getSuitableWidgetClassNames
in interface WidgetMapper
isSuitable
public boolean isSuitable(Cls cls,
Slot slot,
Facet facet,
String className)
isSuitableWidget
public boolean isSuitableWidget(Cls cls,
Slot slot,
Facet facet,
WidgetDescriptor d)
- Specified by:
isSuitableWidget
in interface WidgetMapper
toString
public String toString()
- Overrides:
toString
in class Object
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.