Protege-2000 1.7

edu.stanford.smi.protegex.util
Class ButtonRelatedWidgetState

java.lang.Object
  |
  +--java.util.Observable
        |
        +--edu.stanford.smi.protegex.util.AbstractWidgetState
              |
              +--edu.stanford.smi.protegex.util.ButtonRelatedWidgetState
Direct Known Subclasses:
AbstractTableWidgetState, ContainsWidgetState, DiagramWidgetState

public class ButtonRelatedWidgetState
extends AbstractWidgetState

Maintains state for action buttons Abstract superclass for lots of state objects

Author:
William Grosso

Field Summary
protected  String _addInstanceButtonTooltip
           
protected  String _addInstanceDialogTitle
           
protected  String _createInstanceButtonTooltip
           
protected  String _createInstanceDialogTitle
           
protected  String _deleteInstanceButtonTooltip
           
protected  boolean _displayAddInstanceButton
           
protected  boolean _displayCreateInstanceButton
           
protected  boolean _displayDeleteInstanceButton
           
protected  boolean _displayPrototypeButton
           
protected  boolean _displayRemoveInstanceButton
           
protected  boolean _displayViewInstanceButton
           
protected  String _prototypeButtonTooltip
           
protected  int _prototypeDepth
           
protected  String _removeInstanceButtonTooltip
           
protected  String _viewInstanceButtonTooltip
           
protected static String ADD_INSTANCE_BUTTON_TOOLTIP
           
protected static String ADD_INSTANCE_BUTTON_TOOLTIP_DEFAULT
           
protected static String ADD_INSTANCE_DIALOG_TITLE
           
protected static String ADD_INSTANCE_DIALOG_TITLE_DEFAULT
           
protected static String CREATE_INSTANCE_BUTTON_TOOLTIP
           
protected static String CREATE_INSTANCE_BUTTON_TOOLTIP_DEFAULT
           
protected static String CREATE_INSTANCE_DIALOG_TITLE
           
protected static String CREATE_INSTANCE_DIALOG_TITLE_DEFAULT
           
protected static String DELETE_INSTANCE_BUTTON_TOOLTIP
           
protected static String DELETE_INSTANCE_BUTTON_TOOLTIP_DEFAULT
           
protected static String DISPLAY_ADD_INSTANCE_BUTTON
           
protected static String DISPLAY_CREATE_INSTANCE_BUTTON
           
protected static String DISPLAY_DELETE_INSTANCE_BUTTON
           
protected static String DISPLAY_PROTOTYPE_BUTTON
           
protected static String DISPLAY_REMOVE_INSTANCE_BUTTON
           
protected static String DISPLAY_VIEW_INSTANCE_BUTTON
           
protected static String PROTOTYPE_BUTTON_TOOLTIP
           
protected static String PROTOTYPE_BUTTON_TOOLTIP_DEFAULT
           
protected static String PROTOTYPE_DEPTH
           
protected static String REMOVE_INSTANCE_BUTTON_TOOLTIP
           
protected static String REMOVE_INSTANCE_BUTTON_TOOLTIP_DEFAULT
           
protected static String VIEW_INSTANCE_BUTTON_TOOLTIP
           
protected static String VIEW_INSTANCE_BUTTON_TOOLTIP_DEFAULT
           
 
Fields inherited from class edu.stanford.smi.protegex.util.AbstractWidgetState
_properties
 
Constructor Summary
ButtonRelatedWidgetState(edu.stanford.smi.protege.util.PropertyList properties)
           
 
Method Summary
 void dispose()
           
 String getAddInstanceButtonTooltip()
           
 String getAddInstanceDialogTitle()
           
 String getCreateInstanceButtonTooltip()
           
 String getCreateInstanceDialogTitle()
           
 String getDeleteInstanceButtonTooltip()
           
 String getPrototypeButtonTooltip()
           
 int getPrototypeDepth()
           
 String getRemoveInstanceButtonTooltip()
           
 String getViewInstanceButtonTooltip()
           
 boolean isDisplayAddInstanceButton()
           
 boolean isDisplayCreateInstanceButton()
           
 boolean isDisplayDeleteInstanceButton()
           
 boolean isDisplayPrototypeButton()
           
 boolean isDisplayRemoveInstanceButton()
           
 boolean isDisplayViewInstanceButton()
           
 void restore()
           
 void save()
           
 void setAddInstanceButtonTooltip(String addInstanceButtonTooltip)
           
 void setAddInstanceDialogTitle(String addInstanceDialogTitle)
           
 void setCreateInstanceButtonTooltip(String createInstanceButtonTooltip)
           
 void setCreateInstanceDialogTitle(String createInstanceDialogTitle)
           
 void setDeleteInstanceButtonTooltip(String removeInstanceButtonTooltip)
           
 void setDisplayAddInstanceButton(boolean displayAddInstanceButton)
           
 void setDisplayAddInstanceButton(Boolean displayAddInstanceButton)
           
 void setDisplayCreateInstanceButton(boolean displayCreateInstanceButton)
           
 void setDisplayCreateInstanceButton(Boolean displayCreateInstanceButton)
           
 void setDisplayDeleteInstanceButton(boolean displayDeleteInstanceButton)
           
 void setDisplayDeleteInstanceButton(Boolean displayDeleteInstanceButton)
           
 void setDisplayPrototypeButton(boolean displayPrototypeButton)
           
 void setDisplayPrototypeButton(Boolean displayPrototypeButton)
           
 void setDisplayRemoveInstanceButton(boolean displayRemoveInstanceButton)
           
 void setDisplayRemoveInstanceButton(Boolean displayRemoveInstanceButton)
           
 void setDisplayViewInstanceButton(boolean displayViewInstanceButton)
           
 void setDisplayViewInstanceButton(Boolean displayViewInstanceButton)
           
 void setPrototypeButtonTooltip(String prototypeButtonTooltip)
           
 void setPrototypeDepth(int prototypeDepth)
           
 void setPrototypeDepth(Integer prototypeDepth)
           
 void setRemoveInstanceButtonTooltip(String removeInstanceButtonTooltip)
           
 void setViewInstanceButtonTooltip(String viewInstanceButtonTooltip)
           
 
