| de.loskutov.bco.editors.BytecodeBreakpointAdapter
BytecodeBreakpointAdapter | public class BytecodeBreakpointAdapter extends ToggleBreakpointAdapter (Code) | | Extend ToggleBreakpointAdapter to allow us map source code lines to the bytecode lines
TODO implement the mapping :)
author: Andrei |
Method Summary | |
public boolean | canToggleBreakpoints(IWorkbenchPart part, ISelection selection) | public boolean | canToggleLineBreakpoints(IWorkbenchPart part, ISelection selection) | public boolean | canToggleMethodBreakpoints(IWorkbenchPart part, ISelection selection) | public boolean | canToggleWatchpoints(IWorkbenchPart part, ISelection selection) | protected void | createLineBreakpoint(IResource resource, String typeName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes, IDocument document, boolean bestMatch, IType type, IEditorPart editorPart) | protected void | createMethodBreakpoint(IResource resource, String typeName, String methodName, String methodSignature, boolean entry, boolean exit, boolean nativeOnly, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) | protected void | createWatchpoint(IResource resource, String typeName, String fieldName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) | protected IJavaMethodBreakpoint | getMethodBreakpoint(String typeName, String methodName, String methodSignature) Returns any existing method breakpoint for the specified method or null if none. | protected IJavaWatchpoint | getWatchpoint(String typeName, String fieldName) Returns any existing watchpoint for the given field, or null if none. | protected boolean | isInterface(ISelection selection) | protected void | removeBreakpoint(IBreakpoint breakpoint, boolean delete) | public void | toggleBreakpoints(IWorkbenchPart part, ISelection selection) | public void | toggleLineBreakpoints(IWorkbenchPart part, ISelection selection) | public void | toggleLineBreakpoints(IWorkbenchPart part, ISelection selection, boolean bestMatch) Toggles a line breakpoint. | public void | toggleMethodBreakpoints(IWorkbenchPart part, ISelection finalSelection) | public void | toggleWatchpoints(IWorkbenchPart part, ISelection finalSelection) |
canToggleBreakpoints | public boolean canToggleBreakpoints(IWorkbenchPart part, ISelection selection)(Code) | | |
canToggleLineBreakpoints | public boolean canToggleLineBreakpoints(IWorkbenchPart part, ISelection selection)(Code) | | |
canToggleMethodBreakpoints | public boolean canToggleMethodBreakpoints(IWorkbenchPart part, ISelection selection)(Code) | | |
canToggleWatchpoints | public boolean canToggleWatchpoints(IWorkbenchPart part, ISelection selection)(Code) | | |
createLineBreakpoint | protected void createLineBreakpoint(IResource resource, String typeName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes, IDocument document, boolean bestMatch, IType type, IEditorPart editorPart) throws CoreException(Code) | | |
createMethodBreakpoint | protected void createMethodBreakpoint(IResource resource, String typeName, String methodName, String methodSignature, boolean entry, boolean exit, boolean nativeOnly, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws CoreException(Code) | | |
createWatchpoint | protected void createWatchpoint(IResource resource, String typeName, String fieldName, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws CoreException(Code) | | |
getMethodBreakpoint | protected IJavaMethodBreakpoint getMethodBreakpoint(String typeName, String methodName, String methodSignature) throws CoreException(Code) | | Returns any existing method breakpoint for the specified method or null if none.
Parameters: typeName - fully qualified type name Parameters: methodName - method selector Parameters: methodSignature - method signature existing method or null throws: CoreException - |
getWatchpoint | protected IJavaWatchpoint getWatchpoint(String typeName, String fieldName) throws CoreException(Code) | | Returns any existing watchpoint for the given field, or null if none.
Parameters: typeName - fully qualified type name on which watchpoint may exist Parameters: fieldName - field name any existing watchpoint for the given field, or null if none throws: CoreException - |
isInterface | protected boolean isInterface(ISelection selection)(Code) | | Returns if the structured selection is itself or is part of an interface
Parameters: selection - the current selection true if the selection isor is part of an interface, false otherwise since: 3.2 |
removeBreakpoint | protected void removeBreakpoint(IBreakpoint breakpoint, boolean delete) throws CoreException(Code) | | Removes the specified breakpoint
Parameters: breakpoint - the breakpoint to remove Parameters: delete - if it should be deleted as well throws: CoreException - |
toggleBreakpoints | public void toggleBreakpoints(IWorkbenchPart part, ISelection selection) throws CoreException(Code) | | |
toggleLineBreakpoints | public void toggleLineBreakpoints(IWorkbenchPart part, ISelection selection) throws CoreException(Code) | | |
toggleLineBreakpoints | public void toggleLineBreakpoints(IWorkbenchPart part, ISelection selection, boolean bestMatch)(Code) | | Toggles a line breakpoint. This is also the method called by the keybinding for creating breakpoints
Parameters: part - the currently active workbench part Parameters: selection - the current selection Parameters: bestMatch - if we should make a best match or not |
toggleMethodBreakpoints | public void toggleMethodBreakpoints(IWorkbenchPart part, ISelection finalSelection)(Code) | | |
toggleWatchpoints | public void toggleWatchpoints(IWorkbenchPart part, ISelection finalSelection)(Code) | | |
|
|