KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > actions > provisional > IAsynchronousStepAdapter


1 /*******************************************************************************
2  * Copyright (c) 2006 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.internal.ui.actions.provisional;
12
13 import org.eclipse.debug.internal.ui.viewers.provisional.IAsynchronousRequestMonitor;
14
15 /**
16  * Adapter for stepping.
17  *
18  * @since 3.2
19  */

20 public interface IAsynchronousStepAdapter {
21
22     /**
23      * Asynchronously determines whether the given element can perform a step into.
24      *
25      * @param element element
26      * @param monitor request monitor
27      */

28     public void canStepInto(Object JavaDoc element, IBooleanRequestMonitor monitor);
29     /**
30      * Asynchronously determines whether the given element can perform a step over.
31      *
32      * @param element element
33      * @param monitor request monitor
34      */

35     public void canStepOver(Object JavaDoc element, IBooleanRequestMonitor monitor);
36     /**
37      * Asynchronously determines whether the given element can perform a step return.
38      *
39      * @param element element
40      * @param monitor request monitor
41      */

42     public void canStepReturn(Object JavaDoc element, IBooleanRequestMonitor monitor);
43     /**
44      * Asynchronously determines whether the given element is stepping.
45      *
46      * @param element element
47      * @param monitor request monitor
48      */

49     public void isStepping(Object JavaDoc element, IBooleanRequestMonitor monitor);
50     /**
51      * Asynchronously performs a step into.
52      *
53      * @param element element
54      * @param monitor request monitor
55      */

56     public void stepInto(Object JavaDoc element, IAsynchronousRequestMonitor monitor);
57     /**
58      * Asynchronously performs a step over.
59      *
60      * @param element element
61      * @param monitor request monitor
62      */

63     public void stepOver(Object JavaDoc element, IAsynchronousRequestMonitor monitor);
64     /**
65      * Asynchronously performs a step return.
66      *
67      * @param element element
68      * @param monitor request monitor
69      */

70     public void stepReturn(Object JavaDoc element, IAsynchronousRequestMonitor monitor);
71 }
72
Popular Tags