Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.ui.wfs.wizard
Class FeatureTypeList

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by eu.esdihumboldt.hale.io.gml.ui.wfs.wizard.FeatureTypeList
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class FeatureTypeList
extends org.eclipse.swt.widgets.Composite

Component for selecting FeatureTypes with a common namespace

Author:
Jan Kolar, Simon Templer
Partner:
?? / Intergraph CS, 01 / Fraunhofer Institute for Computer Graphics Research

Nested Class Summary
static interface FeatureTypeList.TypeSelectionListener
          Selection listener interface
 
Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
FeatureTypeList(org.eclipse.swt.widgets.Composite parent, String fixedNamespace)
          Constructor
 
Method Summary
 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
 
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, 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
 
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

FeatureTypeList

public FeatureTypeList(org.eclipse.swt.widgets.Composite parent,
                       String fixedNamespace)
Constructor

Parameters:
parent - the parent composite
fixedNamespace - the namespace
Method Detail

setFeatureTypes

public void setFeatureTypes(List<org.opengis.feature.type.FeatureType> types)
Set the available feature types

Parameters:
types - the feature types to set

getSelection

public List<org.opengis.feature.type.FeatureType> getSelection()
Get the selected feature types

Returns:
the selected FeatureTypes

addTypeSelectionListener

public void addTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
Add a type selection listener

Parameters:
listener - the listener to add

removeTypeSelectionListener

public void removeTypeSelectionListener(FeatureTypeList.TypeSelectionListener listener)
Remove a type selection listener

Parameters:
listener - the listener to add

notifySelectionChanged

protected void notifySelectionChanged()
Notify listeners that the selection has changed


getNamespace

public String getNamespace()
Get the selected namespace

Returns:
the namespace

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d