Subversion Repositories SmartDukaan

Rev

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

Rev 2427 Rev 3872
Line 24... Line 24...
24
    
24
    
25
    public static final String BEST_DEALS = "Best Deals";
25
    public static final String BEST_DEALS = "Best Deals";
26
    public static final String BEST_SELLERS = "Best Sellers";
26
    public static final String BEST_SELLERS = "Best Sellers";
27
    public static final String LATEST_ARRIVALS = "Latest Arrivals";
27
    public static final String LATEST_ARRIVALS = "Latest Arrivals";
28
    
28
    
-
 
29
    public static final String SEARCH = "Search";
-
 
30
    
29
    private Tree tree;
31
    private Tree tree;
30
    
32
    
31
    interface TreeListener {
33
    interface TreeListener {
32
        void onTreeItemClicked(String itemTypes);
34
        void onTreeItemClicked(String itemTypes);
33
    }
35
    }
Line 50... Line 52...
50
        
52
        
51
        addItem(root, BEST_DEALS);
53
        addItem(root, BEST_DEALS);
52
        addItem(root, BEST_SELLERS);
54
        addItem(root, BEST_SELLERS);
53
        addItem(root, LATEST_ARRIVALS);
55
        addItem(root, LATEST_ARRIVALS);
54
        
56
        
-
 
57
        addItem(root, SEARCH);
55
 
58
 
56
        root.setState(true);
59
        root.setState(true);
57
        initWidget(tree);
60
        initWidget(tree);
58
    }
61
    }
59
 
62