Class SelectModelClassCompositeImpl
- java.lang.Object
-
- org.eclipse.emf.ecp.spi.common.ui.composites.AbstractFilteredSelectionComposite<org.eclipse.jface.viewers.TreeViewer>
-
- org.eclipse.emf.ecp.spi.common.ui.composites.AbstractEClassTreeSelectionComposite
-
- org.eclipse.emf.ecp.spi.common.ui.composites.SelectModelClassCompositeImpl
-
- All Implemented Interfaces:
CompositeProvider
,SelectionComposite<org.eclipse.jface.viewers.TreeViewer>
- Direct Known Subclasses:
ECPProjectSelectionModelClassCompositeImpl
public class SelectModelClassCompositeImpl extends AbstractEClassTreeSelectionComposite implements SelectionComposite<org.eclipse.jface.viewers.TreeViewer>
Helper class for creating a dialog which allows to select anEClass
.- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description SelectModelClassCompositeImpl(java.util.Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages, java.util.Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages, java.util.Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
Constructor for providing the filter data manually.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isCheckedTree()
Whether the Tree is a checked tree.-
Methods inherited from class org.eclipse.emf.ecp.spi.common.ui.composites.AbstractEClassTreeSelectionComposite
collapsViewer, createViewer, dispose, expandViewer, getFilter
-
Methods inherited from class org.eclipse.emf.ecp.spi.common.ui.composites.AbstractFilteredSelectionComposite
createUI, getSelection, getViewer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecp.spi.common.ui.CompositeProvider
createUI, dispose
-
Methods inherited from interface org.eclipse.emf.ecp.spi.common.ui.composites.SelectionComposite
getSelection, getViewer
-
-
-
-
Constructor Detail
-
SelectModelClassCompositeImpl
public SelectModelClassCompositeImpl(java.util.Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages, java.util.Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages, java.util.Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
Constructor for providing the filter data manually.- Parameters:
unsupportedEPackages
-EPackage
s that are not available for selectionfilteredEPackages
-EPackage
s which are selectablefilteredEClasses
-EClass
es which are selectable
-
-
Method Detail
-
isCheckedTree
protected boolean isCheckedTree()
Description copied from class:AbstractEClassTreeSelectionComposite
Whether the Tree is a checked tree.- Specified by:
isCheckedTree
in classAbstractEClassTreeSelectionComposite
- Returns:
- true if a checked tree, false otherwise
-
-