|
||||||||||
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
de.cau.cs.kieler.kiml.grana.ui.AnalysisSelectionViewer
public class AnalysisSelectionViewer
A component which displays analysis categories in a given collection and lets the user select any number of analyses specifed in these categories.
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
Constructor Summary | |
---|---|
AnalysisSelectionViewer(Composite parent,
List<AnalysisCategory> theCategories,
List<AbstractInfoAnalysis> selectedAnalyses)
The constructor for an AnalysisSelectionViewer. |
Method Summary | |
---|---|
void |
addSelectionListener(ISelectionListener listener)
Adds a selection listener. |
List<AbstractInfoAnalysis> |
getSelectedAnalyses()
Returns the selected analyses. |
void |
removeSelectionListener(ISelectionListener listener)
Removes a selection listener. |
void |
selectionChanged(SelectionChangedEvent event)
|
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
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 AnalysisSelectionViewer(Composite parent, List<AnalysisCategory> theCategories, List<AbstractInfoAnalysis> selectedAnalyses)
parent
- the parent compositetheCategories
- the categoriesselectedAnalyses
- the pre-selected analysesMethod Detail |
---|
public List<AbstractInfoAnalysis> getSelectedAnalyses()
public void addSelectionListener(ISelectionListener listener)
listener
- the selection listenerpublic void removeSelectionListener(ISelectionListener listener)
listener
- the selection listenerpublic void selectionChanged(SelectionChangedEvent event)
selectionChanged
in interface ISelectionChangedListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |