Class BmAwareResourceSetProvider

java.lang.Object
com._1c.g5.v8.dt.bm.xtext.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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.core.resources.IProject project)
    Configures resource set for refactoring.
    org.eclipse.emf.ecore.resource.ResourceSet
    get(IDtProject project)
    Gets resource set by DT project.
    org.eclipse.emf.ecore.resource.ResourceSet
    get(org.eclipse.core.resources.IProject project)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BmAwareResourceSetProvider

      public BmAwareResourceSetProvider()
  • Method Details

    • 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