Eclipse Platform
Release 3.2

org.eclipse.ltk.core.refactoring
Interface IResourceMapper


public interface IResourceMapper

An 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.

Since:
3.2

Method Summary
 IResource getRefactoredResource(IResource element)
          Returns the refactored resource for the given element.
 

Method Detail

getRefactoredResource

public IResource getRefactoredResource(IResource element)
Returns the refactored resource for the given element.

Note that the returned resource might not yet exist when the method is called.

Parameters:
element - the resource to be refactored
Returns:
the refactored element for the given element

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.