public static class CodeAssistFactory.CodeAssistConfiguration
extends java.lang.Object
CodeAssistFactory
to set up CodeAssist
Constructor and Description |
---|
CodeAssistConfiguration() |
Modifier and Type | Method and Description |
---|---|
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
|
public void setPrefix(java.lang.String prefix)
prefix
- the new prefixpublic java.lang.String getPrefix()
public void setHelpText(java.lang.String helpText)
helpText
- the help textpublic java.lang.String getHelpText()
public void setAutoPopup(boolean autoPopup)
autoPopup
- the auto popup behaviourpublic boolean isAutoPopup()
public void setToolbarConfigPath(java.lang.String toolbarConfigPath)
toolbarConfigPath
- the pathpublic java.lang.String getToolbarConfigPath()
public void setExpertMode(boolean expertMode)
expertMode
- the expert modepublic boolean isExpertMode()
public void setContext(chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context context)
context
- the evaluation contextpublic chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context getContext()
public void setAddServices(boolean addServices)
addServices
- if true
services are displayed in the popup listpublic boolean isAddServices()
true
if services are displayed in the popup listtrue
if services are displayed in the popup list