diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java deleted file mode 100644 index ff860039a..000000000 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java +++ /dev/null @@ -1,62 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - - -package org.eclipse.debug.ui.memory; - -import java.math.BigInteger; -import org.eclipse.debug.core.model.IMemoryBlock; -import org.eclipse.debug.ui.IDebugModelPresentation; - - -/** - * Allows debug models to customize the rendering of addresses for its memory blocks - * in table and text based renderings provided by the debug platform. - * <p> - * To contribute a memory block table presentation, implement your debug model - * presentation as documented in <code>org.eclipse.debug.ui.IDebugModelPresentation</code>. - * In addition, implement this interface in your debug model presentation. Your model - * presentation will be called when <code>org.eclipse.debug.ui.memory.AbstractTableRendering</code> - * constructs its column and row labels. - * </p> - * <p> - * Clients may implement this interface. - * </p> - * @since 3.1 - */ -public interface IMemoryBlockTablePresentation extends IDebugModelPresentation -{ - - /** - * Returns a collection of labels to head columns in a <code>AbstractTableRendering</code> - * rendering, or <code>null</code> if default labels should be used. - * - * @param blk memory block - * @param bytesPerLine the number if bytes to be displayed - * @param numColumns the number of columns the bytes are divided into - * @return a collection of labels to head columns in a <code>AbstractTableRendering</code> - * rendering, or <code>null</code> if default labels should be used - */ - public String[] getColumnLabels(IMemoryBlock blk, int bytesPerLine, int numColumns); - - - /** - * Renders and returns a label for a row starting at the given address within the given - * memory block, or <code>null</code> if default rendering should be used. - * - * @param blk memory block - * @param address an address in the memory block - * @return a label for a row starting at the given address within the given - * memory block, or <code>null</code> if default rendering should be used - */ - public String getRowLabel(IMemoryBlock blk, BigInteger address); - -} |