PTP
Release 5.0

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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IRegisterGroup

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


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.
 
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

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(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

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 5.0

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