In order to work with user interface documents containing instances of
reusable templates which describe both the appearance and behavior for a
user interface element, editing functionality is provided. The user
interface document can be edited by selecting items from a view of the
user interface document and indicating an edit to be performed. Edits may
be to an underlying template or templates, or to properties of selected
items. The scope of the edit is determined by user indication and/or
defaults of user preference. Locks are provided in order to prevent
accidental editing of some locked element or template. A graphical tree
view, a list view (text-based tree view), or an artboard view may be
presented to a user in order to facilitate the selection and editing
process.