PTP
Release 7.0

org.eclipse.ptp.services.ui.dialogs
Class ServiceConfigurationSelectionDialog

java.lang.Object
  extended by TitleAreaDialog
      extended by org.eclipse.ptp.services.ui.dialogs.ServiceConfigurationSelectionDialog

public class ServiceConfigurationSelectionDialog
extends TitleAreaDialog

Display a dialog prompting the user to select a service configuration to add to the project. Only service configurations not currently used by the project are displayed.


Constructor Summary
ServiceConfigurationSelectionDialog(Shell parentShell, java.util.Set<IServiceConfiguration> currentConfigs)
          Create a dialog listing the service configurations which can be selected for the project
 
Method Summary
protected  Control createDialogArea(Composite parent)
          Create the widgets used to display the list of available service configurations
 IServiceConfiguration getSelectedConfiguration()
          Return the service configuration selected by the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfigurationSelectionDialog

public ServiceConfigurationSelectionDialog(Shell parentShell,
                                           java.util.Set<IServiceConfiguration> currentConfigs)
Create a dialog listing the service configurations which can be selected for the project

Parameters:
parentShell - Shell to use when displaying the dialog
currentConfigs - Set of service configurations currently used by the project
Method Detail

createDialogArea

protected Control createDialogArea(Composite parent)
Create the widgets used to display the list of available service configurations

Parameters:
parent - - The composite widget that is parent to the client area
Returns:
Top level control for client area

getSelectedConfiguration

public IServiceConfiguration getSelectedConfiguration()
Return the service configuration selected by the user

Returns:
Selected service configuration

PTP
Release 7.0

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