Revision ec35f482
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorLabelStyleConfiguration.java | ||
---|---|---|
14 | 14 |
import org.eclipse.nebula.widgets.nattable.style.CellStyleAttributes; |
15 | 15 |
import org.eclipse.nebula.widgets.nattable.style.DisplayMode; |
16 | 16 |
import org.eclipse.nebula.widgets.nattable.style.Style; |
17 |
import org.eclipse.nebula.widgets.nattable.util.GUIHelper; |
|
17 |
|
|
18 |
import eu.etaxonomy.taxeditor.model.ColorResources; |
|
19 |
import eu.etaxonomy.taxeditor.preference.Resources; |
|
18 | 20 |
|
19 | 21 |
/** |
20 | 22 |
* @author pplitzner |
... | ... | |
27 | 29 |
Style cellStyle = new Style(); |
28 | 30 |
cellStyle.setAttributeValue( |
29 | 31 |
CellStyleAttributes.BACKGROUND_COLOR, |
30 |
GUIHelper.COLOR_YELLOW);
|
|
32 |
ColorResources.getColor(Resources.COLOR_BULK_EDITOR_CANDIDATE));
|
|
31 | 33 |
configRegistry.registerConfigAttribute( |
32 | 34 |
CellConfigAttributes.CELL_STYLE, cellStyle, |
33 | 35 |
DisplayMode.NORMAL, BulkEditorE4Composite.CANDIDATE_LABEL); |
... | ... | |
35 | 37 |
cellStyle = new Style(); |
36 | 38 |
cellStyle.setAttributeValue( |
37 | 39 |
CellStyleAttributes.BACKGROUND_COLOR, |
38 |
GUIHelper.COLOR_GREEN);
|
|
40 |
ColorResources.getColor(Resources.COLOR_BULK_EDITOR_TARGET));
|
|
39 | 41 |
configRegistry.registerConfigAttribute( |
40 | 42 |
CellConfigAttributes.CELL_STYLE, cellStyle, |
41 | 43 |
DisplayMode.NORMAL, BulkEditorE4Composite.TARGET_LABEL); |
Also available in: Unified diff
ref #7518 Soften colors for deduplication