Package org.eclipse.cdt.core.resources
Class ScannerProvider
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.cdt.core.AbstractCExtension
-
- org.eclipse.cdt.core.resources.ScannerProvider
-
- All Implemented Interfaces:
ICExtension,IElementChangedListener,IScannerInfoProvider,org.eclipse.core.runtime.IAdaptable
@Deprecated public class ScannerProvider extends AbstractCExtension implements IScannerInfoProvider, IElementChangedListener
Deprecated.Since CDT 4.0 replaced byScannerInfoProviderProxy. Still used as a default for projects created by earlier CDT versions.Provides scanner information fromPathEntryManager.- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description ScannerProvider()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidelementChanged(ElementChangedEvent event)Deprecated.Notifies that one or more attributes of one or more C elements have changed.static IScannerInfoProvidergetInstance()Deprecated.IScannerInfogetScannerInformation(org.eclipse.core.resources.IResource resource)Deprecated.The receiver will answer the current state of the build information for the resource specified in the argument.protected booleanisPathEntryChange(ICElementDelta delta)Deprecated.protected static voidnotifyInfoListeners(org.eclipse.core.resources.IProject project, IScannerInfo info)Deprecated.protected voidprocessDelta(ICElementDelta delta)Deprecated.Processes a delta recursively.voidsubscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)Deprecated.The receiver will register the listener specified in the argument to receive change notifications when the information for theIResourceit is responsible for changes.voidunsubscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)Deprecated.The receiver will no longer notify the listener specified in the argument when information about the reource it is responsible for changes.-
Methods inherited from class org.eclipse.cdt.core.AbstractCExtension
getConfigExtensionReference, getExtensionReference, getProject, setExtensionReference, setExtensionReference, setProject
-
-
-
-
Method Detail
-
getInstance
public static IScannerInfoProvider getInstance()
Deprecated.
-
notifyInfoListeners
protected static void notifyInfoListeners(org.eclipse.core.resources.IProject project, IScannerInfo info)Deprecated.- Parameters:
project-info-
-
getScannerInformation
public IScannerInfo getScannerInformation(org.eclipse.core.resources.IResource resource)
Deprecated.Description copied from interface:IScannerInfoProviderThe receiver will answer the current state of the build information for the resource specified in the argument.- Specified by:
getScannerInformationin interfaceIScannerInfoProvider
-
subscribe
public void subscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)Deprecated.Description copied from interface:IScannerInfoProviderThe receiver will register the listener specified in the argument to receive change notifications when the information for theIResourceit is responsible for changes.- Specified by:
subscribein interfaceIScannerInfoProvider
-
unsubscribe
public void unsubscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)Deprecated.Description copied from interface:IScannerInfoProviderThe receiver will no longer notify the listener specified in the argument when information about the reource it is responsible for changes.- Specified by:
unsubscribein interfaceIScannerInfoProvider
-
elementChanged
public void elementChanged(ElementChangedEvent event)
Deprecated.Description copied from interface:IElementChangedListenerNotifies that one or more attributes of one or more C elements have changed. The specific details of the change are described by the given event.- Specified by:
elementChangedin interfaceIElementChangedListener- Parameters:
event- the change event
-
isPathEntryChange
protected boolean isPathEntryChange(ICElementDelta delta)
Deprecated.
-
processDelta
protected void processDelta(ICElementDelta delta) throws CModelException
Deprecated.Processes a delta recursively.- Throws:
CModelException
-
-