Skip to main content
summaryrefslogtreecommitdiffstats
blob: c40efb7dc88cd7238fd1105a31177ae2ad4b185e (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
31
32
33
/**
 * 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:
 *  	Grégoire Dupé (Mia-Software) - Bug 387470 - [EFacet][Custom] Editors
 */
package org.eclipse.emf.facet.util.ui.internal.exported.util.widget.command;

import org.eclipse.emf.facet.util.ui.internal.exported.dialog.IDialog;

/**
 * @since 0.3
 */
public interface IGetOrCreateFilteredElementCommmandWidget<T extends Object, W extends Object>
		extends ICommandWidget {

	/**
	 * @return the selected element in the filtredList.
	 */
	T getElementSelected();

	void selectElement(T element);

	void selectElementByName(String name);

	IDialog<W> pressNewButton();

}

Back to the top