Package 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
Modifier and TypeMethodDescriptionvoid
addPropertyChangeListener
(IPropertyChangeListener listener, String[] properties) Adds a listener for property changes notification for the specified properties.getProperty
(IMemoryBlock block, String property) Returns the current value of the specified property for the given memory block, ornull
if none.Returns the rendering currently providing synchronization information for this synchronization service, ornull
if none.void
Removes the given listener for property change notification.void
setSynchronizationProvider
(IMemoryRendering rendering) Sets the rendering currently providing sychronization information for this synchronization service, ornull
if none.
-
Method Details
-
addPropertyChangeListener
Adds a listener for property changes notification for the specified properties. Specifyingnull
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 listenerproperties
- properties the listener is interested in, ornull
to indicate all properties.
-
removePropertyChangeListener
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
Returns the current value of the specified property for the given memory block, ornull
if none.- Parameters:
block
- memory block for which a property is requestedproperty
- the name of the property- Returns:
- the property value or
null
-
setSynchronizationProvider
Sets the rendering currently providing sychronization information for this synchronization service, ornull
if none.- Parameters:
rendering
- active rendering providing synchronization information ornull
-
getSynchronizationProvider
IMemoryRendering getSynchronizationProvider()Returns the rendering currently providing synchronization information for this synchronization service, ornull
if none.- Returns:
- rendering providing synchronization information or
null
-