Project

General

Profile

« Previous | Next » 

Revision db033747

Added by Patrick Plitzner over 6 years ago

ref #6990 Evaluate preferences for search results

  • open in navigation part stack

View differences:

eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/WorkbenchUtility.java
56 56
        return null;
57 57
    }
58 58

  
59

  
60
    public static MPartStack getPartStack(String stackId, MApplication application, EModelService modelService){
61
        if(application!=null){
62
            List<MPartStack> stacks = modelService.findElements(application, stackId, MPartStack.class, null);
63
            if(!stacks.isEmpty()){
64
                return stacks.iterator().next();
65
            }
66
        }
67
        return null;
68
    }
69

  
59 70
    public static MPartStack getEditorAreaPartStack(MApplication application, EModelService modelService){
60 71
        //FIXME E4 hack for opening in e3 editor area
61 72
        if(application!=null){

Also available in: Unified diff