Interface ISlicedSelectable


  • public interface ISlicedSelectable
    Special interface for expanding functionality of ISelectable for index slices. See IIndexSlice
    • Method Detail

      • getExportedObjects

        Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjects​(org.eclipse.emf.ecore.EClass type,
                                                                                    org.eclipse.xtext.naming.QualifiedName name,
                                                                                    boolean ignoreCase,
                                                                                    Collection<ISliceFilter> slices)
        Gets all elements which match the given qualified name and type for concrete index slices
        Parameters:
        type - EClass of searching item, can't be null
        name - name of searching item, can't be null
        ignoreCase - true if letter's register does not matter for matching, false otherwise
        slices - list of predicates corresponding to the index slices, can't be null
        Returns:
        all elements which match the given qualified name and type. May not be null.
      • getExportedObjectsByType

        Iterable<org.eclipse.xtext.resource.IEObjectDescription> getExportedObjectsByType​(org.eclipse.emf.ecore.EClass type,
                                                                                          Collection<ISliceFilter> slices)
        Gets all elements which match the given type for concrete index slices
        Parameters:
        type - EClass of selectable items, can't be null
        slices - list of predicates corresponding to the index slices, can't be null
        Returns:
        all elements which match the given type. May not be null.