BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::runsnakerun::runsnake::MainFrame Class Reference

List of all members.

Public Member Functions

def __init__
def CreateControls
def CreateMenuBar
def CreateSourceWindow
def SetupToolBar
def OnOpenFile
def OnShallowerView
def OnDeeperView
def OnPackageView
def SetPackageView
def OnPercentageView
def SetPercentageView
def OnUpView
def OnBackView
def OnRootView
def OnNodeActivated
def SourceShowFile
def OnSquareHighlightedMap
def OnSquareHighlightedList
def OnSquareSelectedList
def OnSquareSelectedMap
def OnSquareSelected
def RecordHistory
def RestoreHistory
def load
def SetModel
def RootNode

Public Attributes

 adapter
 history
 leftSplitter
 rightSplitter
 listControl
 squareMap
 tabs
 calleeListControl
 allCalleeListControl
 allCallerListControl
 callerListControl
 ProfileListControls
 packageMenuItem
 percentageMenuItem
 rootViewItem
 backViewItem
 upViewItem
 sourceEditor
 sourceCodeControl
 sourceFileShown
 rootViewTool
 upViewTool
 percentageViewTool
 packageViewTool
 historyIndex

Static Public Attributes

 loader = None
 percentageView = False
 directoryView = False
int historyIndex = 1
 activated_node = None
 selected_node = None
tuple TBFLAGS
 restoringHistory = False

Detailed Description

The root frame for the display of a single data-set

Constructor & Destructor Documentation

def b3::lib::runsnakerun::runsnake::MainFrame::__init__ (   self,
  parent = None,
  id = -1,
  title = _("Run Snake Run"),
  pos = wx.DefaultPosition,
  size = wx.DefaultSize,
  style = wx.DEFAULT_FRAME_STYLE|wx.CLIP_CHILDREN,
  name = _("RunSnakeRun") 
)
Initialise the Frame

Member Function Documentation

def b3::lib::runsnakerun::runsnake::MainFrame::CreateControls (   self)
Create our sub-controls
def b3::lib::runsnakerun::runsnake::MainFrame::CreateMenuBar (   self)
Create our menu-bar for triggering operations
def b3::lib::runsnakerun::runsnake::MainFrame::CreateSourceWindow (   self,
  tabs 
)
Create our source-view window for tabs
def b3::lib::runsnakerun::runsnake::MainFrame::load (   self,
  filenames 
)
Load our hotshot dataset (iteratively)
def b3::lib::runsnakerun::runsnake::MainFrame::OnBackView (   self,
  event 
)
Request to move backward in the history
def b3::lib::runsnakerun::runsnake::MainFrame::OnDeeperView (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnNodeActivated (   self,
  event 
)
Double-click or enter on a node in some control...
def b3::lib::runsnakerun::runsnake::MainFrame::OnOpenFile (   self,
  event 
)
Request to open a new profile file
def b3::lib::runsnakerun::runsnake::MainFrame::OnPackageView (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnPercentageView (   self,
  event 
)
Handle percentage-view event from menu/toolbar
def b3::lib::runsnakerun::runsnake::MainFrame::OnRootView (   self,
  event 
)
Reset view to the root of the tree
def b3::lib::runsnakerun::runsnake::MainFrame::OnShallowerView (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnSquareHighlightedList (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnSquareHighlightedMap (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnSquareSelected (   self,
  event 
)
Update all views to show selection children/parents
def b3::lib::runsnakerun::runsnake::MainFrame::OnSquareSelectedList (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnSquareSelectedMap (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::MainFrame::OnUpView (   self,
  event 
)
Request to move up the hierarchy to highest-weight parent
def b3::lib::runsnakerun::runsnake::MainFrame::RecordHistory (   self)
Add the given node to the history-set
def b3::lib::runsnakerun::runsnake::MainFrame::RestoreHistory (   self,
  record 
)
def b3::lib::runsnakerun::runsnake::MainFrame::RootNode (   self)
Return our current root node and appropriate adapter for it
def b3::lib::runsnakerun::runsnake::MainFrame::SetModel (   self,
  loader 
)
Set our overall model (a loader object) and populate sub-controls
def b3::lib::runsnakerun::runsnake::MainFrame::SetPackageView (   self,
  directoryView 
)
Set whether to use directory/package based view
def b3::lib::runsnakerun::runsnake::MainFrame::SetPercentageView (   self,
  percentageView 
)
Set whether to display percentage or absolute values
def b3::lib::runsnakerun::runsnake::MainFrame::SetupToolBar (   self)
Create the toolbar for common actions
def b3::lib::runsnakerun::runsnake::MainFrame::SourceShowFile (   self,
  node 
)
Show the given file in the source-code view (attempt it anyway)

Member Data Documentation

Initial value:
(
        wx.TB_HORIZONTAL
        #| wx.NO_BORDER
        | wx.TB_FLAT
    )

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties