cdt/cdt_5_0_x/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/executables/ExecutablesChangeEvent.java
changeset 14 c50c3d06898c
parent 8 2cfb52d98e82
child 15 3ac8c55882b5
equal deleted inserted replaced
8:2cfb52d98e82 14:c50c3d06898c
     1 /*******************************************************************************
       
     2  * Copyright (c) 2008 Nokia and others.
       
     3  * All rights reserved. This program and the accompanying materials
       
     4  * are made available under the terms of the Eclipse Public License v1.0
       
     5  * which accompanies this distribution, and is available at
       
     6  * http://www.eclipse.org/legal/epl-v10.html
       
     7  *
       
     8  * Contributors:
       
     9  * Nokia - Initial API and implementation
       
    10  *******************************************************************************/
       
    11 package org.eclipse.cdt.debug.core.executables;
       
    12 
       
    13 import org.eclipse.core.runtime.PlatformObject;
       
    14 
       
    15 public class ExecutablesChangeEvent extends PlatformObject implements IExecutablesChangeEvent {
       
    16 
       
    17 	private Executable[] oldExecutables;
       
    18 	private Executable[] newExecutables;
       
    19 
       
    20 	public ExecutablesChangeEvent(Executable[] oldList, Executable[] newList) {
       
    21 		oldExecutables = oldList;
       
    22 		newExecutables = newList;
       
    23 	}
       
    24 
       
    25 	public Executable[] getCurrentExecutables() {
       
    26 		return newExecutables;
       
    27 	}
       
    28 
       
    29 	public Executable[] getPreviousExecutables() {
       
    30 		return oldExecutables;
       
    31 	}
       
    32 
       
    33 }