Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1292 Rev 2615
Line 1... Line 1...
1
package org.tela_botanica.client.vues.image;
1
package org.tela_botanica.client.vues.image;
Line -... Line 2...
-
 
2
 
2
 
3
import org.tela_botanica.client.i18n.Msg;
3
import org.tela_botanica.client.image.ImageMediateur;
4
import org.tela_botanica.client.image.ImageMediateur;
4
import org.tela_botanica.client.interfaces.Rafraichissable;
5
import org.tela_botanica.client.interfaces.Rafraichissable;
5
import org.tela_botanica.client.vues.image.ImageMotsClesVue;
6
import org.tela_botanica.client.vues.image.ImageMotsClesVue;
Line 136... Line 137...
136
 
137
 
137
		// on associe le médiateur
138
		// on associe le médiateur
Line 138... Line 139...
138
		imediateur = im;
139
		imediateur = im;
139
 
140
 
140
		// on crée et dispose les panneaux et les champs
141
		// on crée et dispose les panneaux et les champs
141
		panneauExifGrid = new Panel("Exif");
142
		panneauExifGrid = new Panel(Msg.get("infos-generales"));
142
		panneauIptcGrid = new Panel("Iptc");
143
		panneauIptcGrid = new Panel(Msg.get("infos-generales"));
143
		panneauInfoGrid = new Panel("Infos");
144
		panneauInfoGrid = new Panel(Msg.get("infos-generales"));
Line 144... Line 145...
144
		panneauMotsCles = new ImageMotsClesVue(im);
145
		panneauMotsCles = new ImageMotsClesVue(im);
145
		panneauMotsCles.setHeight("50%");
146
		panneauMotsCles.setHeight("50%");
146
 
147
 
147
		Panel sousPanneauInfosGenerales = new Panel("Infos Générales");
148
		Panel sousPanneauInfosGenerales = new Panel(Msg.get("infos-generales"));
148
		sousPanneauInfosGenerales.setLayout(new VerticalLayout());
149
		sousPanneauInfosGenerales.setLayout(new VerticalLayout());
149
		sousPanneauInfosGenerales.setBorder(false);
150
		sousPanneauInfosGenerales.setBorder(false);
150
		sousPanneauInfosGenerales.setHeight(200);
151
		sousPanneauInfosGenerales.setHeight(200);
151
		sousPanneauInfosGenerales.setAutoWidth(true);
152
		sousPanneauInfosGenerales.setAutoWidth(true);
Line 152... Line 153...
152
		sousPanneauInfosGenerales.setMargins(5);
153
		sousPanneauInfosGenerales.setMargins(5);
153
		sousPanneauInfosGenerales.setPaddings(5);
154
		sousPanneauInfosGenerales.setPaddings(5);
154
		sousPanneauInfosGenerales.setCollapsible(true);
155
		sousPanneauInfosGenerales.setCollapsible(true);
155
 
156
 
156
		Label labelComm = new Label("Commentaires :");
157
		Label labelComm = new Label(Msg.get("commentaires")+" :");
157
		labelComm.setHeight("20px");
158
		labelComm.setHeight("20px");
Line 158... Line 159...
158
		commentaireGeneral = new TextArea();
159
		commentaireGeneral = new TextArea();
Line 159... Line 160...
159
		commentaireGeneral.setWidth("90%");
160
		commentaireGeneral.setWidth("90%");
Line 160... Line 161...
160
		Label labelDate = new Label("Date :");
161
		Label labelDate = new Label(Msg.get("date")+" :");
161
		Label labelNote = new Label("Note :");
162
		Label labelNote = new Label(Msg.get("note")+" :");
162
 
163
 
Line 163... Line 164...
163
		panneauMotsCles.setBorder(false);
164
		panneauMotsCles.setBorder(false);
Line 164... Line 165...
164
 
165
 
165
		labelDate.setHeight("20px");
166
		labelDate.setHeight("20px");
Line 166... Line 167...
166
 
167
 
167
		dateImage = new DateField();
168
		dateImage = new DateField();
168
		dateImage.setAutoWidth(true);
169
		dateImage.setAutoWidth(true);
Line 169... Line 170...
169
		dateImage.setFormat("d/m/Y");
170
		dateImage.setFormat("d/m/Y");
170
 
171
 
171
		validerInfo = new Button("OK");
172
		validerInfo = new Button(Msg.get("ok"));
172
 
173
 
173
		noteVue = new BarreNotationVue(im, 5);
174
		noteVue = new BarreNotationVue(im, 5);
174
		panneauMiniListeObservation = new Panel("Observations") ;
175
		panneauMiniListeObservation = new Panel(Msg.get("observations")) ;
175
		
176
		
176
		if(!Ext.isIE()) {
177
		if(!Ext.isIE()) {
Line 224... Line 225...
224
		gViewExif.setForceFit(true);
225
		gViewExif.setForceFit(true);
Line 225... Line 226...
225
 
226
 
226
		ExifGrid = new PropertyGridPanel();
227
		ExifGrid = new PropertyGridPanel();
227
		ExifGrid.setId("meta_exif");
228
		ExifGrid.setId("meta_exif");
228
		ExifGrid.setView(gViewExif);
229
		ExifGrid.setView(gViewExif);
229
		ExifGrid.setNameText("Métadonnées Exif");
230
		ExifGrid.setNameText(Msg.get("exif-metadonnees"));
230
		ExifGrid.setAutoWidth(true);
231
		ExifGrid.setAutoWidth(true);
231
		ExifGrid.setHeight(500);
232
		ExifGrid.setHeight(500);
232
		ExifGrid.setSorted(false);
233
		ExifGrid.setSorted(false);
Line 237... Line 238...
237
 
238
 
238
		IptcGrid = new PropertyGridPanel();
239
		IptcGrid = new PropertyGridPanel();
239
		IptcGrid.setId("meta_iptc");
240
		IptcGrid.setId("meta_iptc");
Line 240... Line 241...
240
		IptcGrid.setView(gViewIptc);
241
		IptcGrid.setView(gViewIptc);
241
 
242
 
242
		IptcGrid.setNameText("Métadonnées IPTC");
243
		IptcGrid.setNameText(Msg.get("iptc-metadonnees"));
243
		IptcGrid.setAutoWidth(true);
244
		IptcGrid.setAutoWidth(true);
244
		IptcGrid.setHeight(500);
245
		IptcGrid.setHeight(500);