Lines Matching refs:model
172 Model model(&ref, true);
173 if (model.InitCheck() != B_OK)
176 if (!ShouldShowModel(&model))
179 BMenuItem* item = BNavMenu::NewModelItem(&model,
180 model.IsDirectory() ? fOpenFolderMessage : fOpenFileMessage,
193 fUniqueRefCheck.push_back(*model.EntryRef());
226 Model model(&ref, true);
227 if (model.InitCheck() != B_OK)
230 if (!ShouldShowModel(&model))
233 BMenuItem* item = BNavMenu::NewModelItem(&model,
282 Model model(&ref, true);
283 if (model.InitCheck() != B_OK)
286 if (!ShouldShowModel(&model))
289 BMenuItem* item = BNavMenu::NewModelItem(&model,
331 FavoritesMenu::ShouldShowModel(const Model* model)
333 if (fIsSavePanel && model->IsFile())
336 if (!fRefFilter || model->Node() == NULL)
340 convert_to_stat_beos(model->StatBuf(), &statBeOS);
342 return fRefFilter->Filter(model->EntryRef(), model->Node(), &statBeOS,
343 model->MimeType());
443 Model model(&ref, true);
444 ModelMenuItem* item = BNavMenu::NewModelItem(&model,