| java.lang.Object org.netbeans.modules.web.debug.Context
Context | public class Context (Code) | | author: Martin Grebac |
annotate | public static Object annotate(String url, int lineNumber, String annotationType, Object timeStamp)(Code) | | Adds annotation to given url on given line.
Parameters: url - a url of source annotation should be set into Parameters: lineNumber - a number of line annotation should be set into Parameters: annotationType - a type of annotation to be set annotation or null , when the annotation can not becreated at the given URL or line number. |
annotate | public static Object annotate(JspLineBreakpoint b)(Code) | | Adds annotation to url:line where the given breakpoint is set.
Parameters: b - breakpoint to annotate annotation or null , when the annotation can not becreated at the url:line where the given breakpoint is set. |
createTimeStamp | public static void createTimeStamp(Object timeStamp)(Code) | | Creates a new time stamp.
Parameters: timeStamp - a new time stamp |
disposeTimeStamp | public static void disposeTimeStamp(Object timeStamp)(Code) | | Disposes given time stamp.
Parameters: timeStamp - a time stamp to be disposed |
getCurrentLineNumber | public static int getCurrentLineNumber()(Code) | | Returns number of line currently selected in editor or null .
number of line currently selected in editor or 0 |
getCurrentURL | public static String getCurrentURL()(Code) | | Returns URL of source currently selected in editor or null .
URL of source currently selected in editor or null |
removeAnnotation | public static void removeAnnotation(Object annotation)(Code) | | Removes given annotation.
true if annotation has been successfully removed |
showSource | public static boolean showSource(String url, int lineNumber, Object timeStamp)(Code) | | Shows source with given url on given line number.
Parameters: url - a url of source to be shown Parameters: lineNumber - a number of line to be shown |
|
|