Subversion Repositories SmartDukaan

Rev

Rev 3872 | Rev 6530 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3872 Rev 5128
Line 17... Line 17...
17
    public static final String ALL_ACTIVE_ITEMS = "Active Items";
17
    public static final String ALL_ACTIVE_ITEMS = "Active Items";
18
    public static final String ALL_PHASED_OUT_ITEMS = "Phased Out Items";
18
    public static final String ALL_PHASED_OUT_ITEMS = "Phased Out Items";
19
    public static final String ALL_PAUSED_ITEMS = "Paused Items";
19
    public static final String ALL_PAUSED_ITEMS = "Paused Items";
20
    public static final String IN_PROCESS_ITEMS = "In Process Items";
20
    public static final String IN_PROCESS_ITEMS = "In Process Items";
21
    public static final String CONTENT_COMPLETE_ITEMS = "Content Complete Items";
21
    public static final String CONTENT_COMPLETE_ITEMS = "Content Complete Items";
-
 
22
    public static final String INACTIVE_ITEMS_WITH_INVENTORY = "Inactive items with Inventory";
-
 
23
    public static final String BREAKEVEN_ITEMS = "Items below Break Even Price";
22
    
24
    
23
    public static final String RISKY_ITEMS = "Risky Items";
25
    public static final String RISKY_ITEMS = "Risky Items";
24
    
26
    
25
    public static final String BEST_DEALS = "Best Deals";
27
    public static final String BEST_DEALS = "Best Deals";
26
    public static final String BEST_SELLERS = "Best Sellers";
28
    public static final String BEST_SELLERS = "Best Sellers";
Line 37... Line 39...
37
    TreeListener treeListener;
39
    TreeListener treeListener;
38
 
40
 
39
    public CatalogTree() {
41
    public CatalogTree() {
40
        tree = new Tree();
42
        tree = new Tree();
41
        TreeItem root = new TreeItem("Catalog");
43
        TreeItem root = new TreeItem("Catalog");
-
 
44
        TreeItem report = new TreeItem("Reports");
42
        tree.addItem(root);
45
        tree.addItem(root);
-
 
46
        tree.addItem(report);
-
 
47
        
43
 
48
 
44
        addItem(root, ALL_ITEMS);
49
        addItem(root, ALL_ITEMS);
45
        addItem(root, ALL_ACTIVE_ITEMS);
50
        addItem(root, ALL_ACTIVE_ITEMS);
46
        addItem(root, ALL_PHASED_OUT_ITEMS);
51
        addItem(root, ALL_PHASED_OUT_ITEMS);
47
        addItem(root, ALL_PAUSED_ITEMS);
52
        addItem(root, ALL_PAUSED_ITEMS);
Line 53... Line 58...
53
        addItem(root, BEST_DEALS);
58
        addItem(root, BEST_DEALS);
54
        addItem(root, BEST_SELLERS);
59
        addItem(root, BEST_SELLERS);
55
        addItem(root, LATEST_ARRIVALS);
60
        addItem(root, LATEST_ARRIVALS);
56
        
61
        
57
        addItem(root, SEARCH);
62
        addItem(root, SEARCH);
-
 
63
        
-
 
64
        addItem(report, INACTIVE_ITEMS_WITH_INVENTORY);
-
 
65
        addItem(report, BREAKEVEN_ITEMS);
58
 
66
 
59
        root.setState(true);
67
        root.setState(true);
60
        initWidget(tree);
68
        initWidget(tree);
61
    }
69
    }
62
 
70