1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

[269767] [view model] LaunchRootVMNode misses a done()

This commit is contained in:
Anton Leherbauer 2009-03-24 09:42:56 +00:00
parent d66a77965a
commit 30c1dc4f38

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2008 Wind River Systems and others.
* Copyright (c) 2006, 2009 Wind River Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -94,6 +94,7 @@ public class LaunchRootVMNode extends RootVMNode
public void createRootDelta(Object rootObject, Object event, final DataRequestMonitor<VMDelta> rm) {
if (!(rootObject instanceof ILaunch)) {
rm.setStatus(new Status(IStatus.ERROR, DsfUIPlugin.PLUGIN_ID, IDsfStatusConstants.INVALID_STATE, "Invalid root element configured with launch root node.", null)); //$NON-NLS-1$
rm.done();
return;
}