Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.spi.common.ui
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 select `EPackages` and `EClasses`.

Author:
  Eugen Neufeld

Method Summary
`Object[]` | `getChecked()` Returns the checked Elements.
`Object[]` | `getSelection()` Returns the selected objects.
`org.eclipse.jface.viewers.CheckboxTreeViewer` | `getViewer()` Returns the `CheckboxTreeViewer`.
`void` | `setInitialSelection(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 the `CheckboxTreeViewer`.

  Returns:
    the viewer

### getSelection

    Object[] getSelection()

  Returns the selected objects.

  Returns:
    the selection

### getChecked

    Object[] getChecked()

  Returns the checked Elements.

  Returns:
    an array containing the checked elements

### setInitialSelection

    void setInitialSelection(Object[] selection)

  Initialize the selection by setting the checked elements.

  Parameters:
    `selection` - the objects to check

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.