org.eclipse.cdt.core.resources
Class ScannerProvider
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.internal.core.InternalCExtension
org.eclipse.cdt.core.AbstractCExtension
org.eclipse.cdt.core.resources.ScannerProvider
- All Implemented Interfaces:
- ICExtension, org.eclipse.cdt.core.model.IElementChangedListener, IScannerInfoProvider, org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
- DiscoveredScannerInfoProvider, MakeScannerProvider, MakeScannerProvider
public class ScannerProvider
- extends AbstractCExtension
- implements IScannerInfoProvider, org.eclipse.cdt.core.model.IElementChangedListener
Method Summary |
void |
elementChanged(org.eclipse.cdt.core.model.ElementChangedEvent event)
|
static IScannerInfoProvider |
getInstance()
|
org.eclipse.cdt.core.parser.IScannerInfo |
getScannerInformation(org.eclipse.core.resources.IResource resource)
The receiver will answer the current state of the build information for the
resource specified in the argument. |
void |
subscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
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)
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.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScannerProvider
public ScannerProvider()
getInstance
public static IScannerInfoProvider getInstance()
getScannerInformation
public org.eclipse.cdt.core.parser.IScannerInfo getScannerInformation(org.eclipse.core.resources.IResource resource)
- 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
- Returns:
subscribe
public void subscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
- 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
unsubscribe
public void unsubscribe(org.eclipse.core.resources.IResource resource,
IScannerInfoChangeListener listener)
- 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
elementChanged
public void elementChanged(org.eclipse.cdt.core.model.ElementChangedEvent event)
- Specified by:
elementChanged
in interface org.eclipse.cdt.core.model.IElementChangedListener