Protege-2000 1.7

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

Constructor Summary
DefaultWidgetMapper(KnowledgeBase kb, Project project)
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultWidgetMapper

public DefaultWidgetMapper(KnowledgeBase kb,
                           Project project)
Method Detail

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

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.