Class BmAwareResourceSetProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.resource.IResourceSetProvider
    Direct Known Subclasses:
    BmAwareDirtySupportResourceSetProvider

    public class BmAwareResourceSetProvider
    extends Object
    implements org.eclipse.xtext.ui.resource.IResourceSetProvider
    IResourceSetProvider implementation aware of big model mechanisms.

    This implementation always returns new instance of BmAwareResourceSet

    • Constructor Detail

      • BmAwareResourceSetProvider

        public BmAwareResourceSetProvider()
    • Method Detail

      • get

        public org.eclipse.emf.ecore.resource.ResourceSet get​(org.eclipse.core.resources.IProject project)
        Specified by:
        get in interface org.eclipse.xtext.ui.resource.IResourceSetProvider
      • get

        public org.eclipse.emf.ecore.resource.ResourceSet get​(IDtProject project)
        Gets resource set by DT project.
        Parameters:
        project - The DT project. May not be null.
        Returns:
      • configure

        protected void configure​(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                                 org.eclipse.core.resources.IProject project)
        Configures resource set for refactoring. Default implementation add to resource set live scope
        Parameters:
        resourceSet - configuring ResourceSet, can't be null
        project - actual IProject, can be null