KiCad PCB EDA Suite
|
PROJECT_TREE_PANE Window to display the tree files. More...
#include <project_tree_pane.h>
Public Member Functions | |
PROJECT_TREE_PANE (KICAD_MANAGER_FRAME *parent) | |
The frame that shows the tree list of files and subdirectories inside the working directory. More... | |
~PROJECT_TREE_PANE () | |
void | ReCreateTreePrj () |
Create or modify the tree showing project file names. More... | |
void | FileWatcherReset () |
Reinit the watched paths Should be called after opening a new project to rebuild the list of watched paths. More... | |
void | EmptyTreePrj () |
Delete all m_TreeProject entries. More... | |
Public Attributes | |
KICAD_MANAGER_FRAME * | m_Parent |
PROJECT_TREE * | m_TreeProject |
Protected Member Functions | |
std::vector< PROJECT_TREE_ITEM * > | GetSelectedData () |
Function GetSelectedData return the item data from item currently selected (highlighted) Note this is not necessary the "clicked" item, because when expanding, collapsing an item this item is not selected. More... | |
PROJECT_TREE_ITEM * | GetItemIdData (wxTreeItemId aId) |
Function GetItemIdData return the item data corresponding to a wxTreeItemId identifier. More... | |
Static Protected Member Functions | |
static wxString | GetFileExt (TREE_FILE_TYPE type) |
Private Member Functions | |
void | onSelect (wxTreeEvent &Event) |
Called on a double click on an item. More... | |
void | onExpand (wxTreeEvent &Event) |
Called on a click on the + or - button of an item with children. More... | |
void | onRight (wxTreeEvent &Event) |
Called on a right click on an item. More... | |
void | onOpenSelectedFileWithTextEditor (wxCommandEvent &event) |
Function onOpenSelectedFileWithTextEditor Call the text editor to open the selected file in the tree project. More... | |
void | onDeleteFile (wxCommandEvent &event) |
Function onDeleteFile Delete the selected file or directory in the tree project. More... | |
void | onRenameFile (wxCommandEvent &event) |
Function onRenameFile Rename the selected file or directory in the tree project. More... | |
void | onOpenDirectory (wxCommandEvent &event) |
Function onOpenDirectory Handles the right-click menu for opening a directory in the current system file browser. More... | |
void | onCreateNewDirectory (wxCommandEvent &event) |
Function onCreateNewDirectory Creates a new subdirectory inside the current kicad project directory the user is prompted to enter a directory name. More... | |
void | onSwitchToSelectedProject (wxCommandEvent &event) |
Switch to a other project selected from the tree project (by selecting an other .pro file inside the current project folder) More... | |
void | onIdle (wxIdleEvent &aEvent) |
Idle event handler, used process the selected items at a point in time when all other events have been consumed. More... | |
void | onPaint (wxPaintEvent &aEvent) |
We don't have uniform borders so we have to draw them ourselves. More... | |
void | onGitInitializeProject (wxCommandEvent &event) |
Initialize a new git repository in the current project directory. More... | |
void | onGitCommit (wxCommandEvent &event) |
Commit the current project saved changes to the git repository. More... | |
void | onGitPullProject (wxCommandEvent &event) |
Pull the latest changes from the git repository. More... | |
void | onGitPushProject (wxCommandEvent &event) |
Push the current project changes to the git repository. More... | |
void | onGitSwitchBranch (wxCommandEvent &event) |
Switch to a different branch in the git repository. More... | |
void | onGitCompare (wxCommandEvent &event) |
Compare the current project to a different branch in the git repository. More... | |
void | onGitRemoveVCS (wxCommandEvent &event) |
Remove the git repository from the current project directory. More... | |
void | onGitAddToIndex (wxCommandEvent &event) |
Add a file to the git index. More... | |
void | onGitRemoveFromIndex (wxCommandEvent &event) |
Remove a file from the git index. More... | |
void | onGitSyncProject (wxCommandEvent &event) |
Sync the current project with the git repository. More... | |
void | onGitFetch (wxCommandEvent &event) |
Fetch the latest changes from the git repository. More... | |
void | onGitResolveConflict (wxCommandEvent &event) |
Resolve conflicts in the git repository. More... | |
void | onGitRevertLocal (wxCommandEvent &event) |
Revert the local repository to the last commit. More... | |
void | updateGitStatusIcons () |
Updates the icons shown in the tree project to reflect the current git status. More... | |
bool | hasChangedFiles () |
Returns true if the current project has any uncommitted changes. More... | |
bool | hasLocalCommits () |
Returns true if the current project has local commits that have not been pushed to the remote repository. More... | |
void | shutdownFileWatcher () |
Shutdown the file watcher. More... | |
wxTreeItemId | addItemToProjectTree (const wxString &aName, const wxTreeItemId &aParent, std::vector< wxString > *aProjectNames, bool aRecurse) |
Function addItemToProjectTree. More... | |
wxTreeItemId | findSubdirTreeItem (const wxString &aSubDir) |
Function findSubdirTreeItem searches for the item in tree project which is the node of the subdirectory aSubDir. More... | |
void | onFileSystemEvent (wxFileSystemWatcherEvent &event) |
called when a file or directory is modified/created/deleted The tree project is modified when a file or directory is created/deleted/renamed to reflect the file change More... | |
void | onThemeChanged (wxSysColourChangedEvent &aEvent) |
bool | canFileBeAddedToVCS (const wxString &aFilePath) |
Returns true if the file has already been added to the repository or false if it has not been added yet. More... | |
Private Attributes | |
bool | m_isRenaming |
wxTreeItemId | m_root |
std::vector< wxString > | m_filters |
wxFileSystemWatcher * | m_watcher |
PROJECT_TREE_ITEM * | m_selectedItem |
bool | m_watcherNeedReset |
wxDateTime | m_lastGitStatusUpdate |
int | m_gitLastError |
Friends | |
class | PROJECT_TREE_ITEM |
PROJECT_TREE_PANE Window to display the tree files.
Definition at line 49 of file project_tree_pane.h.
PROJECT_TREE_PANE::PROJECT_TREE_PANE | ( | KICAD_MANAGER_FRAME * | parent | ) |
The frame that shows the tree list of files and subdirectories inside the working directory.
Files are filtered (see s_allowedExtensionsToList) so only useful files are shown.
Definition at line 175 of file project_tree_pane.cpp.
References onFileSystemEvent(), onThemeChanged(), and s_allowedExtensionsToList.
PROJECT_TREE_PANE::~PROJECT_TREE_PANE | ( | ) |
Definition at line 208 of file project_tree_pane.cpp.
References shutdownFileWatcher().
|
private |
Function addItemToProjectTree.
Add the file or directory aName to the project tree
aName | = the filename or the directory name to add in tree |
aParent | = the wxTreeItemId item where to add sub tree items |
aRecurse | = true to add file or subdir names to the current tree item false to stop file add. |
Definition at line 385 of file project_tree_pane.cpp.
References addItemToProjectTree(), alg::contains(), PROJECT_TREE_ITEM::GetDir(), GetFileExt(), PROJECT_TREE_ITEM::GetFileName(), GetItemIdData(), KICAD_MANAGER_FRAME::GetProjectFileName(), getProjects(), PROJECT_TREE_ITEM::GetType(), m_filters, m_Parent, m_TreeProject, m_watcherNeedReset, path, project, PROJECT_TREE_ITEM, PROJECT_TREE_ITEM::SetPopulated(), PROJECT_TREE_ITEM::SetRootFile(), and PROJECT_TREE_ITEM::SetState().
Referenced by addItemToProjectTree(), onCreateNewDirectory(), onExpand(), onFileSystemEvent(), and ReCreateTreePrj().
|
private |
Returns true if the file has already been added to the repository or false if it has not been added yet.
Definition at line 2239 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), and m_TreeProject.
void PROJECT_TREE_PANE::EmptyTreePrj | ( | ) |
Delete all m_TreeProject entries.
Definition at line 1472 of file project_tree_pane.cpp.
References m_TreeProject, and shutdownFileWatcher().
Referenced by KICAD_MANAGER_FRAME::CloseProject().
void PROJECT_TREE_PANE::FileWatcherReset | ( | ) |
Reinit the watched paths Should be called after opening a new project to rebuild the list of watched paths.
Should be called after the main loop event handler is started
Definition at line 1358 of file project_tree_pane.cpp.
References _, PROJECT_TREE_ITEM::GetFileName(), GetItemIdData(), KICAD_MANAGER_FRAME::GetProjectFileName(), PROJECT_TREE_ITEM::GetType(), KIPLATFORM::ENV::IsNetworkPath(), PROJECT_TREE_ITEM::IsPopulated(), m_Parent, m_root, m_TreeProject, m_watcher, m_watcherNeedReset, path, TO_UTF8, and tracePathsAndFiles.
Referenced by KICAD_MANAGER_FRAME::OnChangeWatchedPaths(), and onIdle().
|
private |
Function findSubdirTreeItem searches for the item in tree project which is the node of the subdirectory aSubDir.
aSubDir | = the directory to find in tree |
Definition at line 1186 of file project_tree_pane.cpp.
References PROJECT_TREE_ITEM::GetFileName(), GetItemIdData(), KICAD_MANAGER_FRAME::GetProjectFileName(), PROJECT_TREE_ITEM::GetType(), PROJECT_TREE_ITEM::IsPopulated(), m_Parent, m_root, and m_TreeProject.
Referenced by onFileSystemEvent().
|
staticprotected |
Definition at line 297 of file project_tree_pane.cpp.
References ArchiveFileExtension, DesignRulesFileExtension, DrawingSheetFileExtension, DrillFileExtension, FootprintAssignmentFileExtension, FootprintPlaceFileExtension, GerberFileExtensionsRegex, GerberJobFileExtension, HtmlFileExtension, KiCadFootprintFileExtension, KiCadPcbFileExtension, KiCadSchematicFileExtension, KiCadSymbolLibFileExtension, LegacyPcbFileExtension, LegacyProjectFileExtension, LegacySchematicFileExtension, LegacySymbolLibFileExtension, MarkdownFileExtension, NetlistFileExtension, PdfFileExtension, ProjectFileExtension, ReportFileExtension, SpiceFileExtension, SVGFileExtension, and TextFileExtension.
Referenced by addItemToProjectTree(), and PROJECT_TREE_ITEM::Rename().
|
protected |
Function GetItemIdData return the item data corresponding to a wxTreeItemId identifier.
aId | = the wxTreeItemId identifier. |
Definition at line 1180 of file project_tree_pane.cpp.
References m_TreeProject.
Referenced by addItemToProjectTree(), FileWatcherReset(), findSubdirTreeItem(), GetSelectedData(), onExpand(), onFileSystemEvent(), onGitInitializeProject(), and updateGitStatusIcons().
|
protected |
Function GetSelectedData return the item data from item currently selected (highlighted) Note this is not necessary the "clicked" item, because when expanding, collapsing an item this item is not selected.
Definition at line 1157 of file project_tree_pane.cpp.
References GetItemIdData(), and m_TreeProject.
Referenced by onCreateNewDirectory(), onDeleteFile(), onGitCommit(), onOpenDirectory(), onOpenSelectedFileWithTextEditor(), onRenameFile(), onRight(), onSelect(), and onSwitchToSelectedProject().
|
private |
Returns true if the current project has any uncommitted changes.
Definition at line 707 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), and m_TreeProject.
Referenced by onRight().
|
private |
Returns true if the current project has local commits that have not been pushed to the remote repository.
|
private |
Function onCreateNewDirectory Creates a new subdirectory inside the current kicad project directory the user is prompted to enter a directory name.
Definition at line 267 of file project_tree_pane.cpp.
References _, addItemToProjectTree(), KICAD_MANAGER_FRAME::GetProjectFileName(), GetSelectedData(), and m_Parent.
|
private |
Function onDeleteFile Delete the selected file or directory in the tree project.
Definition at line 1015 of file project_tree_pane.cpp.
References GetSelectedData().
|
private |
Called on a click on the + or - button of an item with children.
Definition at line 1092 of file project_tree_pane.cpp.
References addItemToProjectTree(), PROJECT_TREE_ITEM::GetFileName(), GetItemIdData(), getProjects(), PROJECT_TREE_ITEM::GetType(), PROJECT_TREE_ITEM::IsPopulated(), m_TreeProject, m_watcherNeedReset, name, and PROJECT_TREE_ITEM::SetPopulated().
|
private |
called when a file or directory is modified/created/deleted The tree project is modified when a file or directory is created/deleted/renamed to reflect the file change
Definition at line 1244 of file project_tree_pane.cpp.
References addItemToProjectTree(), findSubdirTreeItem(), PROJECT_TREE_ITEM::GetFileName(), GetItemIdData(), KI_FALLTHROUGH, m_isRenaming, m_TreeProject, m_watcher, and updateGitStatusIcons().
Referenced by PROJECT_TREE_PANE().
|
private |
Add a file to the git index.
Definition at line 2233 of file project_tree_pane.cpp.
|
private |
Commit the current project saved changes to the git repository.
Definition at line 2024 of file project_tree_pane.cpp.
References _, config, DIALOG_GIT_COMMIT::GetAuthorEmail(), DIALOG_GIT_COMMIT::GetAuthorName(), DIALOG_GIT_COMMIT::GetCommitMessage(), PROJECT_TREE::GetGitRepo(), GetSelectedData(), DIALOG_GIT_COMMIT::GetSelectedFiles(), ID_GIT_COMMIT_PROJECT, m_TreeProject, and Pgm().
|
private |
Compare the current project to a different branch in the git repository.
Definition at line 1647 of file project_tree_pane.cpp.
|
private |
Fetch the latest changes from the git repository.
Definition at line 2276 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), m_TreeProject, and GIT_PULL_HANDLER::PerformFetch().
|
private |
Initialize a new git repository in the current project directory.
Definition at line 1510 of file project_tree_pane.cpp.
References _, DisplayErrorMessage(), DisplayInfoMessage(), DIALOG_GIT_REPOSITORY::GetBareRepoURL(), KIGIT_COMMON::GetConnType(), PROJECT_TREE_ITEM::GetDir(), GetItemIdData(), PROJECT::GetLocalSettings(), DIALOG_GIT_REPOSITORY::GetPassword(), KIGIT_COMMON::GetPassword(), DIALOG_GIT_REPOSITORY::GetRepoSSHPath(), DIALOG_GIT_REPOSITORY::GetRepoType(), DIALOG_GIT_REPOSITORY::GetRepoURL(), KIGIT_COMMON::GetSSHKey(), DIALOG_GIT_REPOSITORY::GetUsername(), KIGIT_COMMON::GetUsername(), KIGIT_COMMON::GIT_CONN_HTTPS, KIGIT_COMMON::GIT_CONN_SSH, PROJECT_TREE::GitCommon(), m_gitLastError, PROJECT_LOCAL_SETTINGS::m_GitRepoPassword, PROJECT_LOCAL_SETTINGS::m_GitRepoType, PROJECT_LOCAL_SETTINGS::m_GitRepoUsername, PROJECT_LOCAL_SETTINGS::m_GitSSHKey, m_TreeProject, GIT_PULL_HANDLER::PerformFetch(), Prj(), KIGIT_COMMON::SetConnType(), PROJECT_TREE::SetGitRepo(), KIGIT_COMMON::SetPassword(), GIT_PROGRESS::SetProgressReporter(), KIGIT_COMMON::SetSSHKey(), and KIGIT_COMMON::SetUsername().
|
private |
Pull the latest changes from the git repository.
Definition at line 1653 of file project_tree_pane.cpp.
References _, KIGIT_COMMON::GetConnType(), PROJECT_TREE::GetGitRepo(), KIGIT_COMMON::GetPassword(), KIGIT_COMMON::GetSSHKey(), KIGIT_COMMON::GetUsername(), PROJECT_TREE::GitCommon(), m_TreeProject, GIT_PULL_HANDLER::PerformPull(), KIGIT_COMMON::SetConnType(), KIGIT_COMMON::SetPassword(), GIT_PROGRESS::SetProgressReporter(), KIGIT_COMMON::SetSSHKey(), and KIGIT_COMMON::SetUsername().
|
private |
Push the current project changes to the git repository.
Definition at line 1673 of file project_tree_pane.cpp.
References _, DisplayErrorMessage(), KIGIT_COMMON::GetConnType(), KIGIT_ERRORS::GetErrorString(), PROJECT_TREE::GetGitRepo(), KIGIT_COMMON::GetPassword(), KIGIT_COMMON::GetSSHKey(), KIGIT_COMMON::GetUsername(), PROJECT_TREE::GitCommon(), m_TreeProject, GIT_PUSH_HANDLER::PerformPush(), KIGIT_COMMON::SetConnType(), KIGIT_COMMON::SetPassword(), GIT_PROGRESS::SetProgressReporter(), KIGIT_COMMON::SetSSHKey(), and KIGIT_COMMON::SetUsername().
|
private |
Remove a file from the git index.
Definition at line 2309 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), m_TreeProject, and GIT_REMOVE_FROM_INDEX_HANDLER::PerformRemoveFromIndex().
|
private |
Remove the git repository from the current project directory.
Definition at line 1802 of file project_tree_pane.cpp.
References _, DisplayErrorMessage(), PROJECT_TREE::GetGitRepo(), KICAD_MANAGER_FRAME::GetProjectFileName(), IsOK(), m_Parent, m_TreeProject, RmDirRecursive(), and PROJECT_TREE::SetGitRepo().
|
private |
Resolve conflicts in the git repository.
Definition at line 2287 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), m_TreeProject, and GIT_RESOLVE_CONFLICT_HANDLER::PerformResolveConflict().
|
private |
Revert the local repository to the last commit.
Definition at line 2298 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), m_TreeProject, and GIT_REVERT_HANDLER::PerformRevert().
|
private |
Switch to a different branch in the git repository.
Definition at line 1732 of file project_tree_pane.cpp.
References _, DisplayError(), DIALOG_GIT_SWITCH::GetBranchName(), PROJECT_TREE::GetGitRepo(), git_create_branch(), and m_TreeProject.
|
private |
Sync the current project with the git repository.
Definition at line 2264 of file project_tree_pane.cpp.
References PROJECT_TREE::GetGitRepo(), m_TreeProject, and GIT_SYNC_HANDLER::PerformSync().
|
private |
Idle event handler, used process the selected items at a point in time when all other events have been consumed.
Definition at line 1067 of file project_tree_pane.cpp.
References PROJECT_TREE_ITEM::Activate(), FileWatcherReset(), m_selectedItem, m_watcherNeedReset, and updateGitStatusIcons().
|
private |
Function onOpenDirectory Handles the right-click menu for opening a directory in the current system file browser.
Definition at line 239 of file project_tree_pane.cpp.
References PATHS::GetDefaultUserProjectsPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), GetSelectedData(), LaunchExternal(), and m_Parent.
|
private |
Function onOpenSelectedFileWithTextEditor Call the text editor to open the selected file in the tree project.
Definition at line 988 of file project_tree_pane.cpp.
References _, ExecuteFile(), GetSelectedData(), and Pgm().
|
private |
We don't have uniform borders so we have to draw them ourselves.
Definition at line 1491 of file project_tree_pane.cpp.
|
private |
Function onRenameFile Rename the selected file or directory in the tree project.
Definition at line 1024 of file project_tree_pane.cpp.
References _, GetSelectedData(), m_isRenaming, and m_TreeProject.
|
private |
Called on a right click on an item.
Definition at line 731 of file project_tree_pane.cpp.
References _, KIUI::AddMenuItem(), KIGIT_COMMON::GetBranchNames(), ADVANCED_CFG::GetCfg(), PROJECT_TREE::GetGitRepo(), GetSelectedData(), PROJECT_TREE::GitCommon(), hasChangedFiles(), KIGIT_COMMON::HasLocalCommits(), KIGIT_COMMON::HasPushAndPullRemote(), ID_GIT_COMMIT_FILE, ID_GIT_COMMIT_PROJECT, ID_GIT_INITIALIZE_PROJECT, ID_GIT_PULL, ID_GIT_PUSH, ID_GIT_REMOVE_VCS, ID_GIT_SWITCH_BRANCH, ID_PROJECT_DELETE, ID_PROJECT_NEWDIR, ID_PROJECT_OPEN_DIR, ID_PROJECT_RENAME, ID_PROJECT_SWITCH_TO_OTHER, ID_PROJECT_TXTEDIT, KI_FALLTHROUGH, KiBitmap(), ADVANCED_CFG::m_EnableGit, m_TreeProject, and text.
|
private |
Called on a double click on an item.
Definition at line 1053 of file project_tree_pane.cpp.
References GetSelectedData(), and m_selectedItem.
|
private |
Switch to a other project selected from the tree project (by selecting an other .pro file inside the current project folder)
Definition at line 226 of file project_tree_pane.cpp.
References GetSelectedData(), KICAD_MANAGER_FRAME::LoadProject(), and m_Parent.
|
private |
Definition at line 1481 of file project_tree_pane.cpp.
References GetBitmapStore(), PROJECT_TREE::LoadIcons(), m_TreeProject, and BITMAP_STORE::ThemeChanged().
Referenced by PROJECT_TREE_PANE().
void PROJECT_TREE_PANE::ReCreateTreePrj | ( | ) |
Create or modify the tree showing project file names.
Definition at line 599 of file project_tree_pane.cpp.
References addItemToProjectTree(), get_git_repository_for_file(), PATHS::GetDefaultUserProjectsPath(), PROJECT_TREE::GetGitRepo(), PROJECT::GetLocalSettings(), KICAD_MANAGER_FRAME::GetProjectFileName(), getProjects(), KIGIT_COMMON::GIT_CONN_HTTPS, KIGIT_COMMON::GIT_CONN_LOCAL, KIGIT_COMMON::GIT_CONN_SSH, PROJECT_TREE::GitCommon(), LegacyProjectFileExtension, PROJECT_LOCAL_SETTINGS::m_GitRepoType, m_Parent, m_root, m_TreeProject, name, NAMELESS_PROJECT, Prj(), PROJECT_TREE_ITEM, ProjectFileExtension, KIGIT_COMMON::SetConnType(), PROJECT_TREE::SetGitRepo(), KIGIT_COMMON::SetPassword(), KIGIT_COMMON::SetSSHKey(), KIGIT_COMMON::SetUsername(), and updateGitStatusIcons().
Referenced by KICAD_MANAGER_FRAME::LoadProject(), KICAD_MANAGER_FRAME::ReCreateTreePrj(), and KICAD_MANAGER_FRAME::RefreshProjectTree().
|
private |
Shutdown the file watcher.
Used when closing to prevent post-free access into the project tree. (Using the destructor doesn't work as wxWidgets defers destruction in some cases.)
Definition at line 214 of file project_tree_pane.cpp.
References m_watcher.
Referenced by EmptyTreePrj(), and ~PROJECT_TREE_PANE().
|
private |
Updates the icons shown in the tree project to reflect the current git status.
Definition at line 1851 of file project_tree_pane.cpp.
References ADVANCED_CFG::GetCfg(), KIGIT_COMMON::GetDifferentFiles(), PROJECT_TREE_ITEM::GetFileName(), PROJECT_TREE::GetGitRepo(), GetItemIdData(), KIGIT_COMMON::GIT_STATUS_ADDED, KIGIT_COMMON::GIT_STATUS_AHEAD, KIGIT_COMMON::GIT_STATUS_BEHIND, KIGIT_COMMON::GIT_STATUS_CURRENT, KIGIT_COMMON::GIT_STATUS_DELETED, KIGIT_COMMON::GIT_STATUS_MODIFIED, PROJECT_TREE::GitCommon(), m_gitLastError, m_lastGitStatusUpdate, m_TreeProject, and path.
Referenced by onFileSystemEvent(), onIdle(), and ReCreateTreePrj().
|
friend |
Definition at line 51 of file project_tree_pane.h.
Referenced by addItemToProjectTree(), and ReCreateTreePrj().
|
private |
Definition at line 288 of file project_tree_pane.h.
Referenced by addItemToProjectTree().
|
private |
Definition at line 295 of file project_tree_pane.h.
Referenced by onGitInitializeProject(), and updateGitStatusIcons().
|
private |
Definition at line 286 of file project_tree_pane.h.
Referenced by onFileSystemEvent(), and onRenameFile().
|
private |
Definition at line 294 of file project_tree_pane.h.
Referenced by updateGitStatusIcons().
KICAD_MANAGER_FRAME* PROJECT_TREE_PANE::m_Parent |
Definition at line 282 of file project_tree_pane.h.
Referenced by PROJECT_TREE_ITEM::Activate(), addItemToProjectTree(), FileWatcherReset(), findSubdirTreeItem(), onCreateNewDirectory(), onGitRemoveVCS(), onOpenDirectory(), onSwitchToSelectedProject(), and ReCreateTreePrj().
|
private |
Definition at line 287 of file project_tree_pane.h.
Referenced by FileWatcherReset(), findSubdirTreeItem(), and ReCreateTreePrj().
|
private |
Definition at line 290 of file project_tree_pane.h.
Referenced by onIdle(), and onSelect().
PROJECT_TREE* PROJECT_TREE_PANE::m_TreeProject |
Definition at line 283 of file project_tree_pane.h.
Referenced by PROJECT_TREE_ITEM::Activate(), addItemToProjectTree(), canFileBeAddedToVCS(), EmptyTreePrj(), FileWatcherReset(), findSubdirTreeItem(), GetItemIdData(), GetSelectedData(), hasChangedFiles(), onExpand(), onFileSystemEvent(), onGitCommit(), onGitFetch(), onGitInitializeProject(), onGitPullProject(), onGitPushProject(), onGitRemoveFromIndex(), onGitRemoveVCS(), onGitResolveConflict(), onGitRevertLocal(), onGitSwitchBranch(), onGitSyncProject(), onRenameFile(), onRight(), onThemeChanged(), ReCreateTreePrj(), and updateGitStatusIcons().
|
private |
Definition at line 289 of file project_tree_pane.h.
Referenced by FileWatcherReset(), onFileSystemEvent(), and shutdownFileWatcher().
|
private |
Definition at line 291 of file project_tree_pane.h.
Referenced by addItemToProjectTree(), FileWatcherReset(), onExpand(), and onIdle().