Added toolbar action for duplicating views. Automatically closing 
open editor on view that is being deleted.
Discovered getEnumConstants.