rem: RuleFilterConfig::RuleFilterConfig(BMessage *settings) : BView(BRect(0,0,260,85),"rulefilter_config", B_FOLLOW_LEFT | B_FOLLOW_TOP, 0) {
add: RuleFilterConfig::RuleFilterConfig(BMessage *settings) : BView(BRect(0,0,260,85),"rulefilter_config", B_FOLLOW_LEFT | B_FOLLOW_TOP, 0), menu(NULL) {
context: RuleFilterConfig::RuleFilterConfig(BMessage *settings) : BView(BRect(0,0,260,85),"rulefilter_config", B_FOLLOW_LEFT | B_FOLLOW_TOP, 0) {	SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));	attr = new BTextControl(BRect(5,5,100,20),"attr",MDR_DIALECT_CHOICE ("If","条件:"),MDR_DIALECT_CHOICE ("header (e.g. Subject)","ヘッダ(例えばSubject)"),NULL);	attr->SetDivider(be_plain_font->StringWidth(MDR_DIALECT_CHOICE ("If ","条件: "))+ 4);	if (settings->HasString("attribute"))		attr->SetText(settings->FindString("attribute"));	AddChild(attr);		regex = new BTextControl(BRect(104,5,255,20),"attr",MDR_DIALECT_CHOICE (" is "," が "),MDR_DIALECT_CHOICE ("value (can be a regular expression, like *spam*)","値(正規表現対応)"),NULL);	regex->SetDivider(be_plain_font->StringWidth(MDR_DIALECT_CHOICE (" is "," が ")) + 4);	if (settings->HasString("regex"))		regex->SetText(settings->FindString("regex"));	AddChild(regex);		arg = new BFileControl(BRect(5,55,255,80),"arg",NULL,MDR_DIALECT_CHOICE ("this field is based on the Action","ここは動作によって意味が変わります"));	if (BControl *control = (BControl *)arg->FindView("select_file"))		control->SetEnabled(false);	if (settings->HasString("argument"))		arg->SetText(settings->FindString("argument"));		outbound = new BPopUpMenu(MDR_DIALECT_CHOICE ("<Choose Account>","<アカウントを選択>"));	BList list;	GetOutboundMailChains(&list);	if (settings->HasInt32("do_what"))		staging = settings->FindInt32("do_what");	else		staging = -1;	if (staging == 3)		chain = settings->FindInt32("argument");	else		chain = -1;	printf("Chain: %d\n",chain);	for (int32 i = 0; i < list.CountItems(); i++) {		BMenuItem *item = new BMenuItem(((BMailChain *)(list.ItemAt(i)))->Name(), new BMessage(((BMailChain *)(list.ItemAt(i)))->ID()));		outbound->AddItem(item);		if (((BMailChain *)(list.ItemAt(i)))->ID() == chain)			item->SetMarked(true);		delete (BMailChain *)(list.ItemAt(i));	}		}