Project

General

Profile

« Previous | Next » 

Revision c4957163

Added by Patrick Plitzner over 10 years ago

  • removed usage of compatibility interface IEntitySelectionElement

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EntitySelectionElement.java
8 8
import org.eclipse.swt.SWT;
9 9
import org.eclipse.swt.events.SelectionAdapter;
10 10
import org.eclipse.swt.events.SelectionEvent;
11
import org.eclipse.swt.events.SelectionListener;
11 12
import org.eclipse.swt.graphics.Color;
12 13
import org.eclipse.swt.widgets.Button;
13 14
import org.eclipse.swt.widgets.Composite;
......
16 17
import org.springframework.security.core.GrantedAuthority;
17 18

  
18 19
import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
20
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
19 21
import eu.etaxonomy.cdm.common.CdmUtils;
20 22
import eu.etaxonomy.cdm.model.common.Group;
21 23
import eu.etaxonomy.cdm.model.common.ICdmBase;
......
25 27
import eu.etaxonomy.taxeditor.preference.Resources;
26 28
import eu.etaxonomy.taxeditor.store.StoreUtil;
27 29
import eu.etaxonomy.taxeditor.ui.campanula.compatibility.ICdmFormElement;
28
import eu.etaxonomy.taxeditor.ui.campanula.compatibility.IEntitySelectionElement;
29 30
import eu.etaxonomy.taxeditor.ui.dialog.selection.SelectionDialogFactory;
30 31
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement;
31 32
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
32 33
import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
34
import eu.etaxonomy.taxeditor.ui.element.IEnableableFormElement;
35
import eu.etaxonomy.taxeditor.ui.element.IEntityElement;
36
import eu.etaxonomy.taxeditor.ui.element.ILabeledElement;
37
import eu.etaxonomy.taxeditor.ui.element.ISelectableElement;
33 38
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
34 39
import eu.etaxonomy.taxeditor.ui.element.SelectionArbitrator;
35 40

  
......
44 49
 * @param <T>
45 50
 */
46 51
public class EntitySelectionElement<T extends ICdmBase> extends
47
		AbstractCdmFormElement implements IEntitySelectionElement<T>{
52
		AbstractCdmFormElement implements  SelectionListener, IEnableableFormElement, ISelectableElement, IEntityElement<T>, ILabeledElement, IConversationEnabled {
48 53

  
49 54
	/**
50 55
	 * Bitmask for configuring functionality of selection element
......
266 271
		}
267 272
	}
268 273

  
269
	@Override
270 274
    public void updateFromWizard() {
271 275
		updateElement();
272 276
		firePropertyChangeEvent(new CdmPropertyChangeEvent(this, null));
......
339 343
	 *
340 344
	 * @return a {@link org.eclipse.swt.widgets.Shell} object.
341 345
	 */
342
	@Override
343 346
    public Shell getShell() {
344 347
		return getLayoutComposite().getShell();
345 348
	}

Also available in: Unified diff