comparison dwtx/jface/contentassist/ISubjectControlContextInformationPresenter.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents
children
comparison
equal deleted inserted replaced
157:7f75eaa8103a 158:25f1f92fa3df
1 /*******************************************************************************
2 * Copyright (c) 2000, 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 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/
13 module dwtx.jface.contentassist.ISubjectControlContextInformationPresenter;
14
15 import dwt.dwthelper.utils;
16
17 import dwtx.jface.text.contentassist.IContextInformation;
18 import dwtx.jface.text.contentassist.IContextInformationPresenter;
19 import dwtx.jface.contentassist.IContentAssistSubjectControl;
20
21 /**
22 * Extends {@link dwtx.jface.text.contentassist.IContextInformationPresenter} to
23 * allow to install a content assistant on the given
24 * {@linkplain dwtx.jface.contentassist.IContentAssistSubjectControl content assist subject control}.
25 *
26 * @since 3.0
27 * @deprecated As of 3.2, replaced by Platform UI's field assist support
28 */
29 public interface ISubjectControlContextInformationPresenter : IContextInformationPresenter {
30
31 /**
32 * Installs this presenter for the given context information.
33 *
34 * @param info the context information which this presenter should style
35 * @param contentAssistSubjectControl the content assist subject control
36 * @param offset the document offset for which the information has been computed
37 */
38 void install(IContextInformation info, IContentAssistSubjectControl contentAssistSubjectControl, int offset);
39 }