org.eclipse.emf.ecp.ui.common
Interface CheckedModelClassComposite

All Superinterfaces:
CompositeProvider
All Known Implementing Classes:
CheckedSelectModelClassCompositeImpl

public interface CheckedModelClassComposite
extends CompositeProvider

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.ui.common.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


Copyright © 2014. All Rights Reserved.