KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > fieldassist > IContentProposalListener2


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.jface.fieldassist;
12
13 /**
14  * This interface is used to listen to additional notifications from a
15  * {@link ContentProposalAdapter}.
16  *
17  * @since 3.3
18  */

19 public interface IContentProposalListener2 {
20     /**
21      * A content proposal popup has been opened for content proposal assistance.
22      *
23      * @param adapter
24      * the ContentProposalAdapter which is providing content proposal
25      * behavior to a control
26      */

27     public void proposalPopupOpened(ContentProposalAdapter adapter);
28
29     /**
30      * A content proposal popup has been closed.
31      *
32      * @param adapter
33      * the ContentProposalAdapter which is providing content proposal
34      * behavior to a control
35      */

36     public void proposalPopupClosed(ContentProposalAdapter adapter);
37 }
38
Popular Tags