org.eclipse.emf.ecp.internal.ui.composites
Class AbstractEClassTreeSelectionComposite

java.lang.Object
  extended by org.eclipse.emf.ecp.internal.ui.composites.AbstractFilteredSelectionComposite<org.eclipse.jface.viewers.TreeViewer>
      extended by org.eclipse.emf.ecp.internal.ui.composites.AbstractEClassTreeSelectionComposite
All Implemented Interfaces:
CompositeProvider
Direct Known Subclasses:
CheckedSelectModelClassCompositeImpl, SelectModelClassCompositeImpl

public abstract class AbstractEClassTreeSelectionComposite
extends AbstractFilteredSelectionComposite<org.eclipse.jface.viewers.TreeViewer>

This class provides an abstract implementation for displaying EClasses in a Tree.

Author:
Eugen Neufeld

Constructor Summary
AbstractEClassTreeSelectionComposite(Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages, Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages, Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
          Constructor setting the necessary data for selecting the EClasses.
AbstractEClassTreeSelectionComposite(ECPProject project)
          Constructor that delegates to the AbstractEClassTreeSelectionComposite(Collection, Collection, Collection) by reading the data from the project.
 
Method Summary
 void dispose()
          Disposes this composite provider.
 
Methods inherited from class org.eclipse.emf.ecp.internal.ui.composites.AbstractFilteredSelectionComposite
createUI, getSelection, getViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEClassTreeSelectionComposite

public AbstractEClassTreeSelectionComposite(Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages,
                                            Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages,
                                            Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
Constructor setting the necessary data for selecting the EClasses.

Parameters:
unsupportedEPackages - EPackages that are not supported
filteredEPackages - EPackages selected by the user
filteredEClasses - EClasses selected by the user

AbstractEClassTreeSelectionComposite

public AbstractEClassTreeSelectionComposite(ECPProject project)
Constructor that delegates to the AbstractEClassTreeSelectionComposite(Collection, Collection, Collection) by reading the data from the project.

Parameters:
project - the ECPProject to read the data from
Method Detail

dispose

public void dispose()
Disposes this composite provider.



Copyright © 2014. All Rights Reserved.