3 #ifndef i_wxNamingTree_h
4 #define i_wxNamingTree_h
6 #include "wx/treectrl.h"
7 #include "orbsvcs/CosNamingC.h"
18 const wxWindowID id
= -1);
19 virtual ~WxNamingTree();
21 bool isNodeSelected() const
22 { return GetSelection() != 0; }
23 void copySelectedToClipboard();
24 void resolve( CosNaming::NamingContext_ptr pRootContext
);
25 void setOrb( CORBA::ORB_ptr pOrb
);
37 void clearChildren ();
38 void clearChildren (wxTreeItemId
& item
);
39 WxNamingObject
* getTreeObject() const;
40 WxNamingObject
* getTreeObject(wxTreeItemId
& item
) const;
43 CosNaming::NamingContext_ptr context
,
44 CosNaming::BindingList_var
& bl
);
45 void listContext( wxTreeItemId
& item
);
46 void refresh( wxTreeItemId
& item
);
50 contextPopupBindContext
,
51 contextPopupBindNewContext
,
52 contextPopupBindObject
,
55 contextPopupViewReference
,
59 objectPopupViewReference
,
61 void onContextPopupBindContext( wxCommandEvent
& event
);
62 void onContextPopupBindNewContext( wxCommandEvent
& event
);
63 void onContextPopupBindObject( wxCommandEvent
& event
);
64 void onContextPopupDestroy( wxCommandEvent
& event
);
65 void onContextPopupRefresh( wxCommandEvent
& event
);
66 void onContextPopupUnbind( wxCommandEvent
& event
);
67 void onPopupViewReference( wxCommandEvent
& event
);
69 void onObjectPopupUnbind( wxCommandEvent
& event
);
70 void onObjectPopupViewReference( wxCommandEvent
& event
);
72 void onItemExpanding( wxTreeEvent
& event
);
73 void onRMouseUClick( wxMouseEvent
& event
);
74 void onLeftDClick( wxMouseEvent
& event
);