Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.contentassist
Interface ISubjectControlContentAssistProcessor

All Superinterfaces:
IContentAssistProcessor

Deprecated. As of 3.2, replaced by Platform UI's field assist support

public interface ISubjectControlContentAssistProcessor
extends IContentAssistProcessor

Extension interface for IContentAssistProcessor which provides the context for the subject control content assistant.

Since:
3.0

Method Summary
  ICompletionProposal[] computeCompletionProposals ( IContentAssistSubjectControl contentAssistSubjectControl, int documentOffset)
          Deprecated. Returns a list of completion proposals based on the specified location within the document that corresponds to the current cursor position within the text viewer.
  IContextInformation[] computeContextInformation ( IContentAssistSubjectControl contentAssistSubjectControl, int documentOffset)
          Deprecated. Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the content assist subject control.
 
Methods inherited from interface org.eclipse.jface.text.contentassist. IContentAssistProcessor
computeCompletionProposals, computeContextInformation, getCompletionProposalAutoActivationCharacters, getContextInformationAutoActivationCharacters, getContextInformationValidator, getErrorMessage
 

Method Detail

computeCompletionProposals

ICompletionProposal[] computeCompletionProposals(
IContentAssistSubjectControl contentAssistSubjectControl,
                                                 int documentOffset)
Deprecated. 
Returns a list of completion proposals based on the specified location within the document that corresponds to the current cursor position within the text viewer.

Parameters:
contentAssistSubjectControl - the content assist subject control whose document is used to compute the proposals
documentOffset - an offset within the document for which completions should be computed
Returns:
an array of completion proposals or null if no proposals are possible

computeContextInformation

IContextInformation[] computeContextInformation(
IContentAssistSubjectControl contentAssistSubjectControl,
                                                int documentOffset)
Deprecated. 
Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the content assist subject control.

Parameters:
contentAssistSubjectControl - the content assist subject control whose document is used to compute the possible contexts
documentOffset - an offset within the document for which context information should be computed
Returns:
an array of context information objects or null if no context could be found

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire