edu.stanford.smi.protegex.widget.diagram
Class DiagramWidgetState
java.lang.Object
|
+--java.util.Observable
|
+--edu.stanford.smi.protegex.util.AbstractWidgetState
|
+--edu.stanford.smi.protegex.util.ButtonRelatedWidgetState
|
+--edu.stanford.smi.protegex.widget.diagram.DiagramWidgetState
- All Implemented Interfaces:
- Constants
- public class DiagramWidgetState
- extends ButtonRelatedWidgetState
- implements Constants
Description of the Class
- Author:
- William Grosso
Fields inherited from class edu.stanford.smi.protegex.util.ButtonRelatedWidgetState |
_addInstanceButtonTooltip, _addInstanceDialogTitle, _createInstanceButtonTooltip, _createInstanceDialogTitle, _deleteInstanceButtonTooltip, _displayAddInstanceButton, _displayCreateInstanceButton, _displayDeleteInstanceButton, _displayPrototypeButton, _displayRemoveInstanceButton, _displayViewInstanceButton, _prototypeButtonTooltip, _prototypeDepth, _removeInstanceButtonTooltip, _viewInstanceButtonTooltip, ADD_INSTANCE_BUTTON_TOOLTIP, ADD_INSTANCE_BUTTON_TOOLTIP_DEFAULT, ADD_INSTANCE_DIALOG_TITLE, ADD_INSTANCE_DIALOG_TITLE_DEFAULT, CREATE_INSTANCE_BUTTON_TOOLTIP, CREATE_INSTANCE_BUTTON_TOOLTIP_DEFAULT, CREATE_INSTANCE_DIALOG_TITLE, CREATE_INSTANCE_DIALOG_TITLE_DEFAULT, DELETE_INSTANCE_BUTTON_TOOLTIP, DELETE_INSTANCE_BUTTON_TOOLTIP_DEFAULT, DISPLAY_ADD_INSTANCE_BUTTON, DISPLAY_CREATE_INSTANCE_BUTTON, DISPLAY_DELETE_INSTANCE_BUTTON, DISPLAY_PROTOTYPE_BUTTON, DISPLAY_REMOVE_INSTANCE_BUTTON, DISPLAY_VIEW_INSTANCE_BUTTON, PROTOTYPE_BUTTON_TOOLTIP, PROTOTYPE_BUTTON_TOOLTIP_DEFAULT, PROTOTYPE_DEPTH, REMOVE_INSTANCE_BUTTON_TOOLTIP, REMOVE_INSTANCE_BUTTON_TOOLTIP_DEFAULT, VIEW_INSTANCE_BUTTON_TOOLTIP, VIEW_INSTANCE_BUTTON_TOOLTIP_DEFAULT |
Fields inherited from interface edu.stanford.smi.protegex.widget.diagram.Constants |
CONFIGURATION_BASED_VISIBILITY_CHECKER, CONNECTOR_CLASS, CONNECTORS_SLOT, DEFAULT_LAST_DIVIDER_LOCATION, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_HEIGHT, DEFAULT_LOWER_BOUND_ON_DIAGRAM_LOGICAL_WIDTH, DEFAULT_NODE_HEIGHT, DEFAULT_NODE_WIDTH, FIRST_OBJECT_SLOT_NAME, FIRST_OBJECT_SLOT_POINTER_NAME, IMAGE_CONTROLPOINT_PRECISION, IMAGE_MINIMUM_SIZE, LAST_DIVIDER_LOCATION, LAYOUT_INFORMATION_SLOT, LOCATION_SLOT, LOWER_RIGHT_CORNER_SLOT, MAIN_SIDE_RECTANGLE_HEIGHT, MAIN_SIDE_RECTANGLE_WIDTH, NETWORK_CLASS, NETWORK_METACLASS, NODE_SLOT, OBJECT_LOCATION_CLASS, OBJECT_SLOT, POINT_CLASS, POINT_X_SLOT, POINT_Y_SLOT, PROJECT_VISIBILITY_CHECKER, RECTANGLE_CLASS, SECOND_OBJECT_SLOT_NAME, SECOND_OBJECT_SLOT_POINTER_NAME, UPPER_LEFT_CORNER_SLOT, WIRE_CONTROLPOINT_PRECISION, WIRE_MINIMUM_SIZE |
Methods inherited from class edu.stanford.smi.protegex.util.ButtonRelatedWidgetState |
dispose, getAddInstanceButtonTooltip, getAddInstanceDialogTitle, getCreateInstanceButtonTooltip, getCreateInstanceDialogTitle, getDeleteInstanceButtonTooltip, getPrototypeButtonTooltip, getPrototypeDepth, getRemoveInstanceButtonTooltip, getViewInstanceButtonTooltip, isDisplayAddInstanceButton, isDisplayCreateInstanceButton, isDisplayDeleteInstanceButton, isDisplayPrototypeButton, isDisplayRemoveInstanceButton, isDisplayViewInstanceButton, setAddInstanceButtonTooltip, setAddInstanceDialogTitle, setCreateInstanceButtonTooltip, setCreateInstanceDialogTitle, setDeleteInstanceButtonTooltip, setDisplayAddInstanceButton, setDisplayAddInstanceButton, setDisplayCreateInstanceButton, setDisplayCreateInstanceButton, setDisplayDeleteInstanceButton, setDisplayDeleteInstanceButton, setDisplayPrototypeButton, setDisplayPrototypeButton, setDisplayRemoveInstanceButton, setDisplayRemoveInstanceButton, setDisplayViewInstanceButton, setDisplayViewInstanceButton, setPrototypeButtonTooltip, setPrototypeDepth, setPrototypeDepth, setRemoveInstanceButtonTooltip, setViewInstanceButtonTooltip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISPLAY_CLASS_BASED_HIDER_BUTTON
protected static final String DISPLAY_CLASS_BASED_HIDER_BUTTON
DISPLAY_REUSABLE_FORM_BUTTON
protected static final String DISPLAY_REUSABLE_FORM_BUTTON
DISPLAY_LEGEND_BUTTON
protected static final String DISPLAY_LEGEND_BUTTON
DISPLAY_THUMBNAIL_BUTTON
protected static final String DISPLAY_THUMBNAIL_BUTTON
DISPLAY_WIRE_BUILDER_BUTTON
protected static final String DISPLAY_WIRE_BUILDER_BUTTON
DISPLAY_FLOWCHART_BUTTON
protected static final String DISPLAY_FLOWCHART_BUTTON
CLASS_BASED_HIDER_BUTTON_TOOLTIP
protected static final String CLASS_BASED_HIDER_BUTTON_TOOLTIP
REUSABLE_FORM_BUTTON_TOOLTIP
protected static final String REUSABLE_FORM_BUTTON_TOOLTIP
LEGEND_BUTTON_TOOLTIP
protected static final String LEGEND_BUTTON_TOOLTIP
THUMBNAIL_BUTTON_TOOLTIP
protected static final String THUMBNAIL_BUTTON_TOOLTIP
WIRE_BUILDER_BUTTON_TOOLTIP
protected static final String WIRE_BUILDER_BUTTON_TOOLTIP
FLOWCHART_BUTTON_TOOLTIP
protected static final String FLOWCHART_BUTTON_TOOLTIP
CLASS_BASED_HIDER_BUTTON_TOOLTIP_DEFAULT
protected static final String CLASS_BASED_HIDER_BUTTON_TOOLTIP_DEFAULT
REUSABLE_FORM_BUTTON_TOOLTIP_DEFAULT
protected static final String REUSABLE_FORM_BUTTON_TOOLTIP_DEFAULT
LEGEND_BUTTON_TOOLTIP_DEFAULT
protected static final String LEGEND_BUTTON_TOOLTIP_DEFAULT
THUMBNAIL_BUTTON_TOOLTIP_DEFAULT
protected static final String THUMBNAIL_BUTTON_TOOLTIP_DEFAULT
WIRE_BUILDER_BUTTON_TOOLTIP_DEFAULT
protected static final String WIRE_BUILDER_BUTTON_TOOLTIP_DEFAULT
FLOWCHART_BUTTON_TOOLTIP_DEFAULT
protected static final String FLOWCHART_BUTTON_TOOLTIP_DEFAULT
_displayClassBasedHiderButton
protected boolean _displayClassBasedHiderButton
_displayReusableFormButton
protected boolean _displayReusableFormButton
_displayLegendButton
protected boolean _displayLegendButton
_displayThumbnailButton
protected boolean _displayThumbnailButton
_displayWirebuilderButton
protected boolean _displayWirebuilderButton
_displayFlowchartButton
protected boolean _displayFlowchartButton
_classBasedHiderButtonTooltip
protected String _classBasedHiderButtonTooltip
_reusableFormButtonTooltip
protected String _reusableFormButtonTooltip
_legendButtonTooltip
protected String _legendButtonTooltip
_thumbnailButtonTooltip
protected String _thumbnailButtonTooltip
_wirebuilderButtonTooltip
protected String _wirebuilderButtonTooltip
_flowchartButtonTooltip
protected String _flowchartButtonTooltip
DiagramWidgetState
public DiagramWidgetState(DiagramWidget widget,
edu.stanford.smi.protege.util.PropertyList properties)
getClassBasedHiderButtonTooltip
public String getClassBasedHiderButtonTooltip()
getConnectorClses
public Collection getConnectorClses()
getDefaultVisibilityChecker
public TypeBasedVisibilityChecker getDefaultVisibilityChecker()
getFlowchartButtonTooltip
public String getFlowchartButtonTooltip()
getLegendButtonTooltip
public String getLegendButtonTooltip()
getLowerBoundOnDiagramHeight
public int getLowerBoundOnDiagramHeight()
getLowerBoundOnDiagramWidth
public int getLowerBoundOnDiagramWidth()
getNodeClses
public Collection getNodeClses()
getPaletteDisplayed
public boolean getPaletteDisplayed()
getReusableFormButtonTooltip
public String getReusableFormButtonTooltip()
getStateForConnector
public WireState getStateForConnector(edu.stanford.smi.protege.model.Cls connectorClass)
getStateForConnector
public WireState getStateForConnector(edu.stanford.smi.protege.model.Instance connectorInstance)
getStateForConnector
public WireState getStateForConnector(String connectorClassName)
getStateForNode
public NodeState getStateForNode(edu.stanford.smi.protege.model.Cls nodeClass)
getStateForNode
public NodeState getStateForNode(edu.stanford.smi.protege.model.Instance nodeInstance)
getStateForNode
public NodeState getStateForNode(String nodeClassName)
getThumbnailButtonTooltip
public String getThumbnailButtonTooltip()
getWirebuilderButtonTooltip
public String getWirebuilderButtonTooltip()
isDisplayClassBasedHiderButton
public boolean isDisplayClassBasedHiderButton()
isDisplayFlowchartButton
public boolean isDisplayFlowchartButton()
isDisplayLegendButton
public boolean isDisplayLegendButton()
isDisplayReusableFormButton
public boolean isDisplayReusableFormButton()
isDisplayThumbnailButton
public boolean isDisplayThumbnailButton()
isDisplayWirebuilderButton
public boolean isDisplayWirebuilderButton()
isPaletteDisplayed
public boolean isPaletteDisplayed()
restore
public void restore()
- Overrides:
restore
in class ButtonRelatedWidgetState
save
public void save()
- Overrides:
save
in class ButtonRelatedWidgetState
setClassBasedHiderButtonTooltip
public void setClassBasedHiderButtonTooltip(String classBasedHiderButtonTooltip)
setDefaultVisibilityChecker
public void setDefaultVisibilityChecker(TypeBasedVisibilityChecker defaultVisibilityChecker)
setDisplayClassBasedHiderButton
public void setDisplayClassBasedHiderButton(Boolean displayClassBasedHiderButton)
setDisplayClassBasedHiderButton
public void setDisplayClassBasedHiderButton(boolean displayClassBasedHiderButton)
setDisplayFlowchartButton
public void setDisplayFlowchartButton(Boolean displayFlowchartButton)
setDisplayFlowchartButton
public void setDisplayFlowchartButton(boolean displayFlowchartButton)
setDisplayLegendButton
public void setDisplayLegendButton(Boolean displayLegendButton)
setDisplayLegendButton
public void setDisplayLegendButton(boolean displayLegendButton)
setDisplayReusableFormButton
public void setDisplayReusableFormButton(Boolean displayReusableFormButton)
setDisplayReusableFormButton
public void setDisplayReusableFormButton(boolean displayReusableFormButton)
setDisplayThumbnailButton
public void setDisplayThumbnailButton(Boolean displayThumbnailButton)
setDisplayThumbnailButton
public void setDisplayThumbnailButton(boolean displayThumbnailButton)
setDisplayWirebuilderButton
public void setDisplayWirebuilderButton(Boolean displayWirebuilderButton)
setDisplayWirebuilderButton
public void setDisplayWirebuilderButton(boolean displayWirebuilderButton)
setFlowchartButtonTooltip
public void setFlowchartButtonTooltip(String flowchartButtonTooltip)
setLegendButtonTooltip
public void setLegendButtonTooltip(String legendButtonTooltip)
setLowerBoundOnDiagramHeight
public void setLowerBoundOnDiagramHeight(int lowerBoundOnDiagramHeight)
setLowerBoundOnDiagramWidth
public void setLowerBoundOnDiagramWidth(int lowerBoundOnDiagramWidth)
setPaletteDisplayed
public void setPaletteDisplayed(boolean paletteDisplayed)
setReusableFormButtonTooltip
public void setReusableFormButtonTooltip(String reusableFormButtonTooltip)
setThumbnailButtonTooltip
public void setThumbnailButtonTooltip(String thumbnailButtonTooltip)
setWirebuilderButtonTooltip
public void setWirebuilderButtonTooltip(String wirebuilderButtonTooltip)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.