Methods inherited from class edu.stanford.smi.protegex.util.AbstractWidgetState
broadcast, isCustomized, readBoolean, readInt, readString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_prototypeDepth

protected int _prototypeDepth

_displayCreateInstanceButton

protected boolean _displayCreateInstanceButton

_displayAddInstanceButton

protected boolean _displayAddInstanceButton

_displayViewInstanceButton

protected boolean _displayViewInstanceButton

_displayRemoveInstanceButton

protected boolean _displayRemoveInstanceButton

_displayDeleteInstanceButton

protected boolean _displayDeleteInstanceButton

_displayPrototypeButton

protected boolean _displayPrototypeButton

_createInstanceButtonTooltip

protected String _createInstanceButtonTooltip

_addInstanceButtonTooltip

protected String _addInstanceButtonTooltip

_viewInstanceButtonTooltip

protected String _viewInstanceButtonTooltip

_removeInstanceButtonTooltip

protected String _removeInstanceButtonTooltip

_deleteInstanceButtonTooltip

protected String _deleteInstanceButtonTooltip

_prototypeButtonTooltip

protected String _prototypeButtonTooltip

_createInstanceDialogTitle

protected String _createInstanceDialogTitle

_addInstanceDialogTitle

protected String _addInstanceDialogTitle

PROTOTYPE_DEPTH

protected static final String PROTOTYPE_DEPTH

DISPLAY_CREATE_INSTANCE_BUTTON

protected static final String DISPLAY_CREATE_INSTANCE_BUTTON

DISPLAY_ADD_INSTANCE_BUTTON

protected static final String DISPLAY_ADD_INSTANCE_BUTTON

DISPLAY_VIEW_INSTANCE_BUTTON

protected static final String DISPLAY_VIEW_INSTANCE_BUTTON

DISPLAY_REMOVE_INSTANCE_BUTTON

protected static final String DISPLAY_REMOVE_INSTANCE_BUTTON

DISPLAY_DELETE_INSTANCE_BUTTON

protected static final String DISPLAY_DELETE_INSTANCE_BUTTON

DISPLAY_PROTOTYPE_BUTTON

protected static final String DISPLAY_PROTOTYPE_BUTTON

CREATE_INSTANCE_BUTTON_TOOLTIP

protected static final String CREATE_INSTANCE_BUTTON_TOOLTIP

ADD_INSTANCE_BUTTON_TOOLTIP

protected static final String ADD_INSTANCE_BUTTON_TOOLTIP

VIEW_INSTANCE_BUTTON_TOOLTIP

protected static final String VIEW_INSTANCE_BUTTON_TOOLTIP

REMOVE_INSTANCE_BUTTON_TOOLTIP

protected static final String REMOVE_INSTANCE_BUTTON_TOOLTIP

DELETE_INSTANCE_BUTTON_TOOLTIP

protected static final String DELETE_INSTANCE_BUTTON_TOOLTIP

PROTOTYPE_BUTTON_TOOLTIP

protected static final String PROTOTYPE_BUTTON_TOOLTIP

CREATE_INSTANCE_DIALOG_TITLE

protected static final String CREATE_INSTANCE_DIALOG_TITLE

ADD_INSTANCE_DIALOG_TITLE

protected static final String ADD_INSTANCE_DIALOG_TITLE

CREATE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

protected static final String CREATE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

ADD_INSTANCE_BUTTON_TOOLTIP_DEFAULT

protected static final String ADD_INSTANCE_BUTTON_TOOLTIP_DEFAULT

VIEW_INSTANCE_BUTTON_TOOLTIP_DEFAULT

