add custom editor, copy from MITK source.