org.eclipse.xtext.common.types.ui.notification
Class TypeResourceUnloader

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.AbstractResourceDescriptionChangeEventSource
      extended by org.eclipse.xtext.common.types.ui.notification.TypeResourceUnloader
All Implemented Interfaces:
org.eclipse.jdt.core.IElementChangedListener, IResourceDescription.Event.Source

public class TypeResourceUnloader
extends AbstractResourceDescriptionChangeEventSource
implements org.eclipse.jdt.core.IElementChangedListener

A listener that will notify the state change broker about reconcile operations on java types. It converts the notifications of the JDT to events for the Xtext protocol. As this will only notify

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
TypeResourceUnloader(IStateChangeEventBroker stateChangeEventBroker, DeltaConverter deltaConverter)
           
 
Method Summary
 void elementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
           
 
Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescriptionChangeEventSource
addListener, addListeners, notifyListeners, removeListener, removeListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeResourceUnloader

@Inject
public TypeResourceUnloader(IStateChangeEventBroker stateChangeEventBroker,
                                   DeltaConverter deltaConverter)
Method Detail

elementChanged

public void elementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
Specified by:
elementChanged in interface org.eclipse.jdt.core.IElementChangedListener