Project

General

Profile

« Previous | Next » 

Revision 25593544

Added by Patrick Plitzner over 6 years ago

ref #6905, #6597 Adjust visibility

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java
11 11
import javax.annotation.PostConstruct;
12 12
import javax.annotation.PreDestroy;
13 13

  
14
import org.eclipse.e4.ui.di.PersistState;
14 15
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
15 16
import org.eclipse.jface.viewers.IStructuredSelection;
16 17
import org.eclipse.jface.viewers.StructuredSelection;
......
58 59
        }
59 60
    }
60 61

  
61
    public void showViewer(IStructuredSelection selection, MPart activePart){
62
    protected void showViewer(IStructuredSelection selection, MPart activePart){
62 63
        if(viewer!=null){
63 64
            Object element = selection.getFirstElement();
64 65
            if(selection.getFirstElement()!=null){
......
91 92
        return structuredSelection;
92 93
    }
93 94

  
94
    public void showEmptyPage() {
95
    protected void showEmptyPage() {
95 96
        if(viewer!=null){
96 97
            viewer.showEmptyPage();
97 98
        }
......
118 119
    }
119 120

  
120 121
    @PreDestroy
121
    public void dispose() {
122
    private void dispose() {
123
    }
124

  
125
    @PersistState
126
    private void persistState(){
127

  
122 128
    }
123 129

  
124 130
    /**

Also available in: Unified diff