int HeaderFixup::Configure() { cbConfigurationDialog dlg(Manager::Get()->GetAppWindow(), wxID_ANY, _("Header Fixup Config")); cbConfigurationPanel* panel = GetConfigurationPanel(&dlg); if (panel) { dlg.AttachConfigurationPanel(panel); PlaceWindow(&dlg); return dlg.ShowModal() == wxID_OK ? 0 : -1; } return 1; }// Configure
int CodeChecker::Configure() { //create and display the configuration dialog for your plugin cbConfigurationDialog dlg(Manager::Get()->GetAppWindow(), wxID_ANY, _("Your dialog title")); cbConfigurationPanel* panel = GetConfigurationPanel(&dlg); if (panel) { dlg.AttachConfigurationPanel(panel); PlaceWindow(&dlg); return dlg.ShowModal() == wxID_OK ? 0 : -1; } return -1; }
int ShellExtensions::Configure() { //create and display the configuration dialog for your plugin cbConfigurationDialog dlg(Manager::Get()->GetAppWindow(), wxID_ANY, _("ShellCommand Settings")); cbConfigurationPanel* panel = GetConfigurationPanel(&dlg); if (panel) { dlg.AttachConfigurationPanel(panel); PlaceWindow(&dlg); return dlg.ShowModal() == wxID_OK ? 0 : -1; } return -1; }
int PythonInterpreter::Configure() { //create and display the configuration dialog for the plugin cbConfigurationDialog dlg(Manager::Get()->GetAppWindow(), wxID_ANY, _("Python Language Properties")); cbConfigurationPanel* panel = GetConfigurationPanel(&dlg); if (panel) { dlg.AttachConfigurationPanel(panel); PlaceWindow(&dlg); return dlg.ShowModal() == wxID_OK ? 0 : -1; } return -1; }
int ThreadSearch::Configure() { if ( !IsAttached() ) return -1; // Creates and displays the configuration dialog for the plugin cbConfigurationDialog dlg(Manager::Get()->GetAppWindow(), wxID_ANY, wxT("Thread search")); cbConfigurationPanel* panel = GetConfigurationPanel(&dlg); if (panel) { dlg.AttachConfigurationPanel(panel); PlaceWindow(&dlg); return dlg.ShowModal() == wxID_OK ? 0 : -1; } return -1; }