Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
asm
eclipse-plugin
Commits
5ad640bd
Commit
5ad640bd
authored
Dec 30, 2008
by
andrei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added decompiled class name to the view description
parent
a1a2a5a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/de/loskutov/bco/views/BytecodeOutlineView.java
src/de/loskutov/bco/views/BytecodeOutlineView.java
+7
-0
No files found.
src/de/loskutov/bco/views/BytecodeOutlineView.java
View file @
5ad640bd
...
...
@@ -85,6 +85,7 @@ import org.eclipse.ui.texteditor.FindReplaceAction;
import
org.eclipse.ui.texteditor.ITextEditor
;
import
org.eclipse.ui.texteditor.IUpdate
;
import
org.eclipse.ui.texteditor.IWorkbenchActionDefinitionIds
;
import
org.objectweb.asm.tree.ClassNode
;
import
de.loskutov.bco.BytecodeOutlinePlugin
;
import
de.loskutov.bco.asm.DecompiledClass
;
...
...
@@ -1113,8 +1114,13 @@ public class BytecodeOutlineView extends ViewPart {
currentStatusMessage
=
"Java:"
+
result
.
getAttribute
(
"java.version"
)
+
" | class size:"
+
result
.
getAttribute
(
"class.size"
);
ClassNode
classNode
=
result
.
getClassNode
();
if
(
classNode
!=
null
&&
classNode
.
name
!=
null
)
{
setContentDescription
(
classNode
.
name
);
}
}
else
{
currentStatusMessage
=
""
;
setContentDescription
(
""
);
}
String
selectionInfo
=
""
;
if
(
bytecodeOffsetStart
>=
0
)
{
...
...
@@ -1129,6 +1135,7 @@ public class BytecodeOutlineView extends ViewPart {
}
else
{
statusLineManager
.
setMessage
(
currentStatusMessage
+
selectionInfo
);
}
}
public
int
getBytecodeInstructionAtLine
(
int
line
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment