Revision 8f7409d9
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4Composite.java | ||
---|---|---|
144 | 144 |
bottomComposite.setLayout(new GridLayout()); |
145 | 145 |
} |
146 | 146 |
|
147 |
@SuppressWarnings("unused") |
|
147 | 148 |
public void init(AbstractBulkEditorInput<?> input){ |
148 | 149 |
|
149 | 150 |
input.getPropertyKeys().forEach(key->columnList.add(key)); |
... | ... | |
173 | 174 |
|
174 | 175 |
} |
175 | 176 |
|
176 |
@SuppressWarnings({ "unused", "unchecked" }) |
|
177 |
private void createTable(){ |
|
177 |
private void createTable(){ |
|
178 | 178 |
ConfigRegistry configRegistry = new ConfigRegistry(); |
179 | 179 |
//property map |
180 | 180 |
Map<String, String> propertyToLabels = new HashMap<>(); |
... | ... | |
249 | 249 |
} |
250 | 250 |
})); |
251 | 251 |
|
252 |
//label accumulator |
|
253 |
dataLayer.setConfigLabelAccumulator(new BulkEditorDataLayerConfigLabelAccumulator(colHeaderDataProvider, |
|
254 |
bulkEditor.getEditorInput())); |
|
255 |
bodyLayer.setConfigLabelAccumulator(new BulkEditorBodyLayerConfigLabelAccumulator(bodyDataProvider, |
|
252 |
dataLayer.setConfigLabelAccumulator(new BulkEditorConfigLabelAccumulator(bodyDataProvider, colHeaderDataProvider, |
|
256 | 253 |
bulkEditor.getEditorInput())); |
257 | 254 |
|
258 | 255 |
natTable.setConfigRegistry(configRegistry); |
... | ... | |
428 | 425 |
} |
429 | 426 |
} |
430 | 427 |
|
431 |
@SuppressWarnings("unchecked") |
|
432 | 428 |
public void copyDataToClipboard() { |
433 | 429 |
String textData = ""; //$NON-NLS-1$ |
434 | 430 |
IStructuredSelection selection = getSelection(); |
Also available in: Unified diff
Revert "ref #7847 Fixate deduplication icon to first column"
This reverts commit 6fde7721bdb9cca2640864544d9606f90c5064b0.