Constructor
new VersionTimelineGroupsView()
- Since:
- Source:
Extends
Members
type :string
Identifier used when the application inspects view types.
Type:
- Source:
Methods
addOne(model)
Add a group view for a newly added model.
Parameters:
| Name |
Type |
Description |
model |
Backbone.Model
|
Added group model. |
- Source:
Add tooltips to the ObjectVersionViews within each group.
- Source:
Ensure a child group view exists for the given model.
Parameters:
| Name |
Type |
Description |
model |
Backbone.Model
|
VersionTimeLineGroup model (defined in
VersionTimelineGroups collection). |
- Source:
Returns:
The group view instance.
-
Type
-
VersionTimelineGroupView
initialize(options)
Initialize the view and bind collection listeners.
Parameters:
| Name |
Type |
Description |
options |
object
|
View options.
Properties
| Name |
Type |
Attributes |
Description |
referencePid |
string
|
<optional>
|
PID used for badge context. |
|
- Source:
onClose()
Clean up child views.
- Source:
remove()
- Source:
removeOne(model)
Remove the group view for a removed model.
Parameters:
| Name |
Type |
Description |
model |
Backbone.Model
|
Removed group model. |
- Source:
Render all group views in the collection.
- Source:
Returns:
The view instance.
-
Type
-
VersionTimelineGroupsView
updateGroupDate(model)
Update the group view's date header when its date or label changes.
Parameters:
| Name |
Type |
Description |
model |
Backbone.Model
|
Updated group model. |
- Source:
updateGroupModels(model)
Update the group view's models when the group changes.
Parameters:
| Name |
Type |
Description |
model |
Backbone.Model
|
Updated group model. |
- Source:
updateVisualState()
Sync the ObjectGroupViews hidden/conflict classes with their models'
hiddenByUI and hasDateConflict properties. Run after batch-updating
models.
- Source: