Project

General

Profile

Revision e944f62a

IDe944f62ab84da392fc65fdca5f2861889362d156
Parent 0613242b
Child 457199e5

Added by Katja Luther almost 2 years ago

ref #7761: add icon for invalid designation

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/ConceptContainerE4.java
72 72

  
73 73
	@Override
74 74
	protected void updateIcon() {
75
	    if (relationship.getType().isAnyMisappliedName() || relationship.getType().isInvalidDesignation()){
75
	    if (relationship.getType().isAnyMisappliedName() ){
76 76
	        setIcon(MISAPPLIEDNAME_ICON);
77
	    }else if (relationship.getType().isProParte()){
77
	    }else if (relationship.getType().isInvalidDesignation()){
78
            setIcon(INVALID_TYPE_DESIGNATION_ICON);
79
        }else if (relationship.getType().isProParte()){
78 80
	        setIcon(PRO_PARTE_SYNONYM_ICON);
79 81
	    }else if (relationship.getType().isAnySynonym()){
80 82
            setIcon(PARTIAL_SYNONYM_ICON);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
81 81
	public static final String HETEROTYPIC_SYN_ORIGINAL_ICON = "heterotypic_syn_original_icon";
82 82
	/** Constant <code>MISAPPLIED_NAME_ICON="misapplied_icon"</code> */
83 83
	public static final String MISAPPLIED_NAME_ICON = "misapplied_icon";
84
	/** Constant <code>INVALID_TYPE_DESIGNATION_ICON="invalid_type_designation_icon"</code> */
85
	public static final String INVALID_TYPE_DESIGNATION_ICON = "invalid_icon";
84 86
	/** Constant <code>PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"</code> */
85 87
    public static final String PRO_PARTE_SYNONYM_ICON = "proparte_syn_icon";
86 88
    /** Constant <code>PRO_PARTE_SYNONYM_ICON="pro_parte_synonym_icon"</code> */
......
191 193
    public static final String FUNNEL_ICON_EXCLAMATION = "FUNNEL_ICON_EXCLAMATION";
192 194

  
193 195

  
196

  
194 197
	/***************************************************************************
195 198
	 * IMAGE REGISTRY
196 199
	 **************************************************************************/
......
319 322
				"homotypic_syn_hetero_group.gif");
320 323
		registerImage(registry, MISAPPLIED_NAME_ICON,
321 324
				"misapplied_no_bg.gif");
325
		registerImage(registry, INVALID_TYPE_DESIGNATION_ICON,
326
                "invalid.gif");
322 327
		registerImage(registry, PRO_PARTE_SYNONYM_ICON,
323 328
                "proparte-bright.gif");
324 329
	    registerImage(registry, PARTIAL_SYNONYM_ICON,

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)