Project

General

Profile

« Previous | Next » 

Revision b2884ef4

Added by Andreas Müller over 3 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/datasource/e4/CdmDataSourceViewPartE4.java
53 53
import eu.etaxonomy.taxeditor.view.datasource.CdmMetaDataAwareDataSourceContainer;
54 54

  
55 55
/**
56
 *
57 56
 * @author pplitzner
58 57
 * @date 22.08.2017
59
 *
60 58
 */
61 59
public class CdmDataSourceViewPartE4 {
62 60

  
......
89 87

  
90 88
		private final List<ICdmSource> cdmSources;
91 89

  
92
		/**
93
		 * @param name
94
		 */
95 90
		public DataSourceJob(String title, List<ICdmSource> cdmSources) {
96 91
			super(title);
97 92
			this.cdmSources = cdmSources;
......
163 158
	public CdmDataSourceViewPartE4(){
164 159
	}
165 160

  
166

  
167 161
    private ISelectionChangedListener selectionChangedListener;
168 162

  
169 163
    @Inject
......
192 186
		comparator = new CdmDataSourceViewerComparator();
193 187
		viewer.setComparator(comparator);
194 188

  
195

  
196 189
        // Propagate selection from viewer
197 190
        selectionChangedListener = (event -> selService.setSelection(event.getSelection()));
198 191
        viewer.addSelectionChangedListener(selectionChangedListener);
......
224 217
		table.setHeaderVisible(true);
225 218
		table.setLinesVisible(true);
226 219
		table.setSortDirection(SWT.UP);
227

  
228 220
	}
229 221

  
230 222
    @Inject
......
240 232
		dataSourceJob.schedule();
241 233
	}
242 234

  
243
	/** {@inheritDoc} */
244 235
	@PreDestroy
245 236
	public void dispose() {
246 237
		CdmStore.getContextManager().removeContextListener(contextListener);
247 238
	}
248 239

  
249
	/** {@inheritDoc} */
250 240
	@Focus
251 241
	public void setFocus() {
252 242
	    if (viewer.getControl() != null && !viewer.getControl().isDisposed()) {
......
255 245
	}
256 246

  
257 247
	//FIXME E4 migrate
258
//	/** {@inheritDoc} */
259 248
//	@Override
260 249
//	public void showBusy(boolean busy) {
261 250
//		super.showBusy(busy);

Also available in: Unified diff