Bug 31819 - New support for color in TableViewers and TreeViewers
Summary: New support for color in TableViewers and TreeViewers
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-13 15:21 EST by Darin Swanson CLA
Modified: 2003-02-19 10:48 EST (History)
1 user (show)

See Also:


Attachments

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