Add editor class (a custom graphics view).