responsible for showing an Other in a tree. This is a fairly simple object.


~OtherTreeView( )

enum MenuIDs

void Attach( const wxTreeItemId& NodeId)

void SetNodeText( const std::string& NewText)

std::string GetStringRepresentation( )

void ShowContextMenu( const wxPoint& Position)

void HandleContextMenuEvent( wxTreeItemId SourceID, wxCommandEvent& Event)

ObjectPtr GetObject( )

bool CanBeContainedByClass( ClassObjectPtr pClass) const




OtherTreeView( ClassTree* pTree, OtherObjectPtr pOther)

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( )

OtherObjectPtr m_pOther

pointer to the other this class represents.