mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Applied patch on behalf of Randy Rohrback, containing refactored MI commands (bug 159688).
This commit is contained in:
parent
792bdef0f8
commit
6c6f7978db
2 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ import org.eclipse.dd.dsf.concurrent.GetDataDone;
|
||||||
import org.eclipse.dd.dsf.datamodel.IDMContext;
|
import org.eclipse.dd.dsf.datamodel.IDMContext;
|
||||||
import org.eclipse.dd.dsf.debug.service.IRegisters;
|
import org.eclipse.dd.dsf.debug.service.IRegisters;
|
||||||
import org.eclipse.dd.dsf.debug.service.IRegisters.IRegisterGroupDMContext;
|
import org.eclipse.dd.dsf.debug.service.IRegisters.IRegisterGroupDMContext;
|
||||||
import org.eclipse.dd.dsf.debug.service.IRegisters.IRegisterGroupData;
|
import org.eclipse.dd.dsf.debug.service.IRegisters.IRegisterGroupDMData;
|
||||||
import org.eclipse.dd.dsf.debug.service.IRunControl.IExecutionDMContext;
|
import org.eclipse.dd.dsf.debug.service.IRunControl.IExecutionDMContext;
|
||||||
import org.eclipse.dd.dsf.service.DsfSession;
|
import org.eclipse.dd.dsf.service.DsfSession;
|
||||||
import org.eclipse.dd.dsf.ui.viewmodel.AbstractVMProvider;
|
import org.eclipse.dd.dsf.ui.viewmodel.AbstractVMProvider;
|
||||||
|
@ -23,7 +23,7 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IChildrenUpdate;
|
||||||
import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
|
import org.eclipse.debug.internal.ui.viewers.model.provisional.ILabelUpdate;
|
||||||
|
|
||||||
@SuppressWarnings("restriction")
|
@SuppressWarnings("restriction")
|
||||||
public class RegisterGroupLayoutNode extends AbstractDMVMLayoutNode<IRegisterGroupData> {
|
public class RegisterGroupLayoutNode extends AbstractDMVMLayoutNode<IRegisterGroupDMData> {
|
||||||
|
|
||||||
public RegisterGroupLayoutNode(AbstractVMProvider provider, DsfSession session) {
|
public RegisterGroupLayoutNode(AbstractVMProvider provider, DsfSession session) {
|
||||||
super(provider, session, IRegisters.IRegisterGroupDMContext.class);
|
super(provider, session, IRegisters.IRegisterGroupDMContext.class);
|
||||||
|
@ -53,7 +53,7 @@ public class RegisterGroupLayoutNode extends AbstractDMVMLayoutNode<IRegisterGro
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void fillColumnLabel(IDMContext<IRegisterGroupData> dmContext, IRegisterGroupData dmData,
|
protected void fillColumnLabel(IDMContext<IRegisterGroupDMData> dmContext, IRegisterGroupDMData dmData,
|
||||||
String columnId, int idx, ILabelUpdate update)
|
String columnId, int idx, ILabelUpdate update)
|
||||||
{
|
{
|
||||||
if (RegisterColumnPresentation.COL_NAME.equals(columnId)) {
|
if (RegisterColumnPresentation.COL_NAME.equals(columnId)) {
|
||||||
|
|
|
@ -22,13 +22,13 @@ import org.eclipse.dd.dsf.datamodel.IDMService;
|
||||||
public interface IRegisters extends IDMService {
|
public interface IRegisters extends IDMService {
|
||||||
|
|
||||||
/** Register group context */
|
/** Register group context */
|
||||||
public interface IRegisterGroupDMContext extends IDMContext<IRegisterGroupData> {}
|
public interface IRegisterGroupDMContext extends IDMContext<IRegisterGroupDMData> {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register groups only have a name. Sub groups and registered are retrieved
|
* Register groups only have a name. Sub groups and registers are retrieved
|
||||||
* through the service interface.
|
* through the service interface.
|
||||||
*/
|
*/
|
||||||
public interface IRegisterGroupData extends IDMData {
|
public interface IRegisterGroupDMData extends IDMData {
|
||||||
public String getName();
|
public String getName();
|
||||||
public String getDescription();
|
public String getDescription();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue