blob: 5847a7e525621c9618d2e1b52efb9d6ba1817427 (
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
34
35
36
37
|
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.prov.ui;
import org.eclipse.equinox.prov.engine.Profile;
/**
* Interface for a mechanism that chooses a profile from the profile registry.
* the mechanism may or may not involve the user.
*
* @since 3.4
*
*/
public interface IProfileChooser {
/**
* Return a chosen profile, or <code>null</code> if there is no profile
* chosen.
*/
public Profile getProfile();
/**
* Return a String that could be used to label this chooser.
* For example, if the chooser uses a dialog, the label could be used
* in the button that launches the dialog.
*/
public String getLabel();
}
|