Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 278 Rev 362
Line 109... Line 109...
109
		});
109
		});
Line 110... Line 110...
110
 
110
 
111
		setLayout(new FitLayout());
111
		setLayout(new FitLayout());
Line 112... Line -...
112
	}
-
 
113
 
-
 
114
	public ListStore<Structure> getStore() {
-
 
115
		return store;
-
 
116
	}
-
 
117
 
-
 
118
	public TableBinder<Structure> getBinder() {
-
 
119
		return binder;
-
 
120
	}
112
	}
121
 
113
 
122
	private void clicListe(Structure institution) {
114
	private void clicListe(Structure institution) {
Line 123... Line 115...
123
		mediateur.clicListeInstitution(institution);
115
		mediateur.clicListeInstitution(institution);
Line 136... Line 128...
136
			store.removeAll();
128
			store.removeAll();
137
			store.add((List<Structure>) liste);
129
			store.add((List<Structure>) liste);
Line 138... Line 130...
138
 
130
 
139
			// Test pour savoir si la liste contient des éléments
131
			// Test pour savoir si la liste contient des éléments
140
			if (listeInstitutions.size() > 0) {
132
			if (listeInstitutions.size() > 0) {
141
				binder.setSelection((Structure) listeInstitutions.get(0));
133
				table.getSelectionModel().select(0);
Line 142... Line 134...
142
			}
134
			}
143
			
135
			
144
			// Mise à jour du panneau central
136
			// Mise à jour du panneau central