new DocumentsBox()
Extends
Methods
-
_buildList()
-
private
-
attachDocument()
-
- Source:
- To Do:
-
- Document the attachDocument method.
-
attachItem()
-
- Source:
- To Do:
-
- Document the attachItem method.
-
attrChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the attrChanged method.
-
create()
-
Creates a pop-up window for user to define the document relationships. For example, a file related to an account or a photograph related to an inventory item.
-
detachItem()
-
- Source:
- To Do:
-
- Document the detachItem method.
-
disabledChanged()
-
Reconsider whether buttons should be disabled. this.valueChanged() conveniently does this for us, so we use it even though the value hasn't changed.
- Inherited From:
- Source:
-
newDocument()
-
- Source:
- To Do:
-
- Document the newDocument method.
-
newItem()
-
- Source:
- To Do:
-
- Document the newItem method.
-
openItem()
-
- Inherited From:
- Source:
- To Do:
-
- Document the openItem method.
-
popupHidden()
-
- Source:
- To Do:
-
- Document the popupHidden method.
-
popupOk()
-
- Source:
- To Do:
-
- Document the popupOK method.
-
purposeSelected()
-
- Source:
- To Do:
-
- Document the purposeSelected method.
-
selectionChanged()
-
- Source:
- To Do:
-
- Document the selectionChanged method.
-
typeSelected()
-
- Source:
- To Do:
-
- Document the typeSelected method.
-
updateButtons()
-
Whether or not the new and attach buttons are enabled is based on complex criteria based on the status of the workspace model, the permissions of the user, and attributes of the list model. Therefore this code can be executed based on changes coming from multiple possible areas, and this function consolidates this functionality.
- Inherited From:
- Source:
-
valueChanged()
-
- Source:
- To Do:
-
- Document the valueChanged method.
-
workspaceModelStatusChanged()
-
When the workspace containing this box has a change to the status of the model, it waterfalls down an event to be handled here. We will want to enable the new- and attach- buttons if the model is no longer in READY_NEW state.
- Inherited From:
- Source: