chemaxon.marvin.util.codeassist
Class CodeAssistFactory.CodeAssistConfiguration

java.lang.Object
  extended by chemaxon.marvin.util.codeassist.CodeAssistFactory.CodeAssistConfiguration
Enclosing class:
CodeAssistFactory

public static class CodeAssistFactory.CodeAssistConfiguration
extends java.lang.Object

Helper class for CodeAssistFactory to set up CodeAssist

Since:
5.6

Constructor Summary
CodeAssistFactory.CodeAssistConfiguration()
           
 
Method Summary
 chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context getContext()
          Returns the evaluation context
 java.lang.String getHelpText()
          Returns the help text displayed on empty component
 java.lang.String getPrefix()
          Returns the code assist invoke prefix
 java.lang.String getToolbarConfigPath()
          Returns the toolbar configuration path
 boolean isAddServices()
          Returns true if services are displayed in the popup list
 boolean isAutoPopup()
          Returns the auto popup behaviour
 boolean isExpertMode()
          Returns the expert mode
 void setAddServices(boolean addServices)
          Sets the services display
 void setAutoPopup(boolean autoPopup)
          Sets the auto popup behaviour
 void setContext(chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context context)
          Sets the evaluation context
 void setExpertMode(boolean expertMode)
          Sets the expert mode
 void setHelpText(java.lang.String helpText)
          Sets the help text displayed on empty component
 void setPrefix(java.lang.String prefix)
          Sets the code assist invoke prefix
 void setToolbarConfigPath(java.lang.String toolbarConfigPath)
          Sets the toolbar configuration path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeAssistFactory.CodeAssistConfiguration

public CodeAssistFactory.CodeAssistConfiguration()
Method Detail

setPrefix

public void setPrefix(java.lang.String prefix)
Sets the code assist invoke prefix

Parameters:
prefix - the new prefix

getPrefix

public java.lang.String getPrefix()
Returns the code assist invoke prefix

Returns:
the code assist invoke prefix

setHelpText

public void setHelpText(java.lang.String helpText)
Sets the help text displayed on empty component

Parameters:
helpText - the help text

getHelpText

public java.lang.String getHelpText()
Returns the help text displayed on empty component

Returns:
the help text displayed on empty component

setAutoPopup

public void setAutoPopup(boolean autoPopup)
Sets the auto popup behaviour

Parameters:
autoPopup - the auto popup behaviour

isAutoPopup

public boolean isAutoPopup()
Returns the auto popup behaviour

Returns:
the auto popup behaviour

setToolbarConfigPath

public void setToolbarConfigPath(java.lang.String toolbarConfigPath)
Sets the toolbar configuration path

Parameters:
toolbarConfigPath - the path

getToolbarConfigPath

public java.lang.String getToolbarConfigPath()
Returns the toolbar configuration path

Returns:
the toolbar configuration path

setExpertMode

public void setExpertMode(boolean expertMode)
Sets the expert mode

Parameters:
expertMode - the expert mode

isExpertMode

public boolean isExpertMode()
Returns the expert mode

Returns:
the expert mode

setContext

public void setContext(chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context context)
Sets the evaluation context

Parameters:
context - the evaluation context

getContext

public chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context getContext()
Returns the evaluation context

Returns:
the evaluation context

setAddServices

public void setAddServices(boolean addServices)
Sets the services display

Parameters:
addServices - if true services are displayed in the popup list

isAddServices

public boolean isAddServices()
Returns true if services are displayed in the popup list

Returns:
true if services are displayed in the popup list