if(this.toggleRoute.isSelected()) {
Symfony2ProjectComponent symfony2ProjectComponent = this.project.getComponent(Symfony2ProjectComponent.class);
Map<String,Route> routes = symfony2ProjectComponent.getRoutes();
for (Route route : routes.values()) {
if(route.getName().toLowerCase().contains(filter)) {
items.add(new RouteLookupElement(route));
}
}
}