|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.plugin.CgUtils
public class CgUtils
Constructor Summary | |
---|---|
CgUtils()
|
Method Summary | |
---|---|
static ParseUnit |
createParseUnit(java.io.File file)
This variant finds the IFile in the current ProRefactor project. |
static ParseUnit |
createParseUnit(java.io.File file,
IFile ifile)
Temporary workaround for the linked resources problem. |
static IFile |
findAnIFile(java.lang.String fullPath)
Attempt to find an appropriate IFile for a file fullpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CgUtils()
Method Detail |
---|
public static ParseUnit createParseUnit(java.io.File file)
createParseUnit(File, IFile)
public static ParseUnit createParseUnit(java.io.File file, IFile ifile)
The current implementation of ParseUnit doesn't make it very easy to get it and its PUB all set up with the PUB file in the proper project relative directory.
Note: The current ProRefactor project is the project for the PUB file.
public static IFile findAnIFile(java.lang.String fullPath)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |