Revision ef7ec8ab
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4Composite.java | ||
---|---|---|
121 | 121 |
private ListDataProvider<CdmBase> bodyDataProvider; |
122 | 122 |
|
123 | 123 |
private BulkEditorE4 bulkEditor; |
124 |
private BulkEditorSearchE4 bulkEditorSearch; |
|
124 | 125 |
|
125 | 126 |
|
126 | 127 |
public BulkEditorE4Composite(BulkEditorE4 bulkEditor, Composite parent, int style) { |
... | ... | |
146 | 147 |
|
147 | 148 |
input.getPropertyKeys().forEach(key->columnList.add(key)); |
148 | 149 |
|
149 |
new BulkEditorSearchE4(this, topComposite, SWT.NONE); |
|
150 |
bulkEditorSearch = new BulkEditorSearchE4(this, topComposite, SWT.NONE);
|
|
150 | 151 |
//layout needed because the search bar is added after @PostConstuct method |
151 | 152 |
topComposite.getParent().layout(); |
152 | 153 |
|
... | ... | |
355 | 356 |
} |
356 | 357 |
}); |
357 | 358 |
|
359 |
//register handler for view configuration menu |
|
360 |
natTable.registerCommandHandler(bulkEditorSearch.getDisplayPersistenceDialogCommandHandler()); |
|
361 |
|
|
358 | 362 |
natTable.configure(); |
359 | 363 |
} |
360 | 364 |
|
... | ... | |
438 | 442 |
} |
439 | 443 |
} |
440 | 444 |
|
445 |
NatTable getNatTable() { |
|
446 |
return natTable; |
|
447 |
} |
|
448 |
|
|
441 | 449 |
} |
Also available in: Unified diff
ref #7502 Add table settings to search bar