Skip to main content
summaryrefslogtreecommitdiffstats
blob: 5eebec0c52d216f88f14e641ebf3e260ecd8558b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*******************************************************************************
 * Copyright (c) 2012 Mia-Software.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Nicolas Bros (Mia-Software) - Bug 370806 - [table] rewrite the "allowed contents" query selection dialog for v0.2
 *******************************************************************************/
package org.eclipse.emf.facet.efacet.ui.internal.exported.dialog;

import java.util.List;

import org.eclipse.emf.ecore.ETypedElement;

/**
 * Called when a {@link IETypedElementSelectionDialog} is closed, either by OK or Cancel.
 * <p>
 * This interface is intended to be implemented by clients.
 * 
 * @since 0.2.0
 */
public interface IETypedElementSelectionDialogCallback {
	/** The user canceled the dialog */
	void canceled();

	/** The user committed their selection in the dialog */
	void committed(List<ETypedElement> selection);
}

Back to the top