new WorkspaceActionsManager()
Manages the actions available for the workspace.
Methods
-
registerCreateAction(createAction)
-
Register a sync.api.CreateDocumentAction. All the registered CreateDocumentActions will appear on the user's dashboard.
Parameters:
Name Type Description createAction
sync.api.CreateDocumentAction The action to register. -
registerOpenAction(openAction)
-
Register a sync.actions.OpenAction used to open documents in a file repositories. All the registered OpenActions will appear on the user's dashboard.
Parameters:
Name Type Description openAction
sync.actions.OpenAction The action to register.