blob: a02e9eed22868c05d234c8768db5b70e5007f829 [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.ui.memory;
/**
* Manager for memory renderings. Provides facilities for creating
* renderings and retrieving memory rendering bindings.
* <p>
* Clients are not intended to implement this interface.
* </p>
* @since 3.1
*/
public interface IMemoryRenderingManager extends IMemoryRenderingBindingsProvider {
/**
* Returns all contributed memory rendering types.
*
* @return all contributed memory rendering types
*/
public IMemoryRenderingType[] getRenderingTypes();
/**
* Returns the memory rendering type with the given identifier, or
* <code>null</code> if none. The memory rendering manager will
* search through rendering types that are contributed via explicit
* rendering bindings. (i.e. rendering types contributed via the
* memoryRenderings extension point). This method will not return
* rendering types that are contributed by a memory binding provider.
*
* @param id memory rendering type identifier
* @return the memory rendering type with the given identifier, or
* <code>null</code> if none
*/
public IMemoryRenderingType getRenderingType(String id);
}