public final class ContextUtils
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
static Locatable | 
getLocatable(Context ctx)  | 
static Project | 
getProject(Context ctx)  | 
static Element | 
getSelectedElement(Context ctx)
Get the selected element for the specified context. 
 | 
static java.net.URL | 
getURL(Context ctx)  | 
static boolean | 
isLocalFile(java.net.URL url)
Returns true if the specified URL is allowable in the various
 file.* macros in external tools. 
 | 
public static boolean isLocalFile(java.net.URL url)
url - a url to test. Must not be null.public static Element getSelectedElement(Context ctx)
public static java.net.URL getURL(Context ctx)