iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.codeassist.base
Class ISeriesEditorCodeAssistContextInformation

java.lang.Object
  extended bycom.ibm.etools.iseries.editor.codeassist.base.ISeriesEditorCodeAssistContextInformation
All Implemented Interfaces:
com.ibm.lpex.alef.contentassist.IContextInformation

public final class ISeriesEditorCodeAssistContextInformation
extends Object
implements com.ibm.lpex.alef.contentassist.IContextInformation

A default implementation of the IContextInformation interface.


Constructor Summary
ISeriesEditorCodeAssistContextInformation(Image image, String contextDisplayString, String informationDisplayString, ISeriesEditorProposalMatch match)
          Creates a new context information with an image.
 
Method Summary
 boolean equals(Object object)
           
 String getContextDisplayString()
           
 String getFunctionName()
           
 Image getImage()
           
 String getInformationDisplayString()
           
 ISeriesEditorProposalMatch getMatch()
           
 int getNumberOfParams()
           
 int getParameterContext()
           
 boolean isFunctionalContext()
           
 void setContext(int arg)
           
 void setContextDisplayString(String context)
           
 void setImage(Image image)
           
 void setInformationDisplayString(String info)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISeriesEditorCodeAssistContextInformation

public ISeriesEditorCodeAssistContextInformation(Image image,
                                                 String contextDisplayString,
                                                 String informationDisplayString,
                                                 ISeriesEditorProposalMatch match)
Creates a new context information with an image.

Parameters:
image - the image to display when presenting the context information
contextDisplayString - the string to be used when presenting the context
informationDisplayString - the string to be displayed when presenting the context information, may not be null
Method Detail

equals

public boolean equals(Object object)
Specified by:
equals in interface com.ibm.lpex.alef.contentassist.IContextInformation

getMatch

public ISeriesEditorProposalMatch getMatch()

isFunctionalContext

public boolean isFunctionalContext()

getFunctionName

public String getFunctionName()

getNumberOfParams

public int getNumberOfParams()

getParameterContext

public int getParameterContext()

getInformationDisplayString

public String getInformationDisplayString()
Specified by:
getInformationDisplayString in interface com.ibm.lpex.alef.contentassist.IContextInformation

setContext

public void setContext(int arg)

setInformationDisplayString

public void setInformationDisplayString(String info)

getImage

public Image getImage()
Specified by:
getImage in interface com.ibm.lpex.alef.contentassist.IContextInformation

setImage

public void setImage(Image image)

setContextDisplayString

public void setContextDisplayString(String context)

getContextDisplayString

public String getContextDisplayString()
Specified by:
getContextDisplayString in interface com.ibm.lpex.alef.contentassist.IContextInformation

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.