| de.loskutov.bco.editors.BytecodeClassFileEditor
BytecodeClassFileEditor | public class BytecodeClassFileEditor extends JavaEditor implements ClassFileDocumentProvider.InputChangeListener(Code) | | A "better" way to hook into JDT...
author: Eugene Kuleshov, V. Grishchenko, Jochen Klein, Andrei Loskutov |
BytecodeClassFileEditor | public BytecodeClassFileEditor()(Code) | | Constructor for JadclipseClassFileEditor.
|
adjustHighlightRange | protected void adjustHighlightRange(int offset, int length)(Code) | | |
checkForInnerClass | public static IRegion checkForInnerClass(int sourceLine, IClassFile parent)(Code) | | Check if we can show an inner class, which was declared in the source code of the
given parent class and which could have the bytecode for the given source line.
If both are true, then this method changes the input of the bytecode editor
with the given class file (if any) to the inner class, or opens a new editor with
the inner class.
Parameters: sourceLine - requested source line (from debugger) Parameters: parent - expected parent class file The region in the inner class (if inner class could be found), or an emptyzero-based region. |
computeHighlightRangeSourceReference | protected ISourceReference computeHighlightRangeSourceReference()(Code) | | |
convertLine | public ITextSelection convertLine(int sourceLine)(Code) | | |
convertSelection | public ITextSelection convertSelection(ITextSelection textSelection, boolean toDecompiled)(Code) | | |
createPartControl | public void createPartControl(Composite parent)(Code) | | |
dispose | public void dispose()(Code) | | |
doSetInput | public void doSetInput(boolean force, boolean reuseSource)(Code) | | Sets editor input only if buffer was actually opened.
Parameters: force - if true initialize no matter what Parameters: reuseSource - true to show source code if available |
doSetInput | protected void doSetInput(IEditorInput input) throws CoreException(Code) | | |
getBytecodeInstructionAtLine | public int getBytecodeInstructionAtLine(int line)(Code) | | |
getClassFile | public IClassFile getClassFile()(Code) | | |
getCorrespondingElement | protected IJavaElement getCorrespondingElement(IJavaElement element)(Code) | | |
getDecompilerFlag | public boolean getDecompilerFlag(int flag)(Code) | | |
getElementAt | protected IJavaElement getElementAt(int offset)(Code) | | |
getSourceLine | public int getSourceLine(ITextSelection bytecodeSelection)(Code) | | |
hasMappedSource | protected boolean hasMappedSource()(Code) | | the hasMappedSource |
init | public void init(IEditorSite site, IEditorInput input) throws PartInitException(Code) | | |
inputChanged | public void inputChanged(IClassFileEditorInput input)(Code) | | |
isDecompiled | public boolean isDecompiled()(Code) | | true if this editor displays decompiled source,false otherwise |
isEditable | public boolean isEditable()(Code) | | |
isEditorInputModifiable | public boolean isEditorInputModifiable()(Code) | | |
isEditorInputReadOnly | public boolean isEditorInputReadOnly()(Code) | | |
isSaveAsAllowed | public boolean isSaveAsAllowed()(Code) | | |
setDecompilerFlag | public void setDecompilerFlag(int flag, boolean value)(Code) | | |
setHasMappedSource | protected void setHasMappedSource(boolean hasMappedSource)(Code) | | Parameters: hasMappedSource - the hasMappedSource to set |
setSelection | protected void setSelection(ISourceReference reference, boolean moveCursor)(Code) | | |
showHighlightRangeOnly | public void showHighlightRangeOnly(boolean showHighlightRangeOnly)(Code) | | |
transformEditorInput | protected IClassFileEditorInput transformEditorInput(Object input)(Code) | | Translates the given object into an IClassFileEditorInput
Parameters: input - the object to be transformed if necessary the transformed editor input |
updateOccurrenceAnnotations | protected void updateOccurrenceAnnotations(ITextSelection selection, CompilationUnit astRoot)(Code) | | |
|
|