1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 04:05:38 +02:00

Bug 311219 - [commands][cdi] MITargetSelect is too restrictive.

This commit is contained in:
Mikhail Khodjaiants 2010-05-03 15:05:41 +00:00
parent 66ef5c2e80
commit c283892ee1
2 changed files with 9 additions and 5 deletions

View file

@ -619,6 +619,10 @@ public class CommandFactory {
return new MITargetDetach(ctx, groupId); return new MITargetDetach(ctx, groupId);
} }
public ICommand<MIInfo> createMITargetSelect(IDMContext ctx, String[] params) {
return new MITargetSelect(ctx, params);
}
public ICommand<MIInfo> createMITargetSelect(IDMContext ctx, String host, String port, boolean extended) { public ICommand<MIInfo> createMITargetSelect(IDMContext ctx, String host, String port, boolean extended) {
return new MITargetSelect(ctx, host, port, extended); return new MITargetSelect(ctx, host, port, extended);
} }

View file

@ -19,9 +19,9 @@ import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
public class MITargetSelect extends MICommand<MIInfo> { public class MITargetSelect extends MICommand<MIInfo> {
/** /**
* @since 2.0 * @since 3.0
*/ */
protected MITargetSelect(IDMContext ctx, String[] params) { public MITargetSelect(IDMContext ctx, String[] params) {
super(ctx, "-target-select", null, params); //$NON-NLS-1$ super(ctx, "-target-select", null, params); //$NON-NLS-1$
} }