Project

General

Profile

Revision 1c29bd52

ID1c29bd523d1a97bb8b2163791fd93cf44622fb76
Parent 1f013eea
Child b92f1605

Added by Andreas Kohlbecker over 5 years ago

fixing setEnabled method

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/ToggleableTextElement.java
141 141
	@Override
142 142
    public void setEnabled(boolean enabled) {
143 143
		text_cache.setEnabled(enabled);
144
        button_toggle.setEnabled(enabled);
145
		button_toggle.setGrayed(enabled);
146
		button_toggle.setSelection(enabled);
144 147
		String symbolicName = enabled ? Resources.COLOR_FONT_DEFAULT : Resources.COLOR_TEXT_DISABLED;
145 148
		text_cache.setForeground(StoreUtil.getColor(symbolicName));
146
		button_toggle.setSelection(enabled);
147 149
	}
148 150

  
149 151
	/**

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)