ItEr29S06CUAsignacionGrupoRecursosAPlanificacionItEr28S06: Sorting members of row
This commit is contained in:
parent
9b32dd7eb3
commit
6eaa363925
1 changed files with 14 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue