use of com.tencent.wstt.gt.ui.model.NamedEntry in project GT by Tencent.
the class GTTimeInternal method getEntrys.
public static NamedEntry[] getEntrys() {
List<GroupTimeEntry> root = timeLogController.getShowList();
List<NamedEntry> result = new ArrayList<NamedEntry>();
for (GroupTimeEntry gte : root) {
List<TagTimeEntry> tagEntryList = gte.entrys();
if (tagEntryList.size() > 0) {
result.add(gte);
for (TagTimeEntry tte : tagEntryList) {
result.add(tte);
}
}
}
return result.toArray(EMPTY_NAMED_ENTRY);
}
Aggregations