rem: : BView(rect, "Boolean Editor", B_FOLLOW_NONE, 0),
add: : TypeEditorView(rect, "Boolean Editor", B_FOLLOW_NONE, 0),
context: BooleanEditor::BooleanEditor(BRect rect, DataEditor &editor)	: BView(rect, "Boolean Editor", B_FOLLOW_NONE, 0),	fEditor(editor){	SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));	BPopUpMenu *menu = new BPopUpMenu("bool");	BMessage *message;	menu->AddItem(fFalseMenuItem = new BMenuItem("false", new BMessage(kMsgValueChanged)));	menu->AddItem(fTrueMenuItem = new BMenuItem("true", message = new BMessage(kMsgValueChanged)));	message->AddInt8("value", 1);	BMenuField *menuField = new BMenuField(rect.InsetByCopy(5, 5), B_EMPTY_STRING,						"Boolean Value:", menu, B_FOLLOW_LEFT_RIGHT);	menuField->SetDivider(StringWidth(menuField->Label()) + 8);	menuField->ResizeToPreferred();	ResizeTo(menuField->Bounds().Width() + 10, menuField->Bounds().Height() + 10);	UpdateMenuField();	AddChild(menuField);}