Eclipse Platform
Release 3.1

org.eclipse.debug.ui.memory
Interface IMemoryRenderingSynchronizationService


public interface IMemoryRenderingSynchronizationService

Provides facilities related to the synchronization of memory renderings.

Clients hosting renderings may implement this interface.

Since:
3.1

Method Summary
 void addPropertyChangeListener(IPropertyChangeListener listener, String[] properties)
          Adds a listener for property changes notification for the specified properties.
 Object getProperty(IMemoryBlock block, String property)
          Returns the current value of the specified property for the given memory block, or null if none.
 IMemoryRendering getSynchronizationProvider()
          Returns the rendering currengly providing synchronization information for this synchronization service, or null
 void removePropertyChangeListener(IPropertyChangeListener listener)
          Removes the given listener for property change notification.
 void setSynchronizationProvider(IMemoryRendering rendering)
          Sets the rendering currently providing sychronization information for this synchronization service, or null if none.
 

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(IPropertyChangeListener listener,
                                      String[] properties)
Adds a listener for property changes notification for the specified properties. Specifying null indicates that the listener is interested in all properties. If an identical listener is already registered, the properties it is registered to listen for are updated.

Parameters:
listener - a property change listener
properties - properties the listener is interested in, or null to indicate all properties.

removePropertyChangeListener

public void removePropertyChangeListener(IPropertyChangeListener listener)
Removes the given listener for property change notification. Has no effect if the identical listener is not registered.

Parameters:
listener - a property change listener

getProperty

public Object getProperty(IMemoryBlock block,
                          String property)
Returns the current value of the specified property for the given memory block, or null if none.

Parameters:
block - memory block for which a property is requested
property - the name of the property
Returns:
the property value or null

setSynchronizationProvider

public void setSynchronizationProvider(IMemoryRendering rendering)
Sets the rendering currently providing sychronization information for this synchronization service, or null if none.

Parameters:
rendering - active rendering providing synchronization information or null

getSynchronizationProvider

public IMemoryRendering getSynchronizationProvider()
Returns the rendering currengly providing synchronization information for this synchronization service, or null
Returns:
rendering providing synchronization information or null

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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