mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Contributing new disassembly.
This commit is contained in:
parent
a076f288d1
commit
0c89fe6733
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ public class DisassemblyEditor extends EditorPart implements ITextEditor, IReusa
|
|||
getSite().registerContextMenu( fDisassemblyPane.getViewContextMenuId(), fDisassemblyPane.getTextMenuManager(), getViewer() );
|
||||
}
|
||||
|
||||
if ( getSite() != null ) {
|
||||
getSite().registerContextMenu( fDisassemblyPane.getRulerContextMenuId(), fDisassemblyPane.getTextMenuManager(), getViewer() );
|
||||
}
|
||||
|
||||
VirtualSourceViewer viewer = fDisassemblyPane.getViewer();
|
||||
IEditorInput input = getEditorInput();
|
||||
if ( input instanceof DisassemblyEditorInput ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue