public class ServiceProviderConfigurationWidget
extends org.eclipse.swt.widgets.Composite
| Constructor and Description |
|---|
ServiceProviderConfigurationWidget(org.eclipse.swt.widgets.Composite parent,
int style) |
| Modifier and Type | Method and Description |
|---|---|
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,
java.util.Set<java.lang.String> natureIds)
Causes the tree to display all the services that are available in the
system.
|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, 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, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateaddDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toStringpublic ServiceProviderConfigurationWidget(org.eclipse.swt.widgets.Composite parent,
int style)
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, java.util.Set<java.lang.String> natureIds)
protected void changeServiceState(boolean disabled)
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.