org.eclipse.jst.jsf.designtime.internal.provisional.symbols
Class FileContextUtil

java.lang.Object
  extended byorg.eclipse.jst.jsf.designtime.internal.provisional.symbols.FileContextUtil

public final class FileContextUtil
extends java.lang.Object

Utility for deriving an IFile from an IAdaptable


Constructor Summary
FileContextUtil()
           
 
Method Summary
static org.eclipse.core.resources.IFile deriveIFileFromContext(org.eclipse.core.runtime.IAdaptable context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContextUtil

public FileContextUtil()
Method Detail

deriveIFileFromContext

public static org.eclipse.core.resources.IFile deriveIFileFromContext(org.eclipse.core.runtime.IAdaptable context)
Parameters:
context -
Returns:
an IFile derived from context or null if not derivable