PTP
Release 7.0

org.eclipse.ptp.debug.core.model
Interface IPPersistableRegisterGroup


public interface IPPersistableRegisterGroup

Represents a register group that can be persisted


Method Summary
 String getMemento()
          Returns a memento that can be used to reconstruct this group
 IPRegisterDescriptor[] getRegisterDescriptors()
          Returns the array of group's register descriptors.
 void initializeFromMemento(String memento)
          Initializes this group based on the given memento.
 void setRegisterDescriptors(IPRegisterDescriptor[] registerDescriptors)
          Replaces the group register descriptors by the specified descriptors.
 

Method Detail

getMemento

String getMemento()
                  throws CoreException
Returns a memento that can be used to reconstruct this group

Returns:
a memento that can be used to reconstruct this group
Throws:
CoreException - if unable to construct a memento

initializeFromMemento

void initializeFromMemento(String memento)
                           throws CoreException
Initializes this group based on the given memento.

Parameters:
memento - a memento to initialize this group
Throws:
CoreException - on failure to initialize

getRegisterDescriptors

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

Returns:
the array of group's register descriptors

setRegisterDescriptors

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

Parameters:
the - array of register descriptors

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.