@Inject
 public FindResultPresenter(
     WorkspaceAgent workspaceAgent,
     CoreLocalizationConstant localizationConstant,
     Resources resources,
     FindResultView view) {
   this.workspaceAgent = workspaceAgent;
   this.localizationConstant = localizationConstant;
   this.resources = resources;
   this.view = view;
   view.setDelegate(this);
 }
 /**
  * Activate Find results part and showing all occurrences.
  *
  * @param response list of files which contains requested text
  * @param request requested text
  */
 public void handleResponse(List<ItemReference> response, String request) {
   workspaceAgent.openPart(this, PartStackType.INFORMATION);
   workspaceAgent.setActivePart(this);
   view.showResults(response, request);
 }
 @Override
 public void setVisible(boolean visible) {
   view.setVisible(visible);
 }