|
Protege 3.4.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.ui.DisplayUtilities
public class DisplayUtilities
A bunch of generic utilities for popping up dialogs that allow the user to do something. Most of these methods all the user to pick "something" (a class, slot, instance).
Constructor Summary | |
---|---|
DisplayUtilities()
|
Method Summary | |
---|---|
static String |
editString(Component component,
String label,
Object startValue,
Validator validator)
|
static boolean |
hasMultipleConcreteClses(KnowledgeBase kb,
Collection allowedClses)
|
static Cls |
pickCls(Component component,
Collection rootClses)
Deprecated. Use #pickCls(Component, KnowledgeBase, Collection) |
static Cls |
pickCls(Component component,
Collection rootClses,
String label)
Deprecated. Use #pickCls(Component, KnowledgeBase, Collection, String) |
static Cls |
pickCls(Component component,
KnowledgeBase kb,
Collection rootClses)
|
static Cls |
pickCls(Component component,
KnowledgeBase kb,
Collection rootClses,
String label)
|
static Collection |
pickClses(Component component,
Collection rootClses)
Deprecated. Use #pickClses(Component, KnowledgeBase, Collection) |
static Collection |
pickClses(Component component,
KnowledgeBase kb)
|
static Collection |
pickClses(Component component,
KnowledgeBase kb,
Collection rootClses)
|
static Collection |
pickClses(Component component,
KnowledgeBase kb,
Collection rootClses,
String label)
|
static Collection |
pickClses(Component component,
KnowledgeBase kb,
String label)
|
static Cls |
pickConcreteCls(Component component,
Collection allowedClses)
Deprecated. Use #pickConcreteCls(Component, KnowledgeBase kb, Collection) |
static Cls |
pickConcreteCls(Component component,
Collection allowedClses,
String label)
Deprecated. Use #pickConcreteCls(Component, KnowledgeBase kb, Collection, String) |
static Cls |
pickConcreteCls(Component component,
KnowledgeBase kb,
Collection allowedClses)
|
static Cls |
pickConcreteCls(Component component,
KnowledgeBase kb,
Collection allowedClses,
String label)
|
static Cls |
pickConcreteCls(Component component,
KnowledgeBase kb,
String label)
|
static Cls |
pickForm(Component component,
Project project)
|
static Cls |
pickForm(Component component,
Project project,
String label)
|
static Instance |
pickInstance(Component component,
Collection allowedClses)
|
static Instance |
pickInstance(Component component,
Collection allowedClses,
String label)
|
static Instance |
pickInstance(Component component,
KnowledgeBase kb)
|
static Instance |
pickInstanceFromCollection(Component component,
Collection collection,
int initialSelection,
String label)
|
static Collection |
pickInstances(Component component,
Collection allowedClses)
Deprecated. Use #pickInstance(Component, KnowledgeBase, Collection) |
static Collection |
pickInstances(Component component,
Collection allowedClses,
String label)
deprecated Use #pickInstances(Component, KnowldgeBase, Collection, String) |
static Collection |
pickInstances(Component component,
KnowledgeBase kb,
Collection allowedClses)
|
static Collection |
pickInstances(Component component,
KnowledgeBase kb,
Collection allowedClses,
String label)
|
static Collection |
pickInstancesFromCollection(Component component,
Collection instances,
String label)
|
static Slot |
pickSlot(Component component,
Collection slots)
|
static Slot |
pickSlot(Component component,
Collection slots,
String label)
|
static Collection |
pickSlots(Component component,
Collection slots)
|
static Collection |
pickSlots(Component component,
Collection slots,
String label)
|
static Object |
pickSymbol(Component component,
String label,
Object initialValue,
Collection allowedValues)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayUtilities()
Method Detail |
---|
public static String editString(Component component, String label, Object startValue, Validator validator)
public static boolean hasMultipleConcreteClses(KnowledgeBase kb, Collection allowedClses)
public static Cls pickCls(Component component, Collection rootClses)
public static Cls pickCls(Component component, KnowledgeBase kb, Collection rootClses)
public static Cls pickCls(Component component, Collection rootClses, String label)
public static Cls pickCls(Component component, KnowledgeBase kb, Collection rootClses, String label)
public static Collection pickClses(Component component, KnowledgeBase kb)
public static Collection pickClses(Component component, KnowledgeBase kb, String label)
public static Collection pickClses(Component component, Collection rootClses)
public static Collection pickClses(Component component, KnowledgeBase kb, Collection rootClses)
public static Collection pickClses(Component component, KnowledgeBase kb, Collection rootClses, String label)
public static Cls pickConcreteCls(Component component, KnowledgeBase kb, String label)
public static Cls pickConcreteCls(Component component, Collection allowedClses)
public static Cls pickConcreteCls(Component component, KnowledgeBase kb, Collection allowedClses)
public static Cls pickConcreteCls(Component component, Collection allowedClses, String label)
public static Cls pickConcreteCls(Component component, KnowledgeBase kb, Collection allowedClses, String label)
public static Cls pickForm(Component component, Project project)
public static Cls pickForm(Component component, Project project, String label)
public static Instance pickInstance(Component component, KnowledgeBase kb)
public static Instance pickInstance(Component component, Collection allowedClses)
public static Instance pickInstance(Component component, Collection allowedClses, String label)
public static Instance pickInstanceFromCollection(Component component, Collection collection, int initialSelection, String label)
public static Collection pickInstances(Component component, Collection allowedClses)
public static Collection pickInstances(Component component, KnowledgeBase kb, Collection allowedClses)
public static Collection pickInstances(Component component, Collection allowedClses, String label)
public static Collection pickInstances(Component component, KnowledgeBase kb, Collection allowedClses, String label)
public static Collection pickInstancesFromCollection(Component component, Collection instances, String label)
public static Slot pickSlot(Component component, Collection slots)
public static Slot pickSlot(Component component, Collection slots, String label)
public static Collection pickSlots(Component component, Collection slots)
public static Collection pickSlots(Component component, Collection slots, String label)
public static Object pickSymbol(Component component, String label, Object initialValue, Collection allowedValues)
|
Protege 3.4.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |