Project

General

Profile

« Previous | Next » 

Revision a14f5d39

Added by Patrick Plitzner over 10 years ago

  • adapted EntitiySelectionElement to be able to use with WindowBuilder

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/AbstractDeterminationEventDetailSection.java
1 1
// $Id$
2 2
/**
3 3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
4
* European Distributed Institute of Taxonomy
5 5
* http://www.e-taxonomy.eu
6
* 
6
*
7 7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8 8
* See LICENSE.TXT at the top of this package for the full license terms.
9 9
*/
10 10

  
11 11
package eu.etaxonomy.taxeditor.ui.section.occurrence;
12 12

  
13
import org.eclipse.swt.SWT;
14
import org.eclipse.swt.events.SelectionListener;
15
import org.eclipse.swt.graphics.Color;
16

  
13 17
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
14 18
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
15 19
import eu.etaxonomy.cdm.model.occurrence.DeterminationEvent;
......
78 82
		return "No determinations yet.";
79 83
	}
80 84

  
85
	/* (non-Javadoc)
86
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection#createElementComposite(java.lang.Object, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.graphics.Color)
87
	 */
88
	@Override
89
	protected void createElementComposite(DeterminationEvent element, SelectionListener removeListener, Color backgroundColor) {
90
        formFactory.createDeterminationEventDetailElementComposite(this, element, removeListener, backgroundColor, SWT.NULL);
91
	}
92

  
81 93
}

Also available in: Unified diff