blob: f7f2db39222af3a4b71d07fc93572e7c3bcd50e5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui.views.memory;
import org.eclipse.debug.core.model.IMemoryBlock;
import org.eclipse.debug.internal.core.memory.IMemoryRendering;
/**
*
* @since 3.0
*/
public class HexRendering implements IMemoryRendering{
private IMemoryBlock fMemoryBlock;
private String fRenderingId;
public HexRendering(IMemoryBlock memBlock, String renderingId)
{
fMemoryBlock = memBlock;
fRenderingId = renderingId;
}
/* (non-Javadoc)
* @see org.eclipse.debug.ui.IMemoryRendering#getBlock()
*/
public IMemoryBlock getBlock() {
return fMemoryBlock;
}
/* (non-Javadoc)
* @see org.eclipse.debug.ui.IMemoryRendering#getRenderingId()
*/
public String getRenderingId() {
return fRenderingId;
}
}