vi.actions.tree

Module Contents

Classes

AddLeafAction

Creates a new leaf (ie. a file) for a tree application

AddNodeAction

Creates a new node (ie. a directory) for a tree application

EditAction

Edits an entry inside a tree application.

DeleteAction

Allows deleting an entry in a tree-module.

ReloadAction

Allows adding an entry in a list-module.

SelectRootNode

Allows selecting a different rootNode in Tree applications

class vi.actions.tree.AddLeafAction(*args, **kwargs)

Bases: flare.button.Button

Creates a new leaf (ie. a file) for a tree application

static isSuitableFor(module, handler, actionName)
onClick(self, sender=None)
resetLoadingState(self)
class vi.actions.tree.AddNodeAction(*args, **kwargs)

Bases: flare.button.Button

Creates a new node (ie. a directory) for a tree application

static isSuitableFor(module, handler, actionName)
onClick(self, sender=None)
resetLoadingState(self)
class vi.actions.tree.EditAction(*args, **kwargs)

Bases: flare.button.Button

Edits an entry inside a tree application. The type (node or leaf) of the entry is determined dynamically

onAttach(self)
onDetach(self)
onSelectionActivated(self, table, selection)
onSelectionChanged(self, table, selection, *args, **kwargs)
static isSuitableFor(module, handler, actionName)
onClick(self, sender=None)
resetLoadingState(self)
class vi.actions.tree.DeleteAction(*args, **kwargs)

Bases: flare.button.Button

Allows deleting an entry in a tree-module. The type (node or leaf) of the entry is determined dynamically.

onAttach(self)
onDetach(self)
onSelectionChanged(self, table, selection, *args, **kwargs)
static isSuitableFor(module, handler, actionName)
onClick(self, sender=None)
doDelete(self, dialog)
allDeletedSuccess(self, success)
resetLoadingState(self)
class vi.actions.tree.ReloadAction(*args, **kwargs)

Bases: flare.button.Button

Allows adding an entry in a list-module.

static isSuitableFor(module, handler, actionName)
onClick(self, sender=None)
resetLoadingState(self)
class vi.actions.tree.SelectRootNode(module, handler, actionName, *args, **kwargs)

Bases: flare.html5.Select

Allows selecting a different rootNode in Tree applications

onAttach(self)
onDetach(self)
update(self)
onRootNodeChanged(self, newNode, *args, **kwargs)
onRootNodesAvailable(self, req)
onChange(self, event)
static isSuitableFor(module, handler, actionName)