KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > ui > memory > IMemoryRenderingTypeDelegate


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 import org.eclipse.core.runtime.CoreException;
14
15 /**
16  * A factory that creates memory renderings.
17  * <p>
18  * Clients contributing a memory rendering type are intended to implement this
19  * interface. This factory will be used to create renderings.
20  * </p>
21  * @since 3.1
22  * @see org.eclipse.debug.ui.memory.IMemoryRendering
23  */

24 public interface IMemoryRenderingTypeDelegate {
25     
26     /**
27      * Creates and returns a rendering of the specified type, or <code>null</code>
28      * if none.
29      *
30      * @param id unique identifier of a memory rendering type
31      * @return a new rendering of the given type or <code>null</code>
32      * @exception CoreException if unable to create the rendering
33      */

34     public IMemoryRendering createRendering(String JavaDoc id) throws CoreException;
35
36 }
37
Popular Tags