Class MdTypeSetTypesProvider

  • All Implemented Interfaces:
    ITypeSetTypesProvider

    public class MdTypeSetTypesProvider
    extends Object
    implements ITypeSetTypesProvider
    ITypeSetTypesProvider for md.

    This implementation uses scope provider to get all registered types and dynamically computes type list which is appropriate for given typeset.

    Registers itself as type set provider for McoreTypeSetExtension TODO This logic is copied in the com._1c.g5.v8.dt.dcs.util.DcsUtil as well. Please update them simultaneously until refactored

    • Constructor Detail

      • MdTypeSetTypesProvider

        protected MdTypeSetTypesProvider()
        Constructor
    • Method Detail

      • getTypes

        public List<Type> getTypes​(org.eclipse.emf.ecore.EObject context,
                                   TypeSet typeSet)
        Description copied from interface: ITypeSetTypesProvider
        Returns types for given type set. As there is more then one configuration, context is used for defining what types is appropriate. This implementation mainly returns dynamically created list of types.
        Specified by:
        getTypes in interface ITypeSetTypesProvider
        Parameters:
        context - context object (not null)
        typeSet - type set (not null)
        Returns:
        types for given type set (never null)