Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.codelist.selector
Class ListSelector

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.codelist.selector.ListSelector
All Implemented Interfaces:
CodeListSelector

public class ListSelector
extends Object
implements CodeListSelector

A component to select a code list from already loaded code lists.

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Constructor Summary
ListSelector(org.eclipse.swt.widgets.Composite parent)
          Constructor
 
Method Summary
 CodeList getCodeList()
          Get the selected code list.
 org.eclipse.swt.widgets.Control getControl()
          Get the control.
 boolean selectCodeList(CodeList codeList)
          Select the given code list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSelector

public ListSelector(org.eclipse.swt.widgets.Composite parent)
Constructor

Parameters:
parent - the parent composite
Method Detail

getCodeList

public CodeList getCodeList()
Description copied from interface: CodeListSelector
Get the selected code list.

Specified by:
getCodeList in interface CodeListSelector
Returns:
the selected code list or null
See Also:
CodeListSelector.getCodeList()

getControl

public org.eclipse.swt.widgets.Control getControl()
Description copied from interface: CodeListSelector
Get the control.

Specified by:
getControl in interface CodeListSelector
Returns:
the control
See Also:
CodeListSelector.getControl()

selectCodeList

public boolean selectCodeList(CodeList codeList)
Select the given code list.

Parameters:
codeList - the code list
Returns:
true, if the code list was selected

Humboldt Alignment Editor 2.5.0

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