1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-26 10:25:32 +02:00

Moved the memory management functionality to the core.

This commit is contained in:
Mikhail Khodjaiants 2002-10-15 21:36:03 +00:00
parent 46a86c5d94
commit 6c770feac4
3 changed files with 5 additions and 27 deletions

View file

@ -1,3 +1,7 @@
2002-10-15 Mikhail Khodjaiants
* CDebugUIPlugin.java: Moved the memory management functionality to the core.
* MemoryControlArea.java: Moved the memory management functionality to the core.
2002-10-15 Mikhail Khodjaiants
* CDebugPreferencePage.java: Implementation of the 'Automatically switch to disassembly mode' preference.

View file

@ -9,8 +9,6 @@ package org.eclipse.cdt.debug.internal.ui.views.memory;
import org.eclipse.cdt.debug.core.IFormattedMemoryBlock;
import org.eclipse.cdt.debug.core.IFormattedMemoryRetrieval;
import org.eclipse.cdt.debug.internal.ui.preferences.ICDebugPreferenceConstants;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
//import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyAdapter;
@ -145,7 +143,7 @@ public class MemoryControlArea extends Composite
public void setInput( IFormattedMemoryRetrieval input )
{
fInput = input;
fMemoryBlock = CDebugUIPlugin.getDefault().getBlock( fInput, fIndex );
// fMemoryBlock = CDebugUIPlugin.getDefault().getBlock( fInput, fIndex );
fPresentation.setMemoryBlock( fMemoryBlock );
refresh();
}

View file

@ -6,8 +6,6 @@ import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.eclipse.cdt.debug.core.IDisassemblyStorage;
import org.eclipse.cdt.debug.core.IFormattedMemoryBlock;
import org.eclipse.cdt.debug.core.IFormattedMemoryRetrieval;
import org.eclipse.cdt.debug.core.ISwitchToFrame;
import org.eclipse.cdt.debug.core.ISwitchToThread;
import org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation;
@ -166,28 +164,6 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen
{
return CDTDebugModelPresentation.getDefault();
}
public void addBlock( IFormattedMemoryRetrieval mbr, IFormattedMemoryBlock memoryBlock )
{
}
public void removeBlock( IFormattedMemoryRetrieval mbr, IFormattedMemoryBlock memoryBlock )
{
}
public void removeAllBlocks( IFormattedMemoryRetrieval mbr )
{
}
public IFormattedMemoryBlock getBlock( IFormattedMemoryRetrieval mbr, int index )
{
return null;
}
public IFormattedMemoryBlock[] getBlocks( IFormattedMemoryRetrieval mbr )
{
return new IFormattedMemoryBlock[0];
}
/**
* Logs the specified status with this plug-in's log.