edu.stanford.smi.protegex.owl.ui.widget
Class WidgetUtilities

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.widget.WidgetUtilities

public class WidgetUtilities
extends Object

This class provides generic methods used by several OWL widgets to fullfill its tasks.

Author:
Daniel Stoeckli

Constructor Summary
WidgetUtilities()
           
 
Method Summary
static void addViewButton(edu.stanford.smi.protege.util.LabeledComponent lc, Action viewAction)
           
static edu.stanford.smi.protege.model.Cls getDefaultRestrictionMetaCls(edu.stanford.smi.protege.model.KnowledgeBase kb)
           
static JToolBar getJToolBar(Container container)
           
static JToolBar getJToolBar(edu.stanford.smi.protege.ui.InstanceDisplay instanceDisplay)
           
private static JToolBar searchFakeToolBarRecursive(Container c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetUtilities

public WidgetUtilities()
Method Detail

addViewButton

public static void addViewButton(edu.stanford.smi.protege.util.LabeledComponent lc,
                                 Action viewAction)

getDefaultRestrictionMetaCls

public static edu.stanford.smi.protege.model.Cls getDefaultRestrictionMetaCls(edu.stanford.smi.protege.model.KnowledgeBase kb)

getJToolBar

public static JToolBar getJToolBar(edu.stanford.smi.protege.ui.InstanceDisplay instanceDisplay)

getJToolBar

public static JToolBar getJToolBar(Container container)

searchFakeToolBarRecursive

private static JToolBar searchFakeToolBarRecursive(Container c)