KickJava   Java API By Example, From Geeks To Geeks.

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


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 disconnecting.
17  *
18  * @since 3.2
19  */

20 public interface IAsynchronousDisconnectAdapter {
21
22     /**
23      * Asynchronously determines whether the given element can be disconnected.
24      *
25      * @param element element
26      * @param monitor request monitor
27      */

28     public void canDisconnect(Object JavaDoc element, IBooleanRequestMonitor monitor);
29     
30     /**
31      * Asynchronously determines whether the given element is disconnected.
32      *
33      * @param element element
34      * @param monitor request monitor
35      */

36     public void isDisconnected(Object JavaDoc element, IBooleanRequestMonitor monitor);
37     
38     /**
39      * Asynchronously disconnects the given element.
40      *
41      * @param element element
42      * @param monitor request monitor
43      */

44     public void disconnect(Object JavaDoc element, IAsynchronousRequestMonitor monitor);
45 }
46
Popular Tags