Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5eb5adbc03bbeda1211b94512c3004c6c91dc140 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
 * 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;

import org.eclipse.core.runtime.CoreException;

/**
 * A factory that creates memory renderings.
 * <p>
 * Clients contributing a memory rendering type are intended to implement this
 * interface. This factory will be used to create renderings.
 * </p>
 * @since 3.1
 * @see org.eclipse.debug.ui.memory.IMemoryRendering
 */
public interface IMemoryRenderingTypeDelegate {

    /**
     * Creates and returns a rendering of the specified type, or <code>null</code>
     * if none.
     *
     * @param id unique identifier of a memory rendering type
     * @return a new rendering of the given type or <code>null</code>
     * @exception CoreException if unable to create the rendering
     */
    IMemoryRendering createRendering(String id) throws CoreException;

}

Back to the top