view dwtx/jface/fieldassist/IContentProposalListener2.d @ 192:c3583c6ec027

Added missing default cases for switch statements
author Frank Benoit <benoit@tionex.de>
date Mon, 03 Nov 2008 22:52:26 +0100
parents f12d40e7da8f
children
line wrap: on
line source

/*******************************************************************************
 * Copyright (c) 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 * Port to the D programming language:
 *     Frank Benoit <benoit@tionex.de>
 *******************************************************************************/
module dwtx.jface.fieldassist.IContentProposalListener2;

import dwtx.jface.fieldassist.ContentProposalAdapter;

import dwt.dwthelper.utils;

/**
 * This interface is used to listen to additional notifications from a
 * {@link ContentProposalAdapter}.
 *
 * @since 3.3
 */
public interface IContentProposalListener2 {
    /**
     * A content proposal popup has been opened for content proposal assistance.
     *
     * @param adapter
     *            the ContentProposalAdapter which is providing content proposal
     *            behavior to a control
     */
    public void proposalPopupOpened(ContentProposalAdapter adapter);

    /**
     * A content proposal popup has been closed.
     *
     * @param adapter
     *            the ContentProposalAdapter which is providing content proposal
     *            behavior to a control
     */
    public void proposalPopupClosed(ContentProposalAdapter adapter);
}