Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 130 Rev 140
Line 77... Line 77...
77
		tp.applyTo(image.getElement()) ;
77
		tp.applyTo(image.getElement()) ;
Line 78... Line 78...
78
		
78
		
Line 79... Line 79...
79
		image.sinkEvents(Event.ONDBLCLICK);
79
		image.sinkEvents(Event.ONDBLCLICK);
80
		
-
 
81
		this.setCls("x-image-info-rep") ;
80
		
-
 
81
		this.setCls("x-image-info-rep") ;
Line 82... Line 82...
82
		image.setPixelSize(150, 150);
82
		add(image);
83
		add(image);
83
		image.setPixelSize(150, 150);
Line 84... Line 84...
84
		
84
		
Line 98... Line 98...
98
		// si on recoit une String contenant une URL
98
		// si on recoit une String contenant une URL
99
		if (nouvelleDonnees instanceof String) {
99
		if (nouvelleDonnees instanceof String) {
Line 100... Line 100...
100
			
100
			
Line -... Line 101...
-
 
101
			urlImage=(String) nouvelleDonnees;
101
			urlImage=(String) nouvelleDonnees;
102
			
102
			
103
			if (urlImage == null || urlImage.equals("null") || urlImage.length()==0) {
103
			if (urlImage.length()==0) {
104
				image.setUrl("ill_choro.png") ;
104
				raz() ;
105
				image.setPixelSize(150, 150);
105
			}
106
			}
106
			else {
107
			else {
107
				image.setUrl(urlImage);
108
				image.setUrl(urlImage);