public class FeatureTypeList
extends org.eclipse.swt.widgets.Composite
FeatureType
s with a common namespaceModifier and Type | Class and Description |
---|---|
static interface |
FeatureTypeList.TypeSelectionListener
Selection listener interface
|
Constructor and Description |
---|
FeatureTypeList(org.eclipse.swt.widgets.Composite parent,
String fixedNamespace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
Add a type selection listener
|
String |
getNamespace()
Get the selected namespace
|
List<org.opengis.feature.type.FeatureType> |
getSelection()
Get the selected feature types
|
protected void |
notifySelectionChanged()
Notify listeners that the selection has changed
|
void |
removeTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
Remove a type selection listener
|
void |
setFeatureTypes(List<org.opengis.feature.type.FeatureType> types)
Set the available feature types
|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
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, 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, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public FeatureTypeList(org.eclipse.swt.widgets.Composite parent, String fixedNamespace)
parent
- the parent compositefixedNamespace
- the namespacepublic void setFeatureTypes(List<org.opengis.feature.type.FeatureType> types)
types
- the feature types to setpublic List<org.opengis.feature.type.FeatureType> getSelection()
FeatureType
spublic void addTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
listener
- the listener to addpublic void removeTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
listener
- the listener to addprotected void notifySelectionChanged()
public String getNamespace()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a