Bug 31819

Summary: New support for color in TableViewers and TreeViewers
Product: [Eclipse Project] Platform Reporter: Darin Swanson <Darin_Swanson>
Component: AntAssignee: Jared Burns <jared_burns>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jared_burns
Version: 2.1   
Target Milestone: 2.1 RC1   
Hardware: PC   
OS: All   
Whiteboard:

Description Darin Swanson CLA 2003-02-13 15:21:30 EST
See bug 11116.
Comment 1 Jared Burns CLA 2003-02-18 17:49:50 EST
Added support for IColorProvider to the label providers that color default
targets in in the ant outline and launch config tabs and to the variables
view label provider that colors changed variables.

Changes made to VariablesView, VariablesViewer, PlantyContentOutlinePage,
AntTargetsTab, and TargetTableLabelProvider.

Please verify.
Comment 2 Darin Wright CLA 2003-02-18 23:35:04 EST
The change in the variables view breaks clients expecting a debug model 
presentation as the label provider (which is part of the IDebugView API).
Comment 3 Darin Wright CLA 2003-02-18 23:51:55 EST
Released fix to retrieve presentation from variables view. The fix does not 
seem robust - we should likely use adapters in the future.
Comment 4 Darin Swanson CLA 2003-02-19 10:06:25 EST
I am getting no color for changed variables in the variables view.
Comment 5 Jared Burns CLA 2003-02-19 10:40:18 EST
Do you have a test case? Do you see coloring if you step through this case:
public class Hello {
  public static void main(String[] args) {
    int x= 3;
    x= 4; // BREAKPOINT HERE. THEN STEP.
    x= 5;
    x= 6;
    System.out.println(x);
  }
}
Comment 6 Darin Swanson CLA 2003-02-19 10:48:27 EST
My test was bogus.
Comment 7 Darin Swanson CLA 2003-02-19 10:48:56 EST
Verified.