Project

General

Profile

« Previous | Next » 

Revision becf5142

Added by Patrick Plitzner almost 7 years ago

ref #6762 Use FeatureTreeEditorComposite for all tree viewers

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
179 179
    }
180 180

  
181 181
    @PostConstruct
182
    public void createPartControl(Composite parent, EMenuService menuService, MPart thisPart) {
182
    public void createPartControl(Composite parent, EMenuService menuService) {
183 183
        if (CdmStore.isActive()){
184 184
            if(conversation == null){
185 185
                conversation = CdmStore.createConversation();
186 186
            }
187
            cdmEntitySession = CdmStore.getCurrentSessionManager().newSession(this, true);
187
            if(cdmEntitySession!=null){
188
                cdmEntitySession = CdmStore.getCurrentSessionManager().newSession(this, true);
189
            }
188 190
        }
189 191
        else{
190 192
            return;

Also available in: Unified diff