Contents Up Previous Next

wxPMFileBrowserPane

* wxPMFileBrowserPane is a kind of wxPMWorkplaceBrowserPane, which * extends it by adding file-management functionality into the tree * of the workplace. Files are managed for each project, in it's * separate branch. This class is still gernal enough to be extanded * further, eg. adding sub-items for each file or extending set of * commands in the context-popup menu of particular item.

Derived from

wxPMWorkplaceBrowserPane

Data structures

Members

wxPMFileBrowserPane::wxPMFileBrowserPane
wxPMFileBrowserPane::~wxPMFileBrowserPane
wxPMFileBrowserPane::AddFileItem
wxPMFileBrowserPane::CreateImageList
wxPMFileBrowserPane::DoCopyToClipboard
wxPMFileBrowserPane::FindBitmapForMimeType
wxPMFileBrowserPane::FindBitmapIndexForMimeType
wxPMFileBrowserPane::GetMergableMenuChain
wxPMFileBrowserPane::OnAddItemsToContextMenu
wxPMFileBrowserPane::OnCmdAddFile
wxPMFileBrowserPane::OnCmdCopyFullName
wxPMFileBrowserPane::OnCmdCopyName
wxPMFileBrowserPane::OnCmdFilesRecursively
wxPMFileBrowserPane::OnCmdGotoBrowser
wxPMFileBrowserPane::OnCmdNewFile
wxPMFileBrowserPane::OnCmdOpenFile
wxPMFileBrowserPane::OnCmdRemoveAllFiles
wxPMFileBrowserPane::OnCmdRemoveFile
wxPMFileBrowserPane::OnCmdShowProperties
wxPMFileBrowserPane::OnCmdToggleBrowser
wxPMFileBrowserPane::OnDeleteRequested
wxPMFileBrowserPane::OnFileAdded
wxPMFileBrowserPane::OnFileRemoved
wxPMFileBrowserPane::OnItemActivated
wxPMFileBrowserPane::OnItemExpanding
wxPMFileBrowserPane::RegisterBitmapForMimeType
wxPMFileBrowserPane::RegisterDefaultFileTypeIcons


wxPMFileBrowserPane::wxPMFileBrowserPane

wxPMFileBrowserPane()


wxPMFileBrowserPane::~wxPMFileBrowserPane

~wxPMFileBrowserPane()


wxPMFileBrowserPane::AddFileItem

void AddFileItem(wxTreeItemId parent, wxPMFileInfo& file)


wxPMFileBrowserPane::CreateImageList

wxImageList* CreateImageList()

overridden "factory-methods" of wxPMWorkplaceBrowserPane


wxPMFileBrowserPane::DoCopyToClipboard

void DoCopyToClipboard(const wxString& text)


wxPMFileBrowserPane::FindBitmapForMimeType

bool FindBitmapForMimeType(const wxString& mimeType, wxBitmap& bmp)


wxPMFileBrowserPane::FindBitmapIndexForMimeType

int FindBitmapIndexForMimeType(const wxString& mimeType)


wxPMFileBrowserPane::GetMergableMenuChain

wxPMMergableMenuChain* GetMergableMenuChain()


wxPMFileBrowserPane::OnAddItemsToContextMenu

void OnAddItemsToContextMenu(wxMenu& menu, wxPMBrowserTreeData* pData)


wxPMFileBrowserPane::OnCmdAddFile

void OnCmdAddFile(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdCopyFullName

void OnCmdCopyFullName(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdCopyName

void OnCmdCopyName(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdFilesRecursively

void OnCmdFilesRecursively(wxCommandEvent& event)

virtual void OnCmdAddFiles( wxCommandEvent& event );


wxPMFileBrowserPane::OnCmdGotoBrowser

void OnCmdGotoBrowser(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdNewFile

void OnCmdNewFile(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdOpenFile

void OnCmdOpenFile(wxCommandEvent& event)

handlers for context-popup commands


wxPMFileBrowserPane::OnCmdRemoveAllFiles

void OnCmdRemoveAllFiles(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdRemoveFile

void OnCmdRemoveFile(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdShowProperties

void OnCmdShowProperties(wxCommandEvent& event)


wxPMFileBrowserPane::OnCmdToggleBrowser

void OnCmdToggleBrowser(wxCommandEvent& event)


wxPMFileBrowserPane::OnDeleteRequested

void OnDeleteRequested(wxTreeItemId item, wxPMBrowserTreeData* pData)


wxPMFileBrowserPane::OnFileAdded

void OnFileAdded(wxPMFileInfo& file, wxPMProject* pToProject)

overridden notifications of wxPMWorkplaceListener


wxPMFileBrowserPane::OnFileRemoved

void OnFileRemoved(wxPMFileInfo& file, wxPMProject* pFromProject)


wxPMFileBrowserPane::OnItemActivated

void OnItemActivated(wxTreeItemId item, wxPMBrowserTreeData* pData)


wxPMFileBrowserPane::OnItemExpanding

void OnItemExpanding(wxTreeItemId item, wxPMBrowserTreeData* pData)

overridden notifications of wxPMWorkplaceBrowserPane


wxPMFileBrowserPane::RegisterBitmapForMimeType

void RegisterBitmapForMimeType(const wxString& bmpName, const wxString& mimeType)

static methods **

void RegisterBitmapForMimeType(const wxBitmap& bmp, const wxString& mimeType)


wxPMFileBrowserPane::RegisterDefaultFileTypeIcons

void RegisterDefaultFileTypeIcons()

registers all default file-type icons,