1 /******************************************************************************* 2 * Copyright (c) 2007 IBM Corporation 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 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.debug.core.commands; 12 13 import org.eclipse.debug.core.IRequest; 14 15 /** 16 * A request to execute a command on specific elements. A debug command request is 17 * passed to a {@link IDebugCommandHandler} when a command is invoked. 18 * <p> 19 * Clients that invoke command handlers may implement this interface. 20 * </p> 21 * @since 3.3 22 */ 23 public interface IDebugCommandRequest extends IRequest { 24 25 /** 26 * Returns the elements to execute a command on. 27 * 28 * @return elements to execute a command on 29 */ 30 public Object[] getElements(); 31 } 32