Project

General

Profile

« Previous | Next » 

Revision 6fde7721

Added by Patrick Plitzner over 5 years ago

ref #7847 Fixate deduplication icon to first column

View differences:

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")
148 147
    public void init(AbstractBulkEditorInput<?> input){
149 148

  
150 149
        input.getPropertyKeys().forEach(key->columnList.add(key));
......
174 173

  
175 174
	}
176 175

  
177
	private void createTable(){
176
	@SuppressWarnings({ "unused", "unchecked" })
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
        dataLayer.setConfigLabelAccumulator(new BulkEditorConfigLabelAccumulator(bodyDataProvider, colHeaderDataProvider,
252
        //label accumulator
253
        dataLayer.setConfigLabelAccumulator(new BulkEditorDataLayerConfigLabelAccumulator(colHeaderDataProvider,
254
                bulkEditor.getEditorInput()));
255
        bodyLayer.setConfigLabelAccumulator(new BulkEditorBodyLayerConfigLabelAccumulator(bodyDataProvider,
253 256
                bulkEditor.getEditorInput()));
254 257

  
255 258
        natTable.setConfigRegistry(configRegistry);
......
425 428
        }
426 429
    }
427 430

  
431
    @SuppressWarnings("unchecked")
428 432
    public void copyDataToClipboard() {
429 433
        String textData = ""; //$NON-NLS-1$
430 434
        IStructuredSelection selection = getSelection();

Also available in: Unified diff