Eclipse Platform
Release 3.1

org.eclipse.debug.ui.memory
Interface IMemoryRenderingContainer


public interface IMemoryRenderingContainer

A memory rendering container is a container within a memory rendering site for hosting a memory renderings.

Clients hosting memory renderings may implement this interface.

Since:
3.1

Method Summary
 void addMemoryRendering(IMemoryRendering rendering)
          Adds the given rendering to this container.
 IMemoryRendering getActiveRendering()
          Returns the active rendering in this container, or null if none.
 String getId()
          Reutrns the identifier of this container.
 String getLabel()
          Returns the label for this container.
 IMemoryRenderingSite getMemoryRenderingSite()
          Returns the rendering site hosting this container.
 IMemoryRendering[] getRenderings()
          Returns all renderings currently hosted by this container.
 void removeMemoryRendering(IMemoryRendering rendering)
          Removes the given rendering from this container.
 

Method Detail

getMemoryRenderingSite

public IMemoryRenderingSite getMemoryRenderingSite()
Returns the rendering site hosting this container.

Returns:
the rendering site hosting this container

getId

public String getId()
Reutrns the identifier of this container. Identifiers are unique within a container.

Returns:
the identifier of this container

addMemoryRendering

public void addMemoryRendering(IMemoryRendering rendering)
Adds the given rendering to this container. A rendering must be initialized before it is added to a container. This causes the rendering's control to be created.

Parameters:
rendering - the rendering to add

removeMemoryRendering

public void removeMemoryRendering(IMemoryRendering rendering)
Removes the given rendering from this container. This causes the rendering to be disposed.

Parameters:
rendering - the rendering to remove

getRenderings

public IMemoryRendering[] getRenderings()
Returns all renderings currently hosted by this container.

Returns:
all renderings currently hosted by this container

getActiveRendering

public IMemoryRendering getActiveRendering()
Returns the active rendering in this container, or null if none.

Returns:
the active rendering in this container, or null if none

getLabel

public String getLabel()
Returns the label for this container.

Returns:
the label for this container

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.