1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

[268626] [Traditional Rendering] remove experimental Go To Address bar rendering

This commit is contained in:
Ted Williams 2009-03-16 19:23:00 +00:00
parent fb3f35c8b3
commit b0259c85b9

View file

@ -1112,29 +1112,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
manager.add(copyAction);
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(refreshAction);
manager.add(new Separator());