mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Bug 326636 - [disassembly] Enable disassembly view as "editor"
This commit is contained in:
parent
8378c53a18
commit
8154839ead
2 changed files with 5 additions and 5 deletions
|
@ -637,7 +637,7 @@
|
||||||
</factory>
|
</factory>
|
||||||
<factory
|
<factory
|
||||||
class="org.eclipse.cdt.dsf.debug.internal.ui.actions.RetargettableActionAdapterFactory"
|
class="org.eclipse.cdt.dsf.debug.internal.ui.actions.RetargettableActionAdapterFactory"
|
||||||
adaptableType="org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyView">
|
adaptableType="org.eclipse.cdt.dsf.debug.internal.ui.disassembly.provisional.IDisassemblyPart">
|
||||||
<adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
|
<adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
|
||||||
<adapter type="org.eclipse.cdt.debug.internal.ui.actions.IResumeAtLineTarget"/>
|
<adapter type="org.eclipse.cdt.debug.internal.ui.actions.IResumeAtLineTarget"/>
|
||||||
<adapter type="org.eclipse.cdt.debug.internal.ui.actions.IMoveToLineTarget"/>
|
<adapter type="org.eclipse.cdt.debug.internal.ui.actions.IMoveToLineTarget"/>
|
||||||
|
|
|
@ -666,6 +666,10 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
||||||
}
|
}
|
||||||
|
|
||||||
initializeViewerFont(fViewer);
|
initializeViewerFont(fViewer);
|
||||||
|
fDocument = createDocument();
|
||||||
|
fViewer.setDocument(fDocument, new AnnotationModel());
|
||||||
|
JFaceResources.getFontRegistry().addListener(fPropertyChangeListener);
|
||||||
|
|
||||||
createActions();
|
createActions();
|
||||||
hookRulerContextMenu();
|
hookRulerContextMenu();
|
||||||
hookContextMenu();
|
hookContextMenu();
|
||||||
|
@ -677,10 +681,6 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fDocument = createDocument();
|
|
||||||
fViewer.setDocument(fDocument, new AnnotationModel());
|
|
||||||
JFaceResources.getFontRegistry().addListener(fPropertyChangeListener);
|
|
||||||
|
|
||||||
fErrorColor = getSharedColors().getColor(new RGB(96, 0, 0));
|
fErrorColor = getSharedColors().getColor(new RGB(96, 0, 0));
|
||||||
fInstructionColor = getSharedColors().getColor(new RGB(0, 0, 96));
|
fInstructionColor = getSharedColors().getColor(new RGB(0, 0, 96));
|
||||||
fSourceColor = getSharedColors().getColor(new RGB(64, 0, 80));
|
fSourceColor = getSharedColors().getColor(new RGB(64, 0, 80));
|
||||||
|
|
Loading…
Add table
Reference in a new issue