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(forRemoval=true)
public class ScannerProvider
extends AbstractCExtension
implements IScannerInfoProvider, IElementChangedListener
Deprecated, for removal: This API element is subject to removal in a future version.
Provides scanner information from
PathEntryManager
.- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Notifies that one or more attributes of one or more C elements have changed.static IScannerInfoProvider
Deprecated, for removal: This API element is subject to removal in a future version.getScannerInformation
(org.eclipse.core.resources.IResource resource) Deprecated, for removal: This API element is subject to removal in a future version.The receiver will answer the current state of the build information for the resource specified in the argument.protected boolean
isPathEntryChange
(ICElementDelta delta) Deprecated, for removal: This API element is subject to removal in a future version.protected static void
notifyInfoListeners
(org.eclipse.core.resources.IProject project, IScannerInfo info) Deprecated, for removal: This API element is subject to removal in a future version.protected void
processDelta
(ICElementDelta delta) Deprecated, for removal: This API element is subject to removal in a future version.Processes a delta recursively.void
subscribe
(org.eclipse.core.resources.IResource resource, IScannerInfoChangeListener listener) Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
ScannerProvider
public ScannerProvider()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getInstance
Deprecated, for removal: This API element is subject to removal in a future version. -
notifyInfoListeners
protected static void notifyInfoListeners(org.eclipse.core.resources.IProject project, IScannerInfo info) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
project
-info
-
-
getScannerInformation
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version. -
processDelta
Deprecated, for removal: This API element is subject to removal in a future version.Processes a delta recursively.- Throws:
CModelException
-
ScannerInfoProviderProxy
. Still used as a default for projects created by earlier CDT versions.