Constructor
new DataPackageView()
- Source:
Extends
Members
A reference to the parent EditorView that contains this view
Type:
- Since:
- Source:
Methods
addAll()
Add all rows to the DataPackageView
- Source:
addFilesAndFolders()
Add all the files and folders
- Source:
addNestedPackages(dataPackage)
Adds a nested data package to the package table.
Parameters:
Name |
Type |
Description |
dataPackage |
Object
|
The data package to be added. |
- Since:
- Source:
addOne()
Add a single DataItemView row to the DataPackageView
- Source:
checkForPrivateMembers()
Check for private members and disable download buttons if necessary.
- Since:
- Source:
collapse(e)
Collapse function to hide rows when a user clicks on a collapse control.
Parameters:
Name |
Type |
Description |
e |
Event
|
The event object. |
- Since:
- Source:
collapseAll(e)
Collapse all function to hide all child rows when a user clicks on a collapse-all control.
Parameters:
Name |
Type |
Description |
e |
Event
|
The event object. |
- Since:
- Source:
expand(e)
Expand function to show hidden rows when a user clicks on an expand control.
Parameters:
Name |
Type |
Description |
e |
Event
|
The event object. |
- Since:
- Source:
expandAll(e)
Expand all function to show all child rows when a user clicks on an expand-all control.
Parameters:
Name |
Type |
Description |
e |
Event
|
The event object. |
- Since:
- Source:
getNestedPackages()
Retrieves and processes nested packages for the current package.
- Since:
- Source:
onClose()
Close subviews as needed
- Source:
removeOne(item)
Remove the subview represented by the given model item.
Parameters:
Name |
Type |
Description |
item |
|
The model representing the sub view to be removed |
- Source:
render()
Render the DataPackage HTML
- Source:
renderDataPackage()
Render the Data Package View and insert it into this view
- Source:
renderShareControl()
Renders a control that opens the AccessPolicyView for editing permissions on this package
- Since:
- Source:
toggleRows()
Show or hide the data rows associated with the event row science metadata
- Source: