|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.pldt.common.util.Utility
public class Utility
Various function/methods of use, Originally in OpenMP analysis but used more generally now
| Nested Class Summary | |
|---|---|
static class |
Utility.Location
|
| Constructor Summary | |
|---|---|
Utility()
|
|
| Method Summary | |
|---|---|
static IDocument |
getDocument(IFile file)
getDocument - get document using IFile - now no longer depends on text buffer; can return IDocument even for a file that is not open in editor (and thus not in textbuffer) |
static IDocument |
getDocument(java.lang.String fullPathName)
get document using full path name |
static java.lang.String |
getInputFile(ITextEditor editor)
From an editor, determine the file (absolute path name) open in the editor. |
static Utility.Location |
getLocation(IASTNode node)
compute the location relative to file, ignoring includes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utility()
| Method Detail |
|---|
public static Utility.Location getLocation(IASTNode node)
node - - IASTNode
public static IDocument getDocument(java.lang.String fullPathName)
fullPathName - - String
public static IDocument getDocument(IFile file)
file - - IFile
public static java.lang.String getInputFile(ITextEditor editor)
editor -
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||