org.eclipse.ocl.examples.xtext.base.services
Class PivotResourceServiceProvider

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.DefaultResourceServiceProvider
      extended by org.eclipse.ocl.examples.xtext.base.services.PivotResourceServiceProvider
All Implemented Interfaces:
org.eclipse.xtext.resource.IResourceServiceProvider

public class PivotResourceServiceProvider
extends org.eclipse.xtext.resource.impl.DefaultResourceServiceProvider

PivotResourceServiceProvider extends the DefaultResourceServiceProvider to ensure that pivot: scheme URIs are handled by the primary language support rather than delegated to one determined by the file extension. This was originally provided to make hover text work for pivot references.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceServiceProvider
org.eclipse.xtext.resource.IResourceServiceProvider.Provider, org.eclipse.xtext.resource.IResourceServiceProvider.Registry
 
Constructor Summary
PivotResourceServiceProvider()
           
 
Method Summary
 boolean canHandle(org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceServiceProvider
get, getContainerManager, getEncodingProvider, getResourceDescriptionManager, getResourceValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PivotResourceServiceProvider

public PivotResourceServiceProvider()
Method Detail

canHandle

public boolean canHandle(org.eclipse.emf.common.util.URI uri)
Specified by:
canHandle in interface org.eclipse.xtext.resource.IResourceServiceProvider
Overrides:
canHandle in class org.eclipse.xtext.resource.impl.DefaultResourceServiceProvider