: m_EnablePackaging(
false),
67m_EnableDecideLater(
true),
68m_EnableCreateSeparate(
true),
69m_ProjectMode(eAddToExistingProject),
70m_SelectedProjectId(-1),
72m_CreateFolder(
false),
73m_FolderName(
"New Folder")
103 const string& section)
const 119 const string& section)
127 if(saved_pid == pid) {
196wxPanel::Create( parent,
id, pos,
size, style );
201GetSizer()->SetSizeHints(
this);
260wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
261itemPanel1->SetSizer(itemBoxSizer2);
263wxRadioButton* itemRadioButton3 =
newwxRadioButton( itemPanel1,
ID_CREATE_NEW_BTN,
_(
"Create a new Project"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
264itemRadioButton3->SetValue(
false);
265itemBoxSizer2->Add(itemRadioButton3, 0, wxALIGN_LEFT|wxALL, 5);
275wxBoxSizer* itemBoxSizer6 =
newwxBoxSizer(wxHORIZONTAL);
276itemBoxSizer2->Add(itemBoxSizer6, 1, wxGROW|wxALL, 0);
278itemBoxSizer6->Add(5, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
280wxArrayString m_ProjectListStrings;
284 m_Separator=
newwxStaticLine( itemPanel1, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
285itemBoxSizer2->Add(
m_Separator, 0, wxGROW|wxALL, 5);
293itemBoxSizer2->Add(
m_FolderCheck, 0, wxALIGN_LEFT|wxALL, 5);
295wxBoxSizer* itemBoxSizer12 =
newwxBoxSizer(wxHORIZONTAL);
296itemBoxSizer2->Add(itemBoxSizer12, 0, wxGROW|wxALL, 0);
298itemBoxSizer12->Add(5, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
301itemBoxSizer12->Add(
m_FolderInput, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
304itemRadioButton3->SetValidator( wxGenericValidator(&
m_CreateOption) );
319GetSizer()->Hide(GetSizer()->GetItemCount() - 1);
341 if(doc && doc->IsLoaded()) {
417 boolen_list = (prj_count > 0);
435 returnwxPanel::TransferDataToWindow();
441 if(wxPanel::TransferDataFromWindow()) {
466wxPanel::OnInitDialog(event);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
static string MakeKey(const string §ion, const string &key, const string &delim=CGuiRegistry::kDecimalDot)
create a key from a section and a subkey
CProjectSelectorPanel - a panel that allows the user to specify how the project items created by a pl...
SProjectSelectorParams m_Params
void OnInitDialog(wxInitDialogEvent &event)
void OnProjectListSelected(wxCommandEvent &event)
wxTextCtrl * m_FolderInput
void OnCreateFolderCheckClick(wxCommandEvent &event)
wxRadioButton * m_CreateSeparateRadio
wxCheckBox * m_PackageCheck
wxCheckBox * m_FolderCheck
TProjectIdVector m_ProjectIds
wxRadioButton * m_ExistingRadio
bool Create(wxWindow *parent, wxWindowID id=ID_CPROJECTSELECTORPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
virtual bool TransferDataFromWindow()
wxStaticLine * m_Separator
void OnCreateDepBtnSelected(wxCommandEvent &event)
void x_FillProjectsList()
CProjectService * m_ProjectService
this member is used for saving projects IDs within the session static TProjectId m_LastSelectedProjec...
void OnCreateNewBtnSelected(wxCommandEvent &event)
wxBitmap GetBitmapResource(const wxString &name)
CProjectSelectorPanel()
CProjectSelectorPanel.
void SetProjectService(CProjectService *service)
wxIcon GetIconResource(const wxString &name)
void GetParams(SProjectSelectorParams ¶ms) const
void OnAddToExistBtnSelected(wxCommandEvent &event)
virtual bool TransferDataToWindow()
wxListBox * m_ProjectList
static bool ShowToolTips()
void x_SelectProjectByParams()
void SetParams(const SProjectSelectorParams ¶ms)
CProjectService - a service providing API for operations with Workspaces and Projects.
CRef< objects::CGBWorkspace > GetGBWorkspace()
class CRegistryReadView provides a nested hierarchical view at a particular key.
int GetInt(const string &key, int default_val=0) const
access a named key at this level, with no recursion
bool GetBool(const string &key, bool default_val=false) const
string GetString(const string &key, const string &default_val=kEmptyStr) const
void Set(const string &key, int val)
access a named key at this level, with no recursion
CProjectSelectOptions - describes how new Project Items shall be added to a workspace.
void Set_CreateNewProject(const string &folder=kEmptyStr)
void Set_CreateSeparateProjects()
void Set_AddToExistingProject(TProjectId &project_id, const string &folder=kEmptyStr)
Template class for iteration on objects of class C (non-medifiable version)
vector< SConstScopedObject > TConstScopedObjects
static TPid GetPid(void)
Get process identifier (pid) for the current process.
pid_t TPid
Process identifier (PID) and process handle.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const TTitle & GetTitle(void) const
Get the Title member data.
unsigned int
A callback function used to compare two keys in a database.
const struct ncbi::grid::netcache::search::fields::SIZE size
Defines process management classes.
static const char * kCreateFolderTag
static const char * kSelPrjIdTag
static const char * kModeTag
static const char * kPIDTag
static const char * kFolderNameTag
SProjectSelectorParams - holds data for CProjectSelectorPanel.
@ eCreateSeparateProjects
void SelectProjectByObjects(TConstScopedObjects &objects, CProjectService *srv)
is all objects belong to the same project - selects the project
void LoadSettings(CRegistryReadView &view, const string §ion)
TProjectId m_SelectedProjectId
bool m_CreateFolder
package in a single item
void ToLoadingOptions(CSelectProjectOptions &options)
bool m_EnableCreateSeparate
void SaveSettings(CRegistryWriteView &view, const string §ion) const
wxString ToWxString(const string &s)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4