diff options
Diffstat (limited to 'TAO/utils/wxNamingViewer/wxNamingTree.h')
-rw-r--r-- | TAO/utils/wxNamingViewer/wxNamingTree.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/TAO/utils/wxNamingViewer/wxNamingTree.h b/TAO/utils/wxNamingViewer/wxNamingTree.h deleted file mode 100644 index bf1b59d0250..00000000000 --- a/TAO/utils/wxNamingViewer/wxNamingTree.h +++ /dev/null @@ -1,79 +0,0 @@ -// $Id$ -// wxNamingTree.h - -#ifndef i_wxNamingTree_h -#define i_wxNamingTree_h - -#include "wx/treectrl.h" -#include "orbsvcs/CosNamingC.h" - -class wxMenu; -class WxNamingObject; - -class WxNamingTree: - public wxTreeCtrl -{ -public: - WxNamingTree( - wxWindow* parent, - const wxWindowID id = -1); - virtual ~WxNamingTree(); - - bool isNodeSelected() const - { return GetSelection() != 0; } - void copySelectedToClipboard(); - void resolve( CosNaming::NamingContext_ptr pRootContext); - void setOrb( CORBA::ORB_ptr pOrb); - - enum { - treeCtrl = 1000 - }; - -private: - CORBA::ORB_ptr orb; - - enum { - listQuantum = 40, - }; - void clearChildren( wxTreeItemId& item = wxTreeItemId( 0)); - WxNamingObject* getTreeObject( - wxTreeItemId& item = wxTreeItemId( 0)) const; - void listBindingList( - wxTreeItemId& item, - CosNaming::NamingContext_ptr context, - CosNaming::BindingList_var& bl); - void listContext( wxTreeItemId& item); - void refresh( wxTreeItemId& item); - wxMenu* contextPopup; - wxMenu* objectPopup; - enum { - contextPopupBindContext, - contextPopupBindNewContext, - contextPopupBindObject, - contextPopupUnbind, - contextPopupDestroy, - contextPopupViewReference, - contextPopupRefresh, - - objectPopupUnbind, - objectPopupViewReference, - }; - void onContextPopupBindContext( wxCommandEvent& event); - void onContextPopupBindNewContext( wxCommandEvent& event); - void onContextPopupBindObject( wxCommandEvent& event); - void onContextPopupDestroy( wxCommandEvent& event); - void onContextPopupRefresh( wxCommandEvent& event); - void onContextPopupUnbind( wxCommandEvent& event); - void onPopupViewReference( wxCommandEvent& event); - - void onObjectPopupUnbind( wxCommandEvent& event); - void onObjectPopupViewReference( wxCommandEvent& event); - - void onItemExpanding( wxTreeEvent& event); - void onRMouseUClick( wxMouseEvent& event); - void onLeftDClick( wxMouseEvent& event); - - DECLARE_EVENT_TABLE() -}; - -#endif |