org.eclipse.cdt.debug.core.model
Interface IPersistableRegisterGroup

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IRegisterGroup
All Known Implementing Classes:
CRegisterGroup

public interface IPersistableRegisterGroup
extends org.eclipse.debug.core.model.IRegisterGroup

A register group to be persisted and restored. To be used for the user-defined register groups.

Since:
3.0

Method Summary
 java.lang.String getMemento()
          Returns a memento that can be used to reconstruct this group
 IRegisterDescriptor[] getRegisterDescriptors()
          Returns the array of group's register descriptors.
 void initializeFromMemento(java.lang.String memento)
          Initializes this group based on the given memento.
 void setRegisterDescriptors(IRegisterDescriptor[] registerDescriptors)
          Replaces the group register descriptors by the specified descriptors.
 
Methods inherited from interface org.eclipse.debug.core.model.IRegisterGroup
getName, getRegisters, hasRegisters
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getMemento

java.lang.String getMemento()
                            throws org.eclipse.core.runtime.CoreException
Returns a memento that can be used to reconstruct this group

Returns:
a memento that can be used to reconstruct this group
Throws:
org.eclipse.core.runtime.CoreException - if unable to construct a memento

initializeFromMemento

void initializeFromMemento(java.lang.String memento)
                           throws org.eclipse.core.runtime.CoreException
Initializes this group based on the given memento.

Parameters:
memento - a memento to initialize this group
Throws:
org.eclipse.core.runtime.CoreException - on failure to initialize

getRegisterDescriptors

IRegisterDescriptor[] getRegisterDescriptors()
Returns the array of group's register descriptors.

Returns:
the array of group's register descriptors

setRegisterDescriptors

void setRegisterDescriptors(IRegisterDescriptor[] registerDescriptors)
Replaces the group register descriptors by the specified descriptors.

Parameters:
the - array of register descriptors