mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
[268626] [Traditional Rendering] remove experimental Go To Address bar rendering
This commit is contained in:
parent
fb3f35c8b3
commit
b0259c85b9
1 changed files with 1 additions and 23 deletions
|
@ -1112,29 +1112,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
||||||
|
|
||||||
manager.add(copyAction);
|
manager.add(copyAction);
|
||||||
manager.add(copyAddressAction);
|
manager.add(copyAddressAction);
|
||||||
|
|
||||||
// IMemoryGoToAddressProvider interface, called using reflection, waiting on platform acceptance of patch
|
|
||||||
final IMemoryBlockRetrieval retrieve = MemoryViewUtil.getMemoryBlockRetrieval(TraditionalRendering.this.getMemoryBlock());
|
|
||||||
if (retrieve != null)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Method m = retrieve.getClass().getMethod("getGoToAddressRenderingId", new Class[] {});
|
|
||||||
m.setAccessible(true);
|
|
||||||
|
|
||||||
if(m != null)
|
|
||||||
{
|
|
||||||
String id = (String) m.invoke(retrieve, new Object[] {});
|
|
||||||
if(id == null)
|
|
||||||
manager.add(gotoAddressAction);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch(Exception e)
|
|
||||||
{
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
manager.add(gotoBaseAddressAction);
|
manager.add(gotoBaseAddressAction);
|
||||||
manager.add(refreshAction);
|
manager.add(refreshAction);
|
||||||
manager.add(new Separator());
|
manager.add(new Separator());
|
||||||
|
|
Loading…
Add table
Reference in a new issue