Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 800 Rev 1011
Line 16... Line 16...
16
import com.gwtext.client.widgets.Toolbar;
16
import com.gwtext.client.widgets.Toolbar;
17
import com.gwtext.client.widgets.ToolbarButton;
17
import com.gwtext.client.widgets.ToolbarButton;
18
import com.gwtext.client.widgets.ToolbarItem;
18
import com.gwtext.client.widgets.ToolbarItem;
19
import com.gwtext.client.widgets.ToolbarMenuButton;
19
import com.gwtext.client.widgets.ToolbarMenuButton;
20
import com.gwtext.client.widgets.ToolbarTextItem;
20
import com.gwtext.client.widgets.ToolbarTextItem;
-
 
21
import com.gwtext.client.widgets.event.ButtonListener;
-
 
22
import com.gwtext.client.widgets.event.ButtonListenerAdapter;
21
import com.gwtext.client.widgets.event.SplitButtonListener;
23
import com.gwtext.client.widgets.event.SplitButtonListener;
22
import com.gwtext.client.widgets.event.SplitButtonListenerAdapter;
24
import com.gwtext.client.widgets.event.SplitButtonListenerAdapter;
23
import com.gwtext.client.widgets.menu.Menu;
25
import com.gwtext.client.widgets.menu.Menu;
Line 24... Line 26...
24
 
26
 
Line 94... Line 96...
94
 
96
 
Line 95... Line 97...
95
		iMediateur = im;
97
		iMediateur = im;
96
 
98
 
97
		imageMenu = new MenuImageVue(im);
-
 
98
		imageMenuEtendu = new OptionsImages(im);
-
 
99
		//aideMenu = new MenuAideVue(im);
-
 
Line 100... Line 99...
100
		//images = new ToolbarMenuButton("Fichiers", imageMenu);
99
		imageMenu = new MenuImageVue(im);
Line 101... Line 100...
101
		//aide = new ToolbarMenuButton("Aide", aideMenu);
100
		imageMenuEtendu = new OptionsImages(im);
102
		
101
		
Line 129... Line 128...
129
			public void onClick(Button button, EventObject e) {
128
			public void onClick(Button button, EventObject e) {
130
				menuTampon.showMenu();
129
				menuTampon.showMenu();
131
			}
130
			}
132
		});
131
		});
Line -... Line 132...
-
 
132
		
-
 
133
		ToolbarButton menuGestionMotsCles = new ToolbarButton("Gérer les mots clés");
-
 
134
		menuGestionMotsCles.addListener(new ButtonListenerAdapter() {		
-
 
135
			@Override
-
 
136
			public void onClick(Button button, EventObject e) {
-
 
137
				getIMediateur().afficherFenetreGestionMotsCles();
-
 
138
			}
-
 
139
		});
133
		
140
		
134
		this.addButton(menuImage);
141
		this.addButton(menuImage);
-
 
142
		this.addButton(menuSuppression);
135
		this.addButton(menuSuppression);
143
		this.addButton(menuGestionMotsCles);
136
		this.addButton(menuTampon);
-
 
137
		
144
		this.addButton(menuTampon);
138
		this.addItem(texteFiltres);
145
		this.addItem(texteFiltres);
139
		//this.addButton(aide);
146
		//this.addButton(aide);
Line 140... Line 147...
140
	}
147
	}
Line 218... Line 225...
218
		String valeurFiltreTransformee = valeurFiltre;
225
		String valeurFiltreTransformee = valeurFiltre;
Line 219... Line 226...
219
		
226
		
Line 220... Line 227...
220
		if(nomFiltre.equals("ci_meta_mots_cles")) {
227
		if(nomFiltre.equals("ci_meta_mots_cles")) {
221
			
228
			
Line 222... Line 229...
222
			String[] tabMotsCles = valeurFiltre.split(";");
229
			String[] tabMotsCles = valeurFiltre.split(";");
223
			String[] tabMotsClesTexte = iMediateur.obtenirTexteMotsCles(tabMotsCles);
230
			String[] tabMotsClesTexte = iMediateur.getTexteMotsCles(tabMotsCles);
224
			
231
			
225
			if(tabMotsClesTexte.length > 1) {
232
			if(tabMotsClesTexte.length > 1) {