Project

General

Profile

« Previous | Next » 

Revision de01e9a9

Added by Niels Hoffmann almost 13 years ago

Fixes #2338

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/AbstractGroupedContainer.java
527 527
		nameViewer = new NameViewer(control);
528 528
		
529 529
		focusListener = new FocusAdapter() {
530
			@Override
530 531
			public void focusGained(FocusEvent e) {
531 532
				for(AbstractGroupedContainer container : getEditor().getGroupedContainers()){
532 533
					container.colorSelected(NOT_SELECTED);
......
540 541
		
541 542
//		
542 543
		MouseAdapter mouseListener = new MouseAdapter() {
544
			@Override
543 545
			public void mouseDown(MouseEvent e) {
544 546
				storeCursor();
545 547
			}
......
825 827
		
826 828
		int width = 0;
827 829
		
830
		@Override
828 831
		public void controlResized(ControlEvent e) {
829 832
			if (nonEditableInfoLabel.getBounds().width == width) {
830 833
				return;
......
890 893
		} 
891 894
		nonEditableInfoHover.setText(nonEditableHoverText);
892 895
		nonEditableInfoLabel.setText(nonEditableText);
896
		
897
		calculateErrors();
893 898
	}
894 899
	
895 900
	/**
......
928 933
		
929 934
	abstract class LabelEllipsisListener extends ControlAdapter {
930 935
		
931
		private Label label;
936
		private final Label label;
932 937
		int width = 0;
933 938

  
934 939
		LabelEllipsisListener(Label label) {
......
937 942
		
938 943
		abstract public String getLabelText();
939 944
		
945
		@Override
940 946
		public void controlResized(ControlEvent e) {
941 947
			if (label.getBounds().width == width) {
942 948
				return;

Also available in: Unified diff