use of org.eclipse.mylyn.internal.tasks.core.TaskList in project eclipse-integration-commons by spring-projects.
the class IdeUiUtils method getQuery.
private static IRepositoryQuery getQuery(String queryLabel) {
TaskList taskList = TasksUiPlugin.getTaskList();
Set<RepositoryQuery> queries = taskList.getQueries();
for (RepositoryQuery query : queries) {
if (queryLabel.equals(query.getSummary())) {
// query already exists
return query;
}
}
return null;
}
Aggregations