blob: 7364e16a18665e381ba4ba7f37b892a7e27620d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jface.contentassist;
import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.jface.text.contentassist.IContextInformationPresenter;
/**
* Extends {@link org.eclipse.jface.text.contentassist.IContextInformationPresenter} to
* allow to install a content assistant on the given
* {@linkplain org.eclipse.jface.contentassist.IContentAssistSubjectControl content assist subject control}.
*
* @since 3.0
*/
public interface ISubjectControlContextInformationPresenter extends IContextInformationPresenter {
/**
* Installs this presenter for the given context information.
*
* @param info the context information which this presenter should style
* @param contentAssistSubjectControl the content assist subject control
* @param documentPosition the document position for which the information has been computed
*/
void install(IContextInformation info, IContentAssistSubjectControl contentAssistSubjectControl, int documentPosition);
}
|