Class BslFragmentProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.IFragmentProvider

    public class BslFragmentProvider
    extends org.eclipse.xtext.resource.DefaultFragmentProvider
    Custom IFragmentProvider for Bsl resource
    • Constructor Detail

      • BslFragmentProvider

        public BslFragmentProvider()
    • Method Detail

      • getFragment

        public String getFragment​(org.eclipse.emf.ecore.EObject obj,
                                  org.eclipse.xtext.resource.IFragmentProvider.Fallback fallback)
        Specified by:
        getFragment in interface org.eclipse.xtext.resource.IFragmentProvider
        Overrides:
        getFragment in class org.eclipse.xtext.resource.DefaultFragmentProvider
      • getEObject

        public org.eclipse.emf.ecore.EObject getEObject​(org.eclipse.emf.ecore.resource.Resource resource,
                                                        String fragment,
                                                        org.eclipse.xtext.resource.IFragmentProvider.Fallback fallback)
        Specified by:
        getEObject in interface org.eclipse.xtext.resource.IFragmentProvider
        Overrides:
        getEObject in class org.eclipse.xtext.resource.DefaultFragmentProvider