Project

General

Profile

Download (1.03 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2019 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.taxeditor.view.search.facet.term;
10

    
11
import javax.annotation.PostConstruct;
12
import javax.inject.Named;
13

    
14
import org.eclipse.e4.core.contexts.IEclipseContext;
15
import org.eclipse.e4.ui.services.EMenuService;
16
import org.eclipse.e4.ui.services.IServiceConstants;
17
import org.eclipse.swt.SWT;
18
import org.eclipse.swt.widgets.Composite;
19
import org.eclipse.swt.widgets.Shell;
20

    
21
import eu.etaxonomy.taxeditor.view.search.facet.SearchComposite;
22

    
23
/**
24
 * @author pplitzner
25
 * @since Jan 22, 2019
26
 *
27
 */
28
public class TermSearch {
29

    
30
    @PostConstruct
31
    public void create(Composite parent, IEclipseContext context, @Named(IServiceConstants.ACTIVE_SHELL)Shell shell,
32
            EMenuService menuService){
33
        new TermSearchController(new SearchComposite(parent, SWT.NONE), null);
34
    }
35
}
(2-2/5)