public class MapModelIndex
extends java.lang.Object
implements org.eclipse.core.resources.IResourceChangeListener
Constructor and Description |
---|
MapModelIndex() |
Modifier and Type | Method and Description |
---|---|
boolean |
addProxyURI(org.eclipse.emf.common.util.URI proxyURI) |
void |
clearAll() |
void |
dispose() |
boolean |
exists(org.eclipse.emf.common.util.URI fragmentUri) |
boolean |
existsProxyURI(org.eclipse.emf.common.util.URI proxyURI) |
java.util.Collection<org.eclipse.emf.common.util.URI> |
findInstances(org.eclipse.emf.ecore.EClass class1,
org.eclipse.core.resources.IProject scope) |
java.util.Collection<org.eclipse.emf.common.util.URI> |
findReferencesTo(org.eclipse.emf.ecore.EObject object,
org.eclipse.core.resources.IProject scope) |
void |
reIndex() |
boolean |
removeProxyURI(org.eclipse.emf.common.util.URI proxyURI) |
void |
resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event) |
void |
startListening() |
void |
stopListening() |
void |
updateIndexOnResourceLoaded(org.eclipse.emf.ecore.resource.Resource resource)
Removes the proxyURI from the black list on certain conditions.
|
void |
updateIndexOnResourceUnloaded(org.eclipse.emf.ecore.resource.Resource resource) |
public void startListening()
public void stopListening()
public void clearAll()
public void dispose()
public boolean exists(org.eclipse.emf.common.util.URI fragmentUri)
public boolean existsProxyURI(org.eclipse.emf.common.util.URI proxyURI)
public boolean addProxyURI(org.eclipse.emf.common.util.URI proxyURI)
public boolean removeProxyURI(org.eclipse.emf.common.util.URI proxyURI)
public void updateIndexOnResourceLoaded(org.eclipse.emf.ecore.resource.Resource resource)
public void updateIndexOnResourceUnloaded(org.eclipse.emf.ecore.resource.Resource resource)
public java.util.Collection<org.eclipse.emf.common.util.URI> findInstances(org.eclipse.emf.ecore.EClass class1, org.eclipse.core.resources.IProject scope)
public java.util.Collection<org.eclipse.emf.common.util.URI> findReferencesTo(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IProject scope)
public void resourceChanged(org.eclipse.core.resources.IResourceChangeEvent event)
resourceChanged
in interface org.eclipse.core.resources.IResourceChangeListener
public void reIndex() throws java.lang.Exception
java.lang.Exception