public final class ECPCompositeFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static AddRepositoryComposite |
getAddRepositoryComposite() |
static AddRepositoryComposite |
getAddRepositoryComposite(ECPProvider provider) |
static CheckedModelClassComposite |
getCheckedModelClassComposite(Collection<org.eclipse.emf.ecore.EPackage> ePackages)
Util method to create a composite which allows to select Classes from
EPackages with a checkbox. |
static CheckedEStructuralFeatureComposite |
getCheckedTableSelectionComposite(Object rootObject)
Creates a
CompositeProvider for a composite
displaying a table with checkboxes. |
static CheckoutProjectComposite |
getCheckoutProjectComposite(ECPCheckoutSource checkoutSource) |
static CreateProjectComposite |
getCreateProjectComposite(List<ECPProvider> providers)
Util method to create a composite which allows to ceate an ECP project.
|
static SelectionComposite<org.eclipse.jface.viewers.TreeViewer> |
getSelectModelClassComposite(Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages,
Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages,
Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
Util method to create a composite which allows to select an
EClass based on all known EPackages
in the registry by applying the provided filters. |
static SelectionComposite<org.eclipse.jface.viewers.TreeViewer> |
getSelectModelClassComposite(ECPProject project)
Util method to create a composite which allows to select an
EClass based on all known EPackages
in the registry by applying the filters in the provided project. |
public static AddRepositoryComposite getAddRepositoryComposite()
AddRepositoryCompositepublic static AddRepositoryComposite getAddRepositoryComposite(ECPProvider provider)
provider - the provider to add a repository to.AddRepositoryCompositepublic static CheckoutProjectComposite getCheckoutProjectComposite(ECPCheckoutSource checkoutSource)
checkoutSource - the source to check a project out fromCheckoutProjectComposite allowing to check out a projectpublic static CreateProjectComposite getCreateProjectComposite(List<ECPProvider> providers)
providers - the providers to be considered to create a new projectCreateProjectComposite allowing to create a new projectpublic static CheckedModelClassComposite getCheckedModelClassComposite(Collection<org.eclipse.emf.ecore.EPackage> ePackages)
EPackages with a checkbox.ePackages - The EPackages to select from.CheckedModelClassCompositepublic static SelectionComposite<org.eclipse.jface.viewers.TreeViewer> getSelectModelClassComposite(Collection<org.eclipse.emf.ecore.EPackage> unsupportedEPackages, Collection<org.eclipse.emf.ecore.EPackage> filteredEPackages, Collection<org.eclipse.emf.ecore.EClass> filteredEClasses)
EClass based on all known EPackages
in the registry by applying the provided filters.unsupportedEPackages - The EPackages that should not be available (blacklist)filteredEPackages - The EPackages that should be available (whitelist)filteredEClasses - The EClasses that should be available (whitelist)SelectionComposite based on a TreeViewerpublic static SelectionComposite<org.eclipse.jface.viewers.TreeViewer> getSelectModelClassComposite(ECPProject project)
EClass based on all known EPackages
in the registry by applying the filters in the provided project.project - The ECPProject to use as a filterSelectionComposite based on a TreeViewerpublic static CheckedEStructuralFeatureComposite getCheckedTableSelectionComposite(Object rootObject)
CompositeProvider for a composite
displaying a table with checkboxes.rootObject - the viewer inputCopyright © 2020. All rights reserved.