|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComposite
org.eclipse.ptp.services.ui.widgets.ServiceProviderConfigurationWidget
public class ServiceProviderConfigurationWidget
A widget for configuring the services providers for a given service configuration. Displays a table containing the service providers grouped by category on the left part of the widget. When a provider is selected, the right hand part of the widget will display the provider configuration along with a check box to enable/disable the provider and a combo to select a different provider for the service. The configuration UI for the selected provider is supplied by the providerContributor extension point.
| Constructor Summary | |
|---|---|
ServiceProviderConfigurationWidget(Composite parent,
int style)
|
|
| Method Summary | |
|---|---|
void |
addSelectionListener(SelectionListener listener)
Adds the listener to the collection of listeners who will be notified when the users selects a service configuration |
void |
applyChangesToConfiguration()
|
protected void |
changeServiceState(boolean disabled)
|
IServiceConfiguration |
getServiceConfiguration()
Returns the service configuration object that is being displayed by this widget. |
void |
removeSelectionListener(SelectionListener listener)
Removes the listener from the collection of listeners who will be notified when a service configuration is selected by the user. |
void |
setServiceConfiguration(IServiceConfiguration conf)
Causes the tree to display all the services that are available in the system. |
void |
setServiceConfiguration(IServiceConfiguration configuration,
java.util.Set<java.lang.String> natureIds)
Causes the tree to display all the services that are available in the system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceProviderConfigurationWidget(Composite parent,
int style)
| Method Detail |
|---|
public void addSelectionListener(SelectionListener listener)
listener - the listener that will be notified of the selectionpublic void applyChangesToConfiguration()
public IServiceConfiguration getServiceConfiguration()
public void removeSelectionListener(SelectionListener listener)
listener - the listener which will no longer be notifiedpublic void setServiceConfiguration(IServiceConfiguration conf)
public void setServiceConfiguration(IServiceConfiguration configuration,
java.util.Set<java.lang.String> natureIds)
protected void changeServiceState(boolean disabled)
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||