|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
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.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swt.widgets.Composite |
|---|
embeddedHandle |
| Fields inherited from class org.eclipse.swt.widgets.Widget |
|---|
handle |
| Constructor Summary | |
|---|---|
ServiceProviderConfigurationWidget(org.eclipse.swt.widgets.Composite parent,
int style)
|
|
| Method Summary | |
|---|---|
void |
addSelectionListener(org.eclipse.swt.events.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(org.eclipse.swt.events.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,
Set<String> natureIds)
Causes the tree to display all the services that are available in the system. |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isTouchEnabled, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEventsEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceProviderConfigurationWidget(org.eclipse.swt.widgets.Composite parent,
int style)
| Method Detail |
|---|
public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener - the listener that will be notified of the selectionpublic void applyChangesToConfiguration()
public IServiceConfiguration getServiceConfiguration()
public void removeSelectionListener(org.eclipse.swt.events.SelectionListener listener)
listener - the listener which will no longer be notifiedpublic void setServiceConfiguration(IServiceConfiguration conf)
public void setServiceConfiguration(IServiceConfiguration configuration,
Set<String> natureIds)
protected void changeServiceState(boolean disabled)
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||