252253254255256257258259260261262263
} @Override protected TaskFavorite newFavoriteInstance(final TaskDO currentObject) { final TaskFavorite favorite = new TaskFavorite(); favorite.setTask(currentObject); return favorite; } }; divContainer.add(favoritesPanel); favoritesPanel.init();