Bug 1686 - Right click on variables
Summary: Right click on variables
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2005-10-30 00:17 UTC by Andrew Cagney
Modified: 2006-10-27 17:23 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.