org.eclipse.cdt.make.core.scannerconfig
Class DiscoveredScannerInfoProvider

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.cdt.internal.core.InternalCExtension
          extended by org.eclipse.cdt.core.AbstractCExtension
              extended by org.eclipse.cdt.core.resources.ScannerProvider
                  extended by org.eclipse.cdt.make.core.scannerconfig.DiscoveredScannerInfoProvider
All Implemented Interfaces:
ICExtension, org.eclipse.cdt.core.model.IElementChangedListener, IScannerInfoProvider, org.eclipse.core.runtime.IAdaptable

Deprecated. @author vhirsl

public class DiscoveredScannerInfoProvider
extends ScannerProvider

Provider of both user specified and discovered scanner info


Field Summary
static java.lang.String INTERFACE_IDENTITY
          Deprecated.  
 
Constructor Summary
DiscoveredScannerInfoProvider()
          Deprecated.  
 
Method Summary
static DiscoveredScannerInfoProvider getDefault()
          Deprecated.  
 DiscoveredScannerInfo getDiscoveredScannerInfo(org.eclipse.core.resources.IProject project, boolean cacheInfo)
          Deprecated.  
 org.eclipse.cdt.core.parser.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.
static void removeScannerInfo(org.eclipse.core.resources.IResource resource)
          Deprecated. The build model manager for standard builds only caches the build information for a resource on a per-session basis.
 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 the IResource 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.resources.ScannerProvider
elementChanged, getInstance
 
Methods inherited from class org.eclipse.cdt.core.AbstractCExtension
getExtensionReference, getProject
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERFACE_IDENTITY

public static final java.lang.String INTERFACE_IDENTITY
Deprecated. 
Constructor Detail

DiscoveredScannerInfoProvider

public DiscoveredScannerInfoProvider()
Deprecated. 
Method Detail

getDefault

public static DiscoveredScannerInfoProvider getDefault()
Deprecated. 

getScannerInformation

public org.eclipse.cdt.core.parser.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 interface IScannerInfoProvider
Overrides:
getScannerInformation in class ScannerProvider
Returns:

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 the IResource it is responsible for changes.

Specified by:
subscribe in interface IScannerInfoProvider
Overrides:
subscribe in class ScannerProvider

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 interface IScannerInfoProvider
Overrides:
unsubscribe in class ScannerProvider

getDiscoveredScannerInfo

public DiscoveredScannerInfo getDiscoveredScannerInfo(org.eclipse.core.resources.IProject project,
                                                      boolean cacheInfo)
                                               throws org.eclipse.core.runtime.CoreException
Deprecated. 
Throws:
org.eclipse.core.runtime.CoreException

removeScannerInfo

public static void removeScannerInfo(org.eclipse.core.resources.IResource resource)
Deprecated. 
The build model manager for standard builds only caches the build information for a resource on a per-session basis. This method allows clients of the build model manager to programmatically remove the association between the resource and the information while the reource is still open or in the workspace. The Eclipse core will take care of removing it if a resource is closed or deleted.

Parameters:
resource -