Subversion Repositories SmartDukaan

Rev

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

Rev 2209 Rev 2313
Line 18... Line 18...
18
	private static ItemDetailsUiBinder uiBinder = GWT.create(ItemDetailsUiBinder.class);
18
	private static ItemDetailsUiBinder uiBinder = GWT.create(ItemDetailsUiBinder.class);
19
 
19
 
20
	interface ItemDetailsUiBinder extends UiBinder<Widget, ItemDetails> {
20
	interface ItemDetailsUiBinder extends UiBinder<Widget, ItemDetails> {
21
	}
21
	}
22
	
22
	
23
	private final EventBus eventbus;
-
 
24
	private final Item item;
23
	private final Item item;
25
 
24
 
26
	@UiField Label itemId, productGroup, brand, modelNumber, modelName, color;
25
	@UiField Label itemId, productGroup, brand, modelNumber, modelName, color;
27
	@UiField Label category, comments;
26
	@UiField Label category, comments;
28
	@UiField Label catalogItemId;
27
	@UiField Label catalogItemId;
29
	@UiField Label mrp, mop, sellingPrice, dealerPrice, weight;
28
	@UiField Label mrp, mop, sellingPrice, dealerPrice, weight;
30
	@UiField Label addedOn, startDate, retireDate, updatedOn;
29
	@UiField Label addedOn, startDate, retireDate, updatedOn;
31
	@UiField Label bestDealsText, bestDealsValue;
30
	@UiField Label bestDealsText, bestDealsValue;
32
 
31
 
33
	public ItemDetails(EventBus eventbus, Item item){
32
	public ItemDetails(EventBus eventbus, Item item){
34
		this.eventbus = eventbus;
-
 
35
		this.item = item;
33
		this.item = item;
36
		initWidget(uiBinder.createAndBindUi(this));
34
		initWidget(uiBinder.createAndBindUi(this));
37
		initItemDetails(this.item);
35
		initItemDetails(this.item);
38
	}
36
	}
39
	
37