rem: : BView(rect, "MIME Type Editor", B_FOLLOW_LEFT_RIGHT, 0),
add: : TypeEditorView(rect, "MIME Type Editor", B_FOLLOW_LEFT_RIGHT, 0),
context: MimeTypeEditor::MimeTypeEditor(BRect rect, DataEditor &editor)	: BView(rect, "MIME Type Editor", B_FOLLOW_LEFT_RIGHT, 0),	fEditor(editor){	SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));	fTextControl = new BTextControl(rect.InsetByCopy(5, 5), B_EMPTY_STRING, "MIME Type:", NULL,							new BMessage(kMsgValueChanged), B_FOLLOW_ALL);	fTextControl->SetDivider(StringWidth(fTextControl->Label()) + 8);	float width, height;	fTextControl->GetPreferredSize(&width, &height);	fTextControl->ResizeTo(rect.Width() - 10, height);	ResizeTo(rect.Width(), height + 10);	AddChild(fTextControl);}