Package com._1c.g5.v8.dt.bsl.resource
Class BslFragmentProvider
- java.lang.Object
-
- org.eclipse.xtext.resource.DefaultFragmentProvider
-
- com._1c.g5.v8.dt.bsl.resource.BslFragmentProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IFragmentProvider
public class BslFragmentProvider extends org.eclipse.xtext.resource.DefaultFragmentProvider
CustomIFragmentProvider
for Bsl resource
-
-
Field Summary
Fields Modifier and Type Field Description static String
METHOD_FRAGMENT
Special uri fragment corresponding to theMethod
static String
PRAGMA_FRAGMENT
Special uri fragment corresponding to thePragma
-
Constructor Summary
Constructors Constructor Description BslFragmentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EObject
getEObject(org.eclipse.emf.ecore.resource.Resource resource, String fragment, org.eclipse.xtext.resource.IFragmentProvider.Fallback fallback)
String
getFragment(org.eclipse.emf.ecore.EObject obj, org.eclipse.xtext.resource.IFragmentProvider.Fallback fallback)
-
-
-
Field Detail
-
METHOD_FRAGMENT
public static final String METHOD_FRAGMENT
Special uri fragment corresponding to theMethod
- See Also:
- Constant Field Values
-
PRAGMA_FRAGMENT
public static final String PRAGMA_FRAGMENT
Special uri fragment corresponding to thePragma
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFragment
public String getFragment(org.eclipse.emf.ecore.EObject obj, org.eclipse.xtext.resource.IFragmentProvider.Fallback fallback)
- Specified by:
getFragment
in interfaceorg.eclipse.xtext.resource.IFragmentProvider
- Overrides:
getFragment
in classorg.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 interfaceorg.eclipse.xtext.resource.IFragmentProvider
- Overrides:
getEObject
in classorg.eclipse.xtext.resource.DefaultFragmentProvider
-
-