Changeset 396

Show
Ignore:
Timestamp:
09/23/08 19:54:01 (4 months ago)
Author:
tjas..@bitfauna.com
Message:

Tim Jasko
-updated ThreadView? to work with swank changes. Also got to add a new info column while I was at it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jasko.tim.lisp/changes.log

    r388 r396  
    5050        - Fixed couple bugs in Compile on save mode. 
    5151        - Profiler now is a little bit more intuitive (little tweak) 
     52        - Updated Threads View to suppply more information 
    5253        - Improved debugger: 
    5354            - Forcing the debug label not to exceed 50px in height  
  • jasko.tim.lisp/src/jasko/tim/lisp/views/ThreadView.java

    r375 r396  
    3939                col1.setText("Thread"); 
    4040                col1.setWidth(200); 
    41                 TreeColumn col2 = new TreeColumn(threadTree, SWT.RIGHT); 
     41                TreeColumn col2 = new TreeColumn(threadTree, SWT.LEFT); 
    4242                col2.setText("Status"); 
    4343                col2.setWidth(200); 
     44                TreeColumn col3 = new TreeColumn(threadTree, SWT.LEFT); 
     45                col3.setText("Location"); 
     46                col3.setWidth(200); 
    4447                 
    4548                fillToolBar(parent); 
     
    129132                        public void run() { 
    130133                                threadTree.removeAll(); 
    131                                 LispNode threads = result.getf(":return").getf(":ok"); 
     134                                LispNode threads = this.getReturn(); 
    132135                                for (int i=0; i < threads.params.size(); ++i) { 
    133136                                        LispNode thread = threads.get(i); 
    134137                                         
    135                                         String name = thread.get(0).value; 
    136                                         String status = thread.get(1).value; 
    137                                         String num = thread.get(2).value; 
     138                                        String num = thread.get(0).value; 
     139                                        String name = thread.get(1).value; 
     140                                        String status = thread.get(2).value; 
     141                                        String location = thread.get(3).value; 
    138142                                         
    139143                                        TreeItem item = new TreeItem(threadTree, 0); 
    140                                         item.setText(new String[] {num, name, status}); 
     144                                        item.setText(new String[] {num, name, status, location}); 
    141145                                        item.setData(i); 
    142146                                }