public class FileStatusContext extends RefactoringStatusContext
RefactoringStatusEntrywith detailed information about a problem detected in an
Note: this class is not intended to be extended by clients.
|Constructor and Description|
Creates an status entry context for the given file and source region.
|Modifier and Type||Method and Description|
Returns the element that corresponds directly to this context, or
Returns the context's file.
Returns the context's source region
file- the file that has caused the problem. Must not be
region- the source region of the problem inside the given file or
nullif now source region is known
public IFile getFile()
public IRegion getTextRegion()
nullif no source region has been set
public Object getCorrespondingElement()
nullif there is no corresponding element.
For example, the corresponding element of a context for a problem
detected in an
IResource would be the resource itself.
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.