Project

General

Profile

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

    
12
import org.eclipse.swt.widgets.Composite;
13
import org.eclipse.ui.part.ViewPart;
14

    
15
/**
16
 * @author pplitzner
17
 * @date 25.11.2013
18
 *
19
 */
20
public class DerivateSearchView extends ViewPart {
21
    public DerivateSearchView() {
22
    }
23

    
24
    /* (non-Javadoc)
25
     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
26
     */
27
    @Override
28
    public void createPartControl(Composite parent) {
29
        DerivateSearchCompositeController derivateSearchCompositeController = new DerivateSearchCompositeController(parent);
30
        getSite().setSelectionProvider(derivateSearchCompositeController.getDerivateSearchComposite().getResultViewer());
31
    }
32

    
33
    /* (non-Javadoc)
34
     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
35
     */
36
    @Override
37
    public void setFocus() {
38
        // TODO Auto-generated method stub
39

    
40
    }
41

    
42
}
(4-4/4)