.models.domain.Document;
import <%= base_package %>.models.presentation.DocumentModel;
import <%= base_package %>.views.document.PlainDocumentView;
import <%= base_package %>.views.document.RichDocumentView;
import <%= base_package %>.views.document.DocumentView;
import <%= base_package %>.controllers.event.DocumentEvent;
import <%= base_package %>.controllers.event.UndoEvent;
import <%= base_package %>.controllers.manager.DocumentManager;
import <%= base_package %>.controllers.manager.UndoManager;
[Bindable] public var doc:Document;
]]>
{function( scope : IScope ) : Boolean {
return DocumentEvent(scope.event).reference != DocumentMap(scope.eventMap).doc;
}}