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 void
elementChanged(ElementChangedEvent event)
Deprecated.Notifies that one or more attributes of one or more C elements have changed.static IScannerInfoProvider
getInstance()
Deprecated.IScannerInfo
getScannerInformation(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 boolean
isPathEntryChange(ICElementDelta delta)
Deprecated.protected static void
notifyInfoListeners(org.eclipse.core.resources.IProject project, IScannerInfo info)
Deprecated.protected void
processDelta(ICElementDelta delta)
Deprecated.Processes a delta recursively.void
subscribe(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 theIResource
it is responsible for changes.void
unsubscribe(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:IScannerInfoProvider
The receiver will answer the current state of the build information for the resource specified in the argument.- Specified by:
getScannerInformation
in interfaceIScannerInfoProvider
-
subscribe
public void subscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)
Deprecated.Description copied from interface:IScannerInfoProvider
The receiver will register the listener specified in the argument to receive change notifications when the information for theIResource
it is responsible for changes.- Specified by:
subscribe
in interfaceIScannerInfoProvider
-
unsubscribe
public void unsubscribe(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener)
Deprecated.Description copied from interface:IScannerInfoProvider
The receiver will no longer notify the listener specified in the argument when information about the reource it is responsible for changes.- Specified by:
unsubscribe
in interfaceIScannerInfoProvider
-
elementChanged
public void elementChanged(ElementChangedEvent event)
Deprecated.Description copied from interface:IElementChangedListener
Notifies 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:
elementChanged
in 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
-
-