protected static final String VIEW_INSTANCE_BUTTON_TOOLTIP_DEFAULT

REMOVE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

protected static final String REMOVE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

DELETE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

protected static final String DELETE_INSTANCE_BUTTON_TOOLTIP_DEFAULT

PROTOTYPE_BUTTON_TOOLTIP_DEFAULT

protected static final String PROTOTYPE_BUTTON_TOOLTIP_DEFAULT

CREATE_INSTANCE_DIALOG_TITLE_DEFAULT

protected static final String CREATE_INSTANCE_DIALOG_TITLE_DEFAULT

ADD_INSTANCE_DIALOG_TITLE_DEFAULT

protected static final String ADD_INSTANCE_DIALOG_TITLE_DEFAULT
Constructor Detail

ButtonRelatedWidgetState

public ButtonRelatedWidgetState(edu.stanford.smi.protege.util.PropertyList properties)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class AbstractWidgetState

getAddInstanceButtonTooltip

public String getAddInstanceButtonTooltip()

getAddInstanceDialogTitle

public String getAddInstanceDialogTitle()

getCreateInstanceButtonTooltip

public String getCreateInstanceButtonTooltip()

getCreateInstanceDialogTitle

public String getCreateInstanceDialogTitle()

getDeleteInstanceButtonTooltip

public String getDeleteInstanceButtonTooltip()

getPrototypeButtonTooltip

public String getPrototypeButtonTooltip()

getPrototypeDepth

public int getPrototypeDepth()

getRemoveInstanceButtonTooltip

public String getRemoveInstanceButtonTooltip()

getViewInstanceButtonTooltip

public String getViewInstanceButtonTooltip()

isDisplayAddInstanceButton

public boolean isDisplayAddInstanceButton()

isDisplayCreateInstanceButton

public boolean isDisplayCreateInstanceButton()

isDisplayDeleteInstanceButton

public boolean isDisplayDeleteInstanceButton()

isDisplayPrototypeButton

public boolean isDisplayPrototypeButton()

isDisplayRemoveInstanceButton

public boolean isDisplayRemoveInstanceButton()

isDisplayViewInstanceButton

public boolean isDisplayViewInstanceButton()

restore

public void restore()
Overrides:
restore in class AbstractWidgetState

save

public void save()
Overrides:
save in class AbstractWidgetState

setAddInstanceButtonTooltip

public void setAddInstanceButtonTooltip(String addInstanceButtonTooltip)

setAddInstanceDialogTitle

public void setAddInstanceDialogTitle(String addInstanceDialogTitle)

setCreateInstanceButtonTooltip

public void setCreateInstanceButtonTooltip(String createInstanceButtonTooltip)

setCreateInstanceDialogTitle

public void setCreateInstanceDialogTitle(String createInstanceDialogTitle)

setDeleteInstanceButtonTooltip

public void setDeleteInstanceButtonTooltip(String removeInstanceButtonTooltip)

setDisplayAddInstanceButton

public void setDisplayAddInstanceButton(Boolean displayAddInstanceButton)

setDisplayAddInstanceButton

public void setDisplayAddInstanceButton(boolean displayAddInstanceButton)

setDisplayCreateInstanceButton

public void setDisplayCreateInstanceButton(Boolean displayCreateInstanceButton)

setDisplayCreateInstanceButton

public void setDisplayCreateInstanceButton(boolean displayCreateInstanceButton)

setDisplayDeleteInstanceButton

public void setDisplayDeleteInstanceButton(Boolean displayDeleteInstanceButton)

setDisplayDeleteInstanceButton

public void setDisplayDeleteInstanceButton(boolean displayDeleteInstanceButton)

setDisplayPrototypeButton

public void setDisplayPrototypeButton(Boolean displayPrototypeButton)

setDisplayPrototypeButton

public void setDisplayPrototypeButton(boolean displayPrototypeButton)

setDisplayRemoveInstanceButton

public void setDisplayRemoveInstanceButton(Boolean displayRemoveInstanceButton)

setDisplayRemoveInstanceButton

public void setDisplayRemoveInstanceButton(boolean displayRemoveInstanceButton)

setDisplayViewInstanceButton

public void setDisplayViewInstanceButton(Boolean displayViewInstanceButton)

setDisplayViewInstanceButton

public void setDisplayViewInstanceButton(boolean displayViewInstanceButton)

setPrototypeButtonTooltip

public void setPrototypeButtonTooltip(String prototypeButtonTooltip)

setPrototypeDepth

public void setPrototypeDepth(int prototypeDepth)

setPrototypeDepth

public void setPrototypeDepth(Integer prototypeDepth)

setRemoveInstanceButtonTooltip

public void setRemoveInstanceButtonTooltip(String removeInstanceButtonTooltip)

setViewInstanceButtonTooltip

public void setViewInstanceButtonTooltip(String viewInstanceButtonTooltip)

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.