Bug 1686

Summary: Right click on variables
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633    

Description Andrew Cagney 2005-10-30 00:17:39 UTC
 
Comment 1 Adam Jocksch 2005-10-31 16:08:29 UTC
Right clicking on a variable in the source window now gives you an option to
display it's value (fudged for now), that is displayed in a popup window (for now)
Comment 2 Mike Cvet 2006-10-11 17:58:06 UTC
Log message:
        2006-10-10  Mike Cvet  <mcvet@redhat.com>
        
        * SourceBuffer.java: (getVariable): Cleaned up a bit.
        * SourceView.java: Added a new HashMap to uniquely identify
        Variables.
        (removeVar): Added. Removes variable from the HashMap and calls
        to remove the variable trace from the GUI.
        (clickedOnTextArea): Added new menu option for removing Variables.
        * SourceWindow.java: (SourceWindow): New VariableWatchView with
        this as a parameter.
        (removeVariableTrace): Added - removes the Variable trace from the
        VariableWatchView.
        (getView): Added.
        * VariableWatchView.java: (VariableWatchView): Sets incoming
        SourceWindow as parent, initializes new TreeStore and Listener.
        (removeTrace): Added. Removes the row from the TreeView.
        (selectionChangedEvent): Added catch for index exception.
        (clickedOnVariable): Added. Creates new menu when a row is clicked
        from the TreeView.
        (handleClick): Added. Tells the parent to remove the clicked Variable.
        (mouseEvent): Added. Determines whether the mouse event is worth
        pursuing.