code: function (annotationModel) {
  			if (this._annotationModel) {
  				this._annotationModel.removeEventListener("Changed", this._listener.onAnnotationModelChanged); //$NON-NLS-0$
  			}
  			this._annotationModel = annotationModel;
  			if (this._annotationModel) {
  				this._annotationModel.addEventListener("Changed", this._listener.onAnnotationModelChanged); //$NON-NLS-0$
  			}
  		}
docs: Sets the annotation model for the ruler.
  
  @param {orion.editor.AnnotationModel} annotationModel the annotation model.
  
  @see orion.editor.Ruler#getAnnotationModel