1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Bug 455537 - Allow to override LaunchVMProvider

Change-Id: If74576fcf9764d08b76a968a5bf788445d294166
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/38434
This commit is contained in:
Marc Khouzam 2014-12-17 13:39:20 -05:00
parent 57fbe42664
commit 5aa10c7fc0

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2006, 2010 Wind River Systems and others. * Copyright (c) 2006, 2014 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -7,7 +7,8 @@
* *
* Contributors: * Contributors:
* Wind River Systems - initial API and implementation * Wind River Systems - initial API and implementation
* Ericsson - Modified for new functionality * Ericsson - Modified for new functionality
* Marc Khouzam (Ericsson) - Allow to override this class (Bug 455537)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.launch; package org.eclipse.cdt.dsf.gdb.internal.ui.viewmodel.launch;
@ -57,6 +58,10 @@ public class LaunchVMProvider extends AbstractLaunchVMProvider
{ {
super(adapter, presentationContext, session); super(adapter, presentationContext, session);
createNodes();
}
protected void createNodes() {
IRootVMNode launchNode = new LaunchRootVMNode(this); IRootVMNode launchNode = new LaunchRootVMNode(this);
setRootNode(launchNode); setRootNode(launchNode);