Protege 3.5

edu.stanford.smi.protege.widget
Interface WidgetMapper

All Known Implementing Classes:
DefaultWidgetMapper

public interface WidgetMapper

An interface for implementations which can map a cls/slot/facet combination to a slot widget.

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 isSuitableWidget(Cls cls, Slot slot, Facet facet, WidgetDescriptor d)
           
 

Method Detail

createWidgetDescriptor

WidgetDescriptor createWidgetDescriptor(Cls cls,
                                        Slot slot,
                                        Facet facet)

getDefaultWidgetClassName

String getDefaultWidgetClassName(Cls cls,
                                 Slot slot,
                                 Facet facet)

getSuitableWidgetClassNames

Collection getSuitableWidgetClassNames(Cls cls,
                                       Slot slot,
                                       Facet facet)

isSuitableWidget

boolean isSuitableWidget(Cls cls,
                         Slot slot,
                         Facet facet,
                         WidgetDescriptor d)

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.