KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > core > model > IFilteredStep


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.model;
12
13
14 import org.eclipse.debug.core.DebugException;
15
16 /**
17  * Provides the ability to perform a filtered step. Implementations must be non-
18  * blocking. Filter implementation is debug model specific and may not be
19  * supported by all debug models.
20  * <p>
21  * Clients may implement this interface.
22  * </p>
23  * @since 2.1
24  * @deprecated clients should implement <code>IStepFilters</code> instead
25  */

26 public interface IFilteredStep extends IStep {
27     /**
28      * Returns whether this element can currently perform a filtered step into.
29      *
30      * @return whether this element can currently perform a filtered step into
31      */

32     public boolean canStepWithFilters();
33     /**
34      * Steps into the current statement, generating <code>RESUME</code>
35      * and <code>SUSPEND</code> events for the associated thread, applying step
36      * filters, as applicable for the associated thread. Can only be called when
37      * the associated thread is suspended. Implementations must implement
38      * stepping as non- blocking.
39      *
40      * @exception DebugException on failure. Reasons include:<ul>
41      * <li>TARGET_REQUEST_FAILED - The request failed in the target</li>
42      * <li>NOT_SUPPORTED - The capability is not supported by the target</li>
43      * </ul>
44      */

45     public void stepWithFilters() throws DebugException;
46 }
47
Popular Tags