forked from maqetta/maqetta
-
Notifications
You must be signed in to change notification settings - Fork 0
Events
jhpedemonte edited this page Aug 19, 2011
·
5 revisions
Information about events used in the Maqetta code.
Note: Use dojo.subscribe()
to be notified of these events.
- A datastore has been added to the page.
- args:
-
id
{String} -
ds
{Object} -
type
{String}
-
- A Model resource has changed.
- args:
-
type
{String} - A description of the change. Can be one of: "renamed", "deleted", "created", "modified" -
resource
{Object} - Instance of resource which changed.
-
- Called for several different reasons:
- Model selection changed? (davinci/ui/ModelEditor.js) (I'm not totally sure, but I think this is part of "visual editor selection change", but on the model side, but needs to be sync'd with outline view because I think this is part of coordination selection across source and design views.)
- Selection in
dijit.Tree
changed (davinci/ve/views/DataStoresView.js) - New file selected in Files View (davinci/workbench/Explorer.js)
- New element selected in Outline View (davinci/workbench/OutlineView.js)