33#ifndef TTA_OSED_TREE_VIEW_HH 
   34#define TTA_OSED_TREE_VIEW_HH 
   37#include <wx/treectrl.h> 
   71    void addItem(wxTreeItemId parent, std::string item);
 
   72    void changeText(wxTreeItemId 
id, 
const std::string& text);
 
   83    typedef std::map<std::string, wxTreeItemId>::value_type 
ValType;
 
   85    typedef std::map<std::string, wxTreeItemId>::iterator 
Iter;
 
   86    typedef std::multimap<std::string, wxTreeItemId>::iterator 
IterM;
 
   93    bool isPath(wxTreeItemId 
id) 
const;
 
   94    bool isModule(wxTreeItemId 
id) 
const;
 
  104    std::map<std::string, wxTreeItemId> 
paths_;
 
  110    DECLARE_EVENT_TABLE()
 
 
bool isModuleSelected() const
 
wxTreeItemId selectedModuleId()
 
std::string pathOfModule(wxTreeItemId id)
 
std::multimap< std::string, wxTreeItemId > operations_
Operations of operation data base.
 
std::vector< std::string > constructTree()
 
void changeText(wxTreeItemId id, const std::string &text)
 
void onItemClicked(wxTreeEvent &event)
 
bool isOperationSelected() const
 
wxTreeItemId selectedOperationId()
 
void addItem(wxTreeItemId parent, std::string item)
 
Operation * selectedOperation()
 
OSEdInfoView * infoView() const
 
bool isPathSelected() const
 
std::map< std::string, wxTreeItemId > paths_
Paths of the operation data base.
 
std::string selectedPath()
 
void onDropDownMenu(wxMouseEvent &event)
 
std::map< std::string, wxTreeItemId >::value_type ValType
Value type for the map.
 
OSEdTreeView & operator=(const OSEdTreeView &)
Assignment not allowed.
 
std::map< std::string, wxTreeItemId >::iterator Iter
Iterators for the maps.
 
OSEdTreeView(const OSEdTreeView &)
Copying not allowed.
 
bool isPath(wxTreeItemId id) const
 
bool isOperation(wxTreeItemId id) const
 
wxTreeItemId selectedPathId()
 
void removeItem(wxTreeItemId id)
 
bool isModule(wxTreeItemId id) const
 
OSEdInfoView * infoView_
An info window controlled by tree view.
 
std::string selectedModule()
 
wxTreeItemId moduleIdOfOperation(wxTreeItemId id)
 
void onItemSelected(wxTreeEvent &event)
 
wxTreeItemId pathIdOfModule(wxTreeItemId id)
 
std::multimap< std::string, wxTreeItemId > modules_
Modules of the operation data base.
 
std::multimap< std::string, wxTreeItemId >::iterator IterM
 
std::string moduleOfOperation(wxTreeItemId id)