Class: DisplayListEditor

Environment: Siren
Superclass: Siren.EditorModel
Category: MusicUI-DisplayListViews
Instance variables: list

An instance of DisplayListEditor is used as the intermediary model for viewing lists.
It handles selection and operation on the list.
It adds itself as a dependent of the list and echoes its change messages (i.e., the update: message says self changed).

Instance Variable:
list the 'subject' list model
selection the current selection or nil

accessing

displayList
Answer the receiver's list.

list
Answer the receiver's list.

list: aList
Set the receiver's list, removing the dependency to the former list if necessary.

moveSelectionTo: newPoint
Move the editor's selection to the new point in the list.

initialize-release

release
Remove the dependency to the list.

editing

doDisplay
inspect button

doEdit
edit button

doFile
file i/o button

doInspect
Inspect the editor (if shiftDown) or the model.

doZoom
zoom button

updating

update: anAspect with: anArg from: aModel
Echo the model's changes, assuming a view is a dependent of the receiver.

MetaClass: DisplayListEditor class

instance creation

on: model