Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Generation Framework

org.eclipse.gmf.mappings.presentation
Class FilterUtil

java.lang.Object
  extended by 
org.eclipse.gmf.mappings.presentation.FilterUtil

public class FilterUtil
extends java.lang.Object


Constructor Summary
FilterUtil ()
           
 
Method Summary
static java.util.List<org.eclipse.emf.ecore.EReference> filterByContainerMetaclass (java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences, NodeReference nodeReference, boolean containmentOnly)
           
static java.util.List<org.eclipse.emf.ecore.EStructuralFeature> filterByContainerMetaclass (java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> eReferences, MappingEntry mappingEntry)
           
static java.util.List<org.eclipse.emf.ecore.EClass> filterByContainmentFeature (java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses, MappingEntry mappingEntry)
           
static java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> filterByFeatureInitializer (java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> features, FeatureInitializer featureInitializer)
           
static java.util.Collection<org.eclipse.emf.ecore.EClass> filterByFeatureSeqInitializer (java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses, FeatureSeqInitializer featureSeqInitializer)
           
static java.util.Collection<org.eclipse.emf.ecore.EObject> filterByNodeMapping (java.util.Collection<org.eclipse.emf.ecore.EObject> compartments, ChildReference childReference)
           
static java.util.Collection<org.eclipse.emf.ecore.EObject> filterByNodeMapping (java.util.Collection<org.eclipse.emf.ecore.EObject> childReferences, CompartmentMapping mapping)
           
static java.util.List<org.eclipse.emf.ecore.EReference> filterByReferenceType (java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences, LinkMapping linkMapping)
           
static
<T extends org.eclipse.emf.ecore.EObject>
java.util.List<T>
filterByResourceSet (java.util.Collection<T> eClasses, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
           
static java.util.Collection<?> filterBySuperClasses (java.util.Collection<?> instances, java.lang.Class<?>[] classes)
           
static
<T extends org.eclipse.emf.ecore.EObject>
java.util.Collection<T>
filterValidEObjectsFrom (java.util.Collection<T> eClasses, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
           
static
<T extends org.eclipse.emf.ecore.EObject>
java.util.Collection<T>
getChildrenOf (java.util.Collection<T> elements, org.eclipse.emf.ecore.EObject container, boolean addNull)
           
static java.util.Collection<org.eclipse.emf.ecore.EClass> getConcreteEClasses (java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses)
           
static java.util.Collection<org.eclipse.emf.ecore.EReference> getEReferences (java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences, boolean containmentOnly)
           
static java.util.Collection<org.eclipse.emf.ecore.EReference> getEReferencesOfType (java.util.Collection<org.eclipse.emf.ecore.EReference> references, org.eclipse.emf.ecore.EClass referenceType)
           
static
<T extends org.eclipse.emf.ecore.EStructuralFeature>
java.util.Collection<T>
getEStructuralFeaturesOf (java.util.Collection<T> structuralFeatures, org.eclipse.emf.ecore.EClass featureContainerEClass)
           
static java.util.Collection<?> getSubClassesOf (java.util.Collection<?> instances, java.lang.Class<?>[] classes)
           
static java.util.Collection<org.eclipse.emf.ecore.EClass> getSubtypesOf (java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses, org.eclipse.emf.ecore.EClass superType)
           
static
<T extends org.eclipse.emf.ecore.EObject>
java.util.Collection<T>
getValidEObjects (java.util.Collection<T> eObjects)
           
static
<T extends org.eclipse.emf.ecore.EStructuralFeature>
java.util.Collection<T>
getValidEStructuralFeatures (java.util.Collection<T> structuralFeatures)
           
static
<T> java.util.List<T>
sort (java.util.Collection<T> eObjects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterUtil

public FilterUtil()
Method Detail

sort

public static <T> java.util.List<T> sort(java.util.Collection<T> eObjects)

filterByResourceSet

public static <T extends org.eclipse.emf.ecore.EObject> java.util.List<T> filterByResourceSet(java.util.Collection<T> eClasses,
                                                                                              org.eclipse.emf.ecore.resource.ResourceSet resourceSet)

filterByContainmentFeature

public static java.util.List<org.eclipse.emf.ecore.EClass> filterByContainmentFeature(java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses,
                                                                                      
MappingEntry mappingEntry)

filterByContainerMetaclass

public static java.util.List<org.eclipse.emf.ecore.EStructuralFeature> filterByContainerMetaclass(java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> eReferences,
                                                                                                  
MappingEntry mappingEntry)

filterByContainerMetaclass

public static java.util.List<org.eclipse.emf.ecore.EReference> filterByContainerMetaclass(java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences,
                                                                                          
NodeReference nodeReference,
                                                                                          boolean containmentOnly)

filterByReferenceType

public static java.util.List<org.eclipse.emf.ecore.EReference> filterByReferenceType(java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences,
                                                                                     
LinkMapping linkMapping)

filterByNodeMapping

public static java.util.Collection<org.eclipse.emf.ecore.EObject> filterByNodeMapping(java.util.Collection<org.eclipse.emf.ecore.EObject> childReferences,
                                                                                      
CompartmentMapping mapping)

filterByNodeMapping

public static java.util.Collection<org.eclipse.emf.ecore.EObject> filterByNodeMapping(java.util.Collection<org.eclipse.emf.ecore.EObject> compartments,
                                                                                      
ChildReference childReference)

filterBySuperClasses

public static java.util.Collection<?> filterBySuperClasses(java.util.Collection<?> instances,
                                                           java.lang.Class<?>[] classes)

filterByFeatureInitializer

public static java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> filterByFeatureInitializer(java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature> features,
                                                                                                        
FeatureInitializer featureInitializer)

filterByFeatureSeqInitializer

public static java.util.Collection<org.eclipse.emf.ecore.EClass> filterByFeatureSeqInitializer(java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses,
                                                                                               
FeatureSeqInitializer featureSeqInitializer)

getSubtypesOf

public static java.util.Collection<org.eclipse.emf.ecore.EClass> getSubtypesOf(java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses,
                                                                               org.eclipse.emf.ecore.EClass superType)

getConcreteEClasses

public static java.util.Collection<org.eclipse.emf.ecore.EClass> getConcreteEClasses(java.util.Collection<org.eclipse.emf.ecore.EClass> eClasses)

getEReferences

public static java.util.Collection<org.eclipse.emf.ecore.EReference> getEReferences(java.util.Collection<org.eclipse.emf.ecore.EReference> eReferences,
                                                                                    boolean containmentOnly)

getEStructuralFeaturesOf

public static <T extends org.eclipse.emf.ecore.EStructuralFeature> java.util.Collection<T> getEStructuralFeaturesOf(java.util.Collection<T> structuralFeatures,
                                                                                                                    org.eclipse.emf.ecore.EClass featureContainerEClass)

getEReferencesOfType

public static java.util.Collection<org.eclipse.emf.ecore.EReference> getEReferencesOfType(java.util.Collection<org.eclipse.emf.ecore.EReference> references,
                                                                                          org.eclipse.emf.ecore.EClass referenceType)

getValidEStructuralFeatures

public static <T extends org.eclipse.emf.ecore.EStructuralFeature> java.util.Collection<T> getValidEStructuralFeatures(java.util.Collection<T> structuralFeatures)

filterValidEObjectsFrom

public static <T extends org.eclipse.emf.ecore.EObject> java.util.Collection<T> filterValidEObjectsFrom(java.util.Collection<T> eClasses,
                                                                                                        org.eclipse.emf.ecore.resource.ResourceSet resourceSet)

getValidEObjects

public static <T extends org.eclipse.emf.ecore.EObject> java.util.Collection<T> getValidEObjects(java.util.Collection<T> eObjects)

getChildrenOf

public static <T extends org.eclipse.emf.ecore.EObject> java.util.Collection<T> getChildrenOf(java.util.Collection<T> elements,
                                                                                              org.eclipse.emf.ecore.EObject container,
                                                                                              boolean addNull)

getSubClassesOf

public static java.util.Collection<?> getSubClassesOf(java.util.Collection<?> instances,
                                                      java.lang.Class<?>[] classes)

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire