1 /******************************************************************************* 2 * Copyright (c) 2004, 2005 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.debug.ui.memory; 12 13 14 15 /** 16 * Manager for memory renderings. Provides facilities for creating 17 * renderings and retrieving memory rendering bindings. 18 * <p> 19 * Clients are not intended to implement this interface. 20 * </p> 21 * @since 3.1 22 */ 23 public interface IMemoryRenderingManager extends IMemoryRenderingBindingsProvider { 24 25 26 /** 27 * Returns all contributed memory rendering types. 28 * 29 * @return all contributed memory rendering types 30 */ 31 public IMemoryRenderingType[] getRenderingTypes(); 32 33 /** 34 * Returns the memory rendering type with the given identifier, or 35 * <code>null</code> if none. The memory rendering manager will 36 * search through rendering types that are contributed via explicit 37 * rendering bindings. (i.e. rendering types contributed via the 38 * memoryRenderings extension point). This method will not return 39 * rendering types that are contributed by a memory binding provider. 40 * 41 * @param id memory rendering type identifier 42 * @return the memory rendering type with the given identifier, or 43 * <code>null</code> if none 44 */ 45 public IMemoryRenderingType getRenderingType(String id); 46 47 } 48 49 50