new MasterComponentTreeData(props)
Create a tree data object listing master component files.
Name | Type | Description |
---|---|---|
props | object |
Name | Type | Description |
---|---|---|
props.browser | ComponentBrowserModel | Reference to the component browser view model. |
Members
columnView
systemInterface
Methods
displayComponent(componentDecl)
Returns the text attributes needed to display an entry of the list covering the components contained in the currently openend component file.
Name | Type | Description |
---|---|---|
componentDecl | Object | The code entity representing the declaration of the component. |
displayComponentFile()
Returns the text attributes needed to display an entry that represents a component file.
displayDirectory(dir, isOpen)
Returns the text attributes needed to display a directory that contains a collection of component files.
Name | Type | Description |
---|---|---|
dir | String | The name of the directory. |
isOpen | Boolean | Wether or not the directory is currently opened. |
displayPackage()
Returns the text attributes needed to display a package that contains a collection of component files.
(async) ensurePopularComponentsCollection()
Initializes a local folder comprising a set of "popular" component files such as buttons, input fields or lists.
(async) getCustomLocalProjects()
Returns all the custom project inside the lively.next projects folder that may contain custom component definitions.
- To Do
- Implement this feature.