Class RightQlUtil

java.lang.Object
com.e1c.langtool.v8.dt.right.ql.RightQlUtil

public final class RightQlUtil extends Object
  • Field Details

  • Method Details

    • getRestriction

      public static Restriction getRestriction(IDependentModelProvider dependentModelProvider, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.runtime.IPath basePath, org.eclipse.xtext.util.CancelIndicator monitor)
      Gets the restriction QL object (RLS) as dependent model form source text feature.
      Parameters:
      dependentModelProvider - the dependent model provider, cannot be null.
      source - the source object that contains text feature of RLS, cannot be null.
      feature - the text feature in the source object, cannot be null.
      basePath - the base path, cannot be null.
      monitor - the monitor, cannot be null.
      Returns:
      the restriction, may return null.