public SubComponentEditor(Editor editor) { mainEditor = (JelloBodyEditor)editor; body = (JelloBody)editor.target; }