|
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.AddServiceConfigurationWidget
public class AddServiceConfigurationWidget
A widget that allows the user to create a new service configuration or select an existing service configuration. The widget also provides an "Advanced" button to perform any additional configuration that may be required.
| Constructor Summary | |
|---|---|
AddServiceConfigurationWidget(Composite parent,
int style)
|
|
AddServiceConfigurationWidget(Composite parent,
int style,
java.util.Set<IServiceConfiguration> excluded,
java.util.Set<IService> services,
boolean enableButtons)
|
|
| Method Summary | |
|---|---|
void |
addSelectionChangedListener(ISelectionChangedListener listener)
|
ISelection |
getSelection()
|
IServiceConfiguration |
getServiceConfiguration()
Get the currently selected service configuration |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
|
void |
setDefaultConfiguration(IServiceConfiguration config)
Set the configuration that will be returned if the "New" radio button is selected. |
void |
setSelection(boolean newButtonSelected)
Set the selected status of the buttons. |
void |
setSelection(ISelection selection)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddServiceConfigurationWidget(Composite parent,
int style)
public AddServiceConfigurationWidget(Composite parent,
int style,
java.util.Set<IServiceConfiguration> excluded,
java.util.Set<IService> services,
boolean enableButtons)
| Method Detail |
|---|
public void addSelectionChangedListener(ISelectionChangedListener listener)
public ISelection getSelection()
public IServiceConfiguration getServiceConfiguration()
public void removeSelectionChangedListener(ISelectionChangedListener listener)
public void setDefaultConfiguration(IServiceConfiguration config)
config - default new configurationpublic void setSelection(boolean newButtonSelected)
newButtonSelected - if true, the new button will be selectedpublic void setSelection(ISelection selection)
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||