1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Minor optimization

This commit is contained in:
John Cortell 2008-04-08 11:43:11 +00:00
parent 3c78f0d8e1
commit c56222f3e5

View file

@ -866,7 +866,7 @@ public class DisassemblyView extends AbstractDebugEventHandlerView
// register the context menu such that other plugins may contribute to it // register the context menu such that other plugins may contribute to it
if ( getSite() != null ) { if ( getSite() != null ) {
getSite().registerContextMenu( getViewContextMenuId(), manager, getSourceViewer() ); getSite().registerContextMenu( id, manager, getSourceViewer() );
} }
} }
@ -881,7 +881,7 @@ public class DisassemblyView extends AbstractDebugEventHandlerView
rulerControl.addMouseListener( getRulerMouseListener() ); rulerControl.addMouseListener( getRulerMouseListener() );
if ( getSite() != null ) { if ( getSite() != null ) {
getSite().registerContextMenu( getRulerContextMenuId(), manager, getSourceViewer() ); getSite().registerContextMenu( id, manager, getSourceViewer() );
} }
} }