Added getEditView method