Skip to main content
summaryrefslogtreecommitdiffstats
blob: ac0b19e83ca28a7b259c2716149be36c0546bf13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2011 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ats.view.web.search;

import org.eclipse.osee.ats.view.web.AtsUiApplication;
import org.eclipse.osee.ats.view.web.components.AtsSearchHeaderImpl;
import org.eclipse.osee.display.view.web.search.OseeSearchResultsView;

/**
 * @author Shawn F. Cook
 */
@SuppressWarnings("serial")
public class AtsSearchResultsView extends OseeSearchResultsView {

   private boolean isLayoutComplete = false;

   @Override
   protected void initComponents() {
      try {
         AtsUiApplication atsApp = (AtsUiApplication) this.getApplication();
         searchPresenter = atsApp.getAtsWebSearchPresenter();
         searchHeader = new AtsSearchHeaderImpl();
      } catch (Exception e) {
         System.out.println("AtsSearchResultsView.attach - CRITICAL ERROR: (AtsUiApplication) this.getApplication() threw an exception.");
      }
   }

   @Override
   protected void callInit(String url) {
      searchPresenter.initSearchResults(url, searchHeader, searchResultsListComponent);
   }
}

Back to the top