public class LocalMonitoredProxyCreationListener extends AbstractMonitoredProxyCreationListener
IProxyCreationListener for local resolutions.| Modifier and Type | Field and Description | 
|---|---|
| protected com.google.common.eventbus.EventBus | eventBusThe event bus to use to notify interesting events. | 
| protected IResourceDependencyLocalResolver | localResolverThe local resolver. | 
diagnostic, tspm| Constructor and Description | 
|---|
| LocalMonitoredProxyCreationListener(ThreadSafeProgressMonitor monitor,
                                   com.google.common.eventbus.EventBus eventBus,
                                   IResourceDependencyLocalResolver localResolver,
                                   DiagnosticSupport diagnostic)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | proxyCreated(Resource source,
            EObject eObject,
            EStructuralFeature feature,
            EObject proxy,
            int position)This will be called when a proxy is created from one of the parser pool's parsers. | 
protected final com.google.common.eventbus.EventBus eventBus
protected final IResourceDependencyLocalResolver localResolver
public LocalMonitoredProxyCreationListener(ThreadSafeProgressMonitor monitor, com.google.common.eventbus.EventBus eventBus, IResourceDependencyLocalResolver localResolver, DiagnosticSupport diagnostic)
monitor - The progress monitor to useeventBus - The event busdependencyProvider - The dependency providerdiagnostic - The diagnosticpublic void proxyCreated(Resource source, EObject eObject, EStructuralFeature feature, EObject proxy, int position)
source - The resource in which a proxy has been created towards another.eObject - The EObject on which some feature is going to be set with a proxy value.feature - The structural feature which value will contain a proxy.proxy - The actual proxy created for this eObject's feature.position - Position at which the proxy is going to be inserted. This will be set to -1
            when the proxy is added at the end of the eStructuralFeature's values list (for
            multi-valued features) or if said feature is single-valued.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.