blob: 22ddebbd47aadee9c91a26f444b3f54ddaa2b14f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 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.internal.ui.views.memory.renderings;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.ui.memory.IMemoryRendering;
import org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate;
/**
* Delegate for creating a hex rendering.
* @since 3.1
*/
public class HexRenderingTypeDelegate implements IMemoryRenderingTypeDelegate {
/* (non-Javadoc)
* @see org.eclipse.debug.ui.memory.IMemoryRenderingTypeDelegate#createRendering(java.lang.String)
*/
public IMemoryRendering createRendering(String id) throws CoreException {
HexRendering rendering = new HexRendering(id);
return rendering;
}
}