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
Answertopia.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.text.contentassist
Interface ICompletionListener

All Known Implementing Classes:
KeyBindingSupportForAssistant

public interface ICompletionListener

A completion listener is informed before the content assistant computes completion proposals.

In order to provide backward compatibility for clients of ICompletionListener, extension interfaces are used to provide a means of evolution. The following extension interfaces exist:

  • ICompletionListenerExtension since version 3.4 introducing the following functions:
    • additional notification about restarting the current code assist session

Clients may implement this interface.

Since:
3.2

Method Summary
 void assistSessionEnded ( ContentAssistEvent event)
          Called when a code assist session ends (for example, the proposal popup is closed).
 void assistSessionStarted ( ContentAssistEvent event)
          Called when code assist is invoked when there is no current code assist session.
 void selectionChanged ( ICompletionProposal proposal, boolean smartToggle)
          Called when the selection in the proposal popup is changed or if the insert-mode changed.
 

Method Detail

assistSessionStarted

void assistSessionStarted(
ContentAssistEvent event)
Called when code assist is invoked when there is no current code assist session.

Parameters:
event - the content assist event

assistSessionEnded

void assistSessionEnded(
ContentAssistEvent event)
Called when a code assist session ends (for example, the proposal popup is closed).

Parameters:
event - the content assist event

selectionChanged

void selectionChanged(
ICompletionProposal proposal,
                      boolean smartToggle)
Called when the selection in the proposal popup is changed or if the insert-mode changed.

Parameters:
proposal - the newly selected proposal, possibly null
smartToggle - true if the insert-mode toggle is being pressed, false otherwise

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