PTP
Release 5.0

org.eclipse.ptp.services.ui
Interface IServiceProviderContributor

All Known Implementing Classes:
RMProviderContributor

public interface IServiceProviderContributor

Interface that supplies a UI which can be launched to configure a service provider. EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the RDT team.

See Also:
IServiceProvider

Method Summary
 void configureServiceProvider(IServiceProviderWorkingCopy provider, org.eclipse.swt.widgets.Composite composite)
          Creates a section on the service model properties page to configure the service provider working copy.
 org.eclipse.jface.wizard.IWizard getWizard(IServiceProvider provider, org.eclipse.jface.wizard.IWizardPage page)
          Retrieve the wizard for a service provider
 org.eclipse.jface.wizard.WizardPage[] getWizardPages(org.eclipse.jface.wizard.IWizard wizard, IServiceProvider provider)
          Retrieve the wizard pages for a service provider
 

Method Detail

configureServiceProvider

void configureServiceProvider(IServiceProviderWorkingCopy provider,
                              org.eclipse.swt.widgets.Composite composite)
Creates a section on the service model properties page to configure the service provider working copy. The composite does not have a layout manager attached.

Parameters:
provider - working copy
composite -
Since:
2.0

getWizard

org.eclipse.jface.wizard.IWizard getWizard(IServiceProvider provider,
                                           org.eclipse.jface.wizard.IWizardPage page)
Retrieve the wizard for a service provider

Parameters:
provider - the provider being configured
page - next ServiceConfigurationWizardPage if we are being called by a ServiceConfigurationWizard, or null otherwise
Returns:
the wizard to configure this provider

getWizardPages

org.eclipse.jface.wizard.WizardPage[] getWizardPages(org.eclipse.jface.wizard.IWizard wizard,
                                                     IServiceProvider provider)
Retrieve the wizard pages for a service provider

Parameters:
wizard - the wizard that will display the pages
provider - the provider being configured
Returns:
wizard pages for the provider

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.