Project

General

Profile

Download (984 Bytes) 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.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
/**
22
 * @author pplitzner
23
 * @since Jan 22, 2019
24
 *
25
 */
26
public class TermSearch {
27

    
28
    @PostConstruct
29
    public void create(Composite parent, IEclipseContext context, @Named(IServiceConstants.ACTIVE_SHELL)Shell shell,
30
            EMenuService menuService){
31
        new TermSearchController(new TermSearchComposite(parent, SWT.NONE));
32
    }
33
}
(2-2/4)