Interface CheckedModelClassComposite
-
- All Superinterfaces:
CompositeProvider
- All Known Implementing Classes:
CheckedSelectModelClassCompositeImpl
public interface CheckedModelClassComposite extends CompositeProvider
This class provides a CheckedTree that allows the user to selectEPackages
andEClasses
.- Author:
- Eugen Neufeld
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
getChecked()
Returns the checked Elements.java.lang.Object[]
getSelection()
Returns the selected objects.org.eclipse.jface.viewers.CheckboxTreeViewer
getViewer()
Returns theCheckboxTreeViewer
.void
setInitialSelection(java.lang.Object[] selection)
Initialize the selection by setting the checked elements.-
Methods inherited from interface org.eclipse.emf.ecp.spi.common.ui.CompositeProvider
createUI, dispose
-
-
-
-
Method Detail
-
getViewer
org.eclipse.jface.viewers.CheckboxTreeViewer getViewer()
Returns theCheckboxTreeViewer
.- Returns:
- the viewer
-
getSelection
java.lang.Object[] getSelection()
Returns the selected objects.- Returns:
- the selection
-
getChecked
java.lang.Object[] getChecked()
Returns the checked Elements.- Returns:
- an array containing the checked elements
-
setInitialSelection
void setInitialSelection(java.lang.Object[] selection)
Initialize the selection by setting the checked elements.- Parameters:
selection
- the objects to check
-
-