|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.taglib.java.JavaActionsUtil
public class JavaActionsUtil
Utility class for Java related actions.
| Method Summary | |
|---|---|
static org.eclipse.jet.internal.taglib.java.PackageTag |
findContainingJavaPackageTag(CustomTag tag)
|
static org.eclipse.core.resources.IContainer |
getContainerForPackage(org.eclipse.core.runtime.IPath sourceFolder,
java.lang.String packageName)
Return the IFolder corresponding to the given Java package name. |
static org.eclipse.core.resources.IFolder |
getFolderForPackage(org.eclipse.core.runtime.IPath sourceFolder,
java.lang.String packageName)
Deprecated. Use getContainerForPackage(IPath,String) instead |
static org.eclipse.emf.codegen.util.ImportManager |
getImportManager(JET2Writer writer)
Return the imports manager installed in the current writer. |
static org.eclipse.core.resources.IFile |
getResourceForJavaResource(org.eclipse.core.runtime.IPath srcFolderPath,
java.lang.String pkgName,
java.lang.String fileName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.eclipse.core.resources.IFolder getFolderForPackage(org.eclipse.core.runtime.IPath sourceFolder,
java.lang.String packageName)
throws JET2TagException
getContainerForPackage(IPath,String) instead
IFolder corresponding to the given Java package name.
sourceFolder - the source folder containing the packagepackageName - the package name
JET2TagException - if the source folder is not valid.
public static org.eclipse.core.resources.IContainer getContainerForPackage(org.eclipse.core.runtime.IPath sourceFolder,
java.lang.String packageName)
throws JET2TagException
IFolder corresponding to the given Java package name.
sourceFolder - the source folder containing the packagepackageName - the package name
JET2TagException - if the source folder is not valid.
public static org.eclipse.emf.codegen.util.ImportManager getImportManager(JET2Writer writer)
throws JET2TagException
writer - the current writer. Cannot be null.
JET2TagException - if no <java:importsLocation> tag has executed on the writer.
java.lang.NullPointerException - if writer is null.
public static org.eclipse.jet.internal.taglib.java.PackageTag findContainingJavaPackageTag(CustomTag tag)
throws JET2TagException
JET2TagException
public static org.eclipse.core.resources.IFile getResourceForJavaResource(org.eclipse.core.runtime.IPath srcFolderPath,
java.lang.String pkgName,
java.lang.String fileName)
throws JET2TagException
JET2TagException
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||