KickJava   Java API By Example, From Geeks To Geeks.

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


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.IContextInformationValidator;
15
16
17 /**
18  * Extends {@link org.eclipse.jface.text.contentassist.IContextInformationValidator} 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 ISubjectControlContextInformationValidator extends IContextInformationValidator {
26
27     /**
28      * Installs this validator for the given context information.
29      *
30      * @param info the context information which this validator should check
31      * @param contentAssistSubjectControl the content assist subject control
32      * @param offset the document offset for which the information
33      * has been computed
34      */

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