Subversion Repositories eFlore/Applications.del

Rev

Rev 922 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 922 Rev 1068
Line 4... Line 4...
4
 
4
 
5
import com.google.gwt.core.client.GWT;
5
import com.google.gwt.core.client.GWT;
6
import com.google.gwt.event.dom.client.HasClickHandlers;
6
import com.google.gwt.event.dom.client.HasClickHandlers;
7
import com.google.gwt.uibinder.client.UiBinder;
7
import com.google.gwt.uibinder.client.UiBinder;
-
 
8
import com.google.gwt.uibinder.client.UiField;
8
import com.google.gwt.uibinder.client.UiField;
9
import com.google.gwt.user.client.ui.ClickListener;
9
import com.google.gwt.user.client.ui.Composite;
10
import com.google.gwt.user.client.ui.Composite;
10
import com.google.gwt.user.client.ui.FocusPanel;
11
import com.google.gwt.user.client.ui.FocusPanel;
11
import com.google.gwt.user.client.ui.HTML;
12
import com.google.gwt.user.client.ui.HTML;
12
import com.google.gwt.user.client.ui.HTMLPanel;
13
import com.google.gwt.user.client.ui.HTMLPanel;
Line 44... Line 45...
44
		return conteneurPanneauCommentaires;
45
		return conteneurPanneauCommentaires;
45
	}
46
	}
Line 46... Line 47...
46
 
47
 
47
	public void setNbVotes(int nbVotes) {
48
	public void setNbVotes(int nbVotes) {
-
 
49
		nbVotesHtml.setHTML(nbVotes + "");
-
 
50
		if (nbVotes == 0) {
-
 
51
			nbVotesHtml.setVisible(false);
48
		nbVotesHtml.setHTML(nbVotes + "");
52
		}
Line 49... Line 53...
49
	}
53
	}
50
 
54
 
-
 
55
	public void setNbCommentaires(int nbCommentaires) {
-
 
56
		nbCommentairesHtml.setHTML(nbCommentaires + "");
-
 
57
		if (nbCommentaires == 0) {
51
	public void setNbCommentaires(int nbCommentaires) {
58
			nbCommentairesHtml.setVisible(false);
52
		nbCommentairesHtml.setHTML(nbCommentaires + "");
59
		}