Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.memory
Interface IMemoryRenderingBindingsProvider

All Known Subinterfaces:
IMemoryRenderingManager
All Known Implementing Classes:
AbstractMemoryRenderingBindingsProvider

public interface IMemoryRenderingBindingsProvider

A rendering bindings provider provides rendering type bindings for a memory block.

By default, bindings for a memory block are provided by the memory rendering manager. However, a client can provide dynamic renderings for a memory block by contributing a dynamic rendering binding in the renderingBindings element of a memoryRenderings extension.

Clients contributing dynamic rendering bindings are intended to implement this interface.

Since:
3.1

Method Summary
 void addListener ( IMemoryRenderingBindingsListener listener)
          Adds a listener to this binding provider.
  IMemoryRenderingType[] getDefaultRenderingTypes ( IMemoryBlock block)
          Returns default rendering types bound to the given memory block, possibly empty.
  IMemoryRenderingType getPrimaryRenderingType ( IMemoryBlock block)
          Returns the primary rendering type bound to the given memory block, or null if none.
  IMemoryRenderingType[] getRenderingTypes ( IMemoryBlock block)
          Returns all rendering types bound to the given memory block.
 void removeListener ( IMemoryRenderingBindingsListener listener)
          Removes a listener from this binding provider.
 

Method Detail

getRenderingTypes

IMemoryRenderingType[] getRenderingTypes(
IMemoryBlock block)
Returns all rendering types bound to the given memory block. This includes default and primary rendering types.

Parameters:
block - memory block
Returns:
all rendering types bound to the given memory block

getDefaultRenderingTypes

IMemoryRenderingType[] getDefaultRenderingTypes(
IMemoryBlock block)
Returns default rendering types bound to the given memory block, possibly empty.

Parameters:
block - memory block
Returns:
default rendering types bound to the given memory block, possibly empty

getPrimaryRenderingType

IMemoryRenderingType getPrimaryRenderingType(
IMemoryBlock block)
Returns the primary rendering type bound to the given memory block, or null if none.

Parameters:
block - memory block
Returns:
the primary rendering type bound to the given memory block, or null if none

addListener

void addListener(
IMemoryRenderingBindingsListener listener)
Adds a listener to this binding provider. The listener will be notified when rendering bindings change.

Has no affect if an identical listener is already registered.

Parameters:
listener - listener to add

removeListener

void removeListener(
IMemoryRenderingBindingsListener listener)
Removes a listener from this binding provider.

Has no affect if an identical listener is not already registered.

Parameters:
listener - listener to remove

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire