class documentation
The Resources tree view for the ACME text UI.
| Method | __init__ |
Initialize the view. |
| Method | action |
Handle the Refresh action. |
| Method | compose |
Build the view. |
| Method | on |
Handle Click events. |
| Method | on |
Handle the show event. |
| Async Method | on |
Handle TabActivated message sent by TabbedContent. |
| Method | refresh |
Refresh the current node. |
| Method | refresh |
Refresh the parent node of the current node. |
| Method | set |
Set the header of the resource view. |
| Method | set |
Set the subtitle of the resource view. |
| Method | update |
Update the whole tree view. |
| Method | update |
Update the resource view. |
| Method | update |
Update the resource view with a value or an error message. |
| Constant | BINDINGS |
Key bindings for the Resources view. |
| Class Variable | dispatcher |
Injected Dispatcher instance. |
| Class Variable | tree |
The ID of the resource tab. |
| Class Variable | validator |
Injected Validator instance. |
| Instance Variable | current |
The current resource. |
| Property | create |
Return the CREATE view. |
| Property | delete |
Return the DELETE view. |
| Property | diagram |
Return the diagram view. |
| Property | request |
Return the requests view. |
| Property | resource |
Return the resource container. |
| Property | resource |
Return the resource tree. |
| Property | resource |
Return the resource view. |
| Property | services |
Return the services view. |
| Property | tabs |
Return the tabs. |
| Property | update |
Return the UPDATE view. |
| Method | _update |
Update the requests view. |
| Instance Variable | _app |
The application. |
| Instance Variable | _resource |
The resource view. |
| Instance Variable | _resource |
The container for the resource view. |
| Instance Variable | _tree |
The CREATE request tab. |
| Instance Variable | _tree |
The DELETE request tab. |
| Instance Variable | _tree |
The diagram tab. |
| Instance Variable | _tree |
The diagram view for the diagram tab. |
| Instance Variable | _tree |
The requests tab. |
| Instance Variable | _tree |
The requests view for the requests tab. |
| Instance Variable | _tree |
The CREATE view for the CREATE request tab. |
| Instance Variable | _tree |
The DELETE view for the DELETE request tab. |
| Instance Variable | _tree |
The services view for the services tab. |
| Instance Variable | _tree |
The UPDATE view for the UPDATE request tab. |
| Instance Variable | _tree |
The tabs of the tree view. |
| Instance Variable | _tree |
The services tab. |
| Instance Variable | _tree |
The UPDATE request tab. |
| Instance Variable | _tree |
The tree view. |
Handle TabActivated message sent by TabbedContent.
| Parameters | |
event:TabbedContent.TabActivated | The TabActivated event. |
Update the resource view with a value or an error message.
| Parameters | |
value:str | Resource | None | The value to display. |
error:str | None | The error message to display. |
BINDINGS =
¶
Key bindings for the Resources view.
| Value |
|