KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > contentassist > ISubjectControlContextInformationPresenter


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  *******************************************************************************/

11 package org.eclipse.jface.contentassist;
12
13 import org.eclipse.jface.text.contentassist.IContextInformation;
14 import org.eclipse.jface.text.contentassist.IContextInformationPresenter;
15
16
17 /**
18  * Extends {@link org.eclipse.jface.text.contentassist.IContextInformationPresenter} to
19  * allow to install a content assistant on the given
20  * {@linkplain org.eclipse.jface.contentassist.IContentAssistSubjectControl content assist subject control}.
21  *
22  * @since 3.0
23  * @deprecated As of 3.2, replaced by Platform UI's field assist support
24  */

25 public interface ISubjectControlContextInformationPresenter extends IContextInformationPresenter {
26
27     /**
28      * Installs this presenter for the given context information.
29      *
30      * @param info the context information which this presenter should style
31      * @param contentAssistSubjectControl the content assist subject control
32      * @param offset the document offset for which the information has been computed
33      */

34     void install(IContextInformation info, IContentAssistSubjectControl contentAssistSubjectControl, int offset);
35 }
36
Popular Tags