ItEr29S06CUAsignacionGrupoRecursosAPlanificacionItEr28S06: Sorting members of row

This commit is contained in:
Óscar González Fernández 2009-10-07 18:58:55 +02:00
parent 9b32dd7eb3
commit 6eaa363925

View file

@ -326,6 +326,20 @@ class Row {
return new Row(name, level, allocations);
}
private Component allHoursInput;
private Label nameLabel;
private List<CellChangedListener> listeners = new ArrayList<CellChangedListener>();
private Map<DetailItem, Component> componentsByDetailItem = new WeakHashMap<DetailItem, Component>();
private String name;
private int level;
private final AggregateOfResourceAllocations aggregate;
void listenTo(Collection<Row> rows) {
for (Row row : rows) {
listenTo(row);
@ -350,17 +364,8 @@ class Row {
reloadAllHours();
}
});
}
private Component allHoursInput;
private Label nameLabel;
private List<CellChangedListener> listeners = new ArrayList<CellChangedListener>();
private Map<DetailItem, Component> componentsByDetailItem = new WeakHashMap<DetailItem, Component>();
void add(CellChangedListener listener) {
listeners.add(listener);
}
@ -431,12 +436,6 @@ class Row {
return nameLabel;
}
private String name;
private int level;
private final AggregateOfResourceAllocations aggregate;
private Row(String name, int level,
List<? extends ResourceAllocation<?>> allocations) {
this.name = name;