Project

General

Profile

« Previous | Next » 

Revision ad7201d3

Added by Andreas Müller about 3 years ago

cleanup and generics for ICdmEntitySessionEnabled

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/handler/defaultHandler/OpenBulkEditorForIdentifiableEntityE4.java
1
/**
2
* Copyright (C) 2007 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
*/
1 9
package eu.etaxonomy.taxeditor.bulkeditor.handler.defaultHandler;
2 10

  
3 11
import org.eclipse.e4.ui.workbench.modeling.EPartService;
......
17 25

  
18 26
public class OpenBulkEditorForIdentifiableEntityE4 extends DefaultOpenHandlerBaseE4<Object>{
19 27

  
20
    /**
21
     * {@inheritDoc}
22
     */
23 28
//    @Override
24 29
//    protected IdentifiableEntity getEntity(UUID uuid) {
25 30
//        return CdmStore.getCommonService().find(IdentifiableEntity.class, uuid);
26 31
//    }
27 32

  
28
    /**
29
     * {@inheritDoc}
30
     */
31 33
    @Override
32 34
    protected void open(Object entity, Shell shell, EPartService partService) {
33 35
        @SuppressWarnings("rawtypes")
......
40 42
        BulkEditorUtil.openBulkEditor(input, modelService, partService, application);
41 43
    }
42 44

  
43
    /**
44
     * {@inheritDoc}
45
     */
46 45
    @Override
47 46
    protected boolean canExecute(Object entity) {
48 47
        if (entity instanceof UuidAndTitleCache){

Also available in: Unified diff