Project

General

Profile

« Previous | Next » 

Revision cd035648

Added by Patrick Plitzner over 3 years ago

code cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/FeatureTreeEditor.java
21 21
import org.eclipse.core.runtime.IProgressMonitor;
22 22
import org.eclipse.e4.ui.di.Focus;
23 23
import org.eclipse.e4.ui.di.Persist;
24
import org.eclipse.e4.ui.di.UISynchronize;
25 24
import org.eclipse.e4.ui.model.application.ui.MDirtyable;
26 25
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
27 26
import org.eclipse.e4.ui.services.EMenuService;
......
83 82
    @Inject
84 83
    private MPart thisPart;
85 84

  
86
    @Inject
87
    private UISynchronize sync;
88

  
89 85
    private TreeViewer viewer;
90 86

  
91 87
    @Inject
......
93 89
        CdmStore.getContextManager().addContextListener(this);
94 90
    }
95 91

  
96
	/** {@inheritDoc} */
97 92
    @PostConstruct
98 93
    public void createControl(Composite parent, EMenuService menuService){
99 94
        if (CdmStore.isActive()){
......
153 148
	    return dirty.isDirty();
154 149
	}
155 150

  
156
	/** {@inheritDoc} */
157 151
	@Override
158 152
	public void selectionChanged(SelectionChangedEvent event) {
159 153
		//propagate selection
......
182 176
	    return viewer;
183 177
	}
184 178

  
185
	/**
186
	 * {@inheritDoc}
187
	 */
188 179
	@Override
189 180
	public IStructuredSelection getSelection() {
190 181
	    return (IStructuredSelection) viewer.getSelection();
191 182
	}
192 183

  
193
	/**
194
	 * {@inheritDoc}
195
	 */
196 184
	@Override
197 185
	public ConversationHolder getConversationHolder() {
198 186
	    return conversation;
......
294 282
        dirty.setDirty(true);
295 283
    }
296 284

  
297
    /**
298
     * {@inheritDoc}
299
     */
300 285
    @Override
301 286
    public boolean postOperation(Object objectAffectedByOperation) {
302 287
        initialiseRootEntities();
......
310 295
        return true;
311 296
    }
312 297

  
313
    /**
314
     * {@inheritDoc}
315
     */
316 298
    @Override
317 299
    public boolean onComplete() {
318 300
        return false;

Also available in: Unified diff