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.fieldassist
Interface IContentProposal


public interface IContentProposal

IContentProposal describes a content proposal to be shown. It consists of the content that will be provided if the proposal is accepted, an optional label used to describe the content to the user, and an optional description that further elaborates the meaning of the proposal.

Since:
3.2

Method Summary
  String getContent ()
          Return the content represented by this proposal.
 int getCursorPosition ()
          Return the integer position within the contents that the cursor should be placed after the proposal is accepted.
  String getDescription ()
          Return a description that describes this proposal.
  String getLabel ()
          Return the label used to describe this proposal.
 

Method Detail

getContent


String getContent()
Return the content represented by this proposal.

Returns:
the String content represented by this proposal.

getCursorPosition

int getCursorPosition()
Return the integer position within the contents that the cursor should be placed after the proposal is accepted.

Returns:
the zero-based index position within the contents where the cursor should be placed after the proposal is accepted.

getLabel


String getLabel()
Return the label used to describe this proposal.

Returns:
the String label used to display the proposal. If null, then the content will be displayed as the label.

getDescription


String getDescription()
Return a description that describes this proposal.

Returns:
the String label used to further the proposal. If null, then no description will be displayed.

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