Responsible for showing a method as a tree node. Is a parent to argument nodes that represent the method args


~MethodTreeView( )

enum MenuIDs

void Attach( const wxTreeItemId& NodeId)

bool AcceptDrop( TreeView* pDroppedView, const wxTreeItemId& ReferenceId)

void SetNodeText( const std::string& NewText)

std::string GetStringRepresentation( )

void ShowContextMenu( const wxPoint& Position)

void HandleContextMenuEvent( wxTreeItemId SourceID, wxCommandEvent& Event)

ObjectPtr GetObject( )

bool CanContain( TreeView* pView) const

bool CanBeContainedByClass( ClassObjectPtr pClass) const

void DeleteChild( TreeView* pChild)




MethodTreeView( ClassTree* pTree, MethodObjectPtr pMethod)

std::string GetEditableLabel( )

When the user clicks on the label they will be able to edit it directly. This gets the text that will show up in the edit box.

bool OnLabelChanged( const std::string& NewLabel)

Called when the user is done entering text into the tree label. Children will need to parse this and set their data accordingly.

void ShowInfo( )

MethodObjectPtr m_pMethod

pointer to the method this object represents.