public interface IResourceMapper
IResourceMapper provides methods to map an original
resource to its refactored counterparts.
An IResourceMapper can be obtained via
PlatformObject.getAdapter(Class).
This interface is intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
IResource |
getRefactoredResource(IResource element)
Returns the refactored resource for the given element.
|
IResource getRefactoredResource(IResource element)
Note that the returned resource might not yet exist when the method is called.
element - the resource to be refactoredGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.