diff options
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/IContextInformationExtension.java')
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/IContextInformationExtension.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/IContextInformationExtension.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/IContextInformationExtension.java new file mode 100644 index 00000000000..d34e2435cf6 --- /dev/null +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/contentassist/IContextInformationExtension.java @@ -0,0 +1,29 @@ +/********************************************************************** +Copyright (c) 2000, 2002 IBM Corp. 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 implementation +**********************************************************************/ + +package org.eclipse.jface.text.contentassist; + + +/** + * Extension interface for <code>IContextInformation</code>. + * Adds the functionality of freely positionable context information. + * + * @since 2.0 + */ +public interface IContextInformationExtension { + + /** + * Returns the start offset of the range for which this context information is valid. + * + * @return the start offset of the range for which this context information is valid + */ + int getContextInformationPosition(); +} |