edu.stanford.smi.protegex.owl.ui.conditions
Class PropertySuggestionPopup

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.conditions.PropertySuggestionPopup

public class PropertySuggestionPopup
extends Object

User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Nov 25, 2005

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Field Summary
static String POPUP_TITLE
           
static int POPUP_WIDTH
           
private  JPopupMenu popupMenu
           
private  JWindow popupWindow
           
private  JList propertyList
           
private  ConditionsTable table
           
 
Constructor Summary
PropertySuggestionPopup(Window owner, ConditionsTable table)
           
 
Method Summary
 void hidePopup()
           
protected  void insertPropertyName()
           
 void showPopup(OWLNamedClass cls)
          Shows a popup that appears next to the conditions widget table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyList

private JList propertyList

popupWindow

private JWindow popupWindow

table

private ConditionsTable table

popupMenu

private JPopupMenu popupMenu

POPUP_WIDTH

public static final int POPUP_WIDTH
See Also:
Constant Field Values

POPUP_TITLE

public static final String POPUP_TITLE
See Also:
Constant Field Values
Constructor Detail

PropertySuggestionPopup

public PropertySuggestionPopup(Window owner,
                               ConditionsTable table)
Method Detail

showPopup

public void showPopup(OWLNamedClass cls)
Shows a popup that appears next to the conditions widget table. The popup displays properties that have the class being displayed in their domain.

Parameters:
cls - The class being displayed by the conditions widget.

hidePopup

public void hidePopup()

insertPropertyName

protected void insertPropertyName()