Package chemaxon.marvin.util.codeassist
Class CodeAssistFactory.CodeAssistConfiguration
- java.lang.Object
-
- chemaxon.marvin.util.codeassist.CodeAssistFactory.CodeAssistConfiguration
-
- Enclosing class:
- CodeAssistFactory
public static class CodeAssistFactory.CodeAssistConfiguration extends Object
Helper class forCodeAssistFactory
to set upCodeAssist
- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description CodeAssistConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context
getContext()
Returns the evaluation contextString
getHelpText()
Returns the help text displayed on empty componentString
getPrefix()
Returns the code assist invoke prefixString
getToolbarConfigPath()
Returns the toolbar configuration pathboolean
isAddServices()
Returnstrue
if services are displayed in the popup listboolean
isAutoPopup()
Returns the auto popup behaviourboolean
isExpertMode()
Returns the expert modevoid
setAddServices(boolean addServices)
Sets the services displayvoid
setAutoPopup(boolean autoPopup)
Sets the auto popup behaviourvoid
setContext(chemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context context)
Sets the evaluation contextvoid
setExpertMode(boolean expertMode)
Sets the expert modevoid
setHelpText(String helpText)
Sets the help text displayed on empty componentvoid
setPrefix(String prefix)
Sets the code assist invoke prefixvoid
setToolbarConfigPath(String toolbarConfigPath)
Sets the toolbar configuration path
-
-
-
Method Detail
-
setPrefix
public void setPrefix(String prefix)
Sets the code assist invoke prefix- Parameters:
prefix
- the new prefix
-
getPrefix
public String getPrefix()
Returns the code assist invoke prefix- Returns:
- the code assist invoke prefix
-
setHelpText
public void setHelpText(String helpText)
Sets the help text displayed on empty component- Parameters:
helpText
- the help text
-
getHelpText
public 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(String toolbarConfigPath)
Sets the toolbar configuration path- Parameters:
toolbarConfigPath
- the path
-
getToolbarConfigPath
public 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
- iftrue
services are displayed in the popup list
-
isAddServices
public boolean isAddServices()
Returnstrue
if services are displayed in the popup list- Returns:
true
if services are displayed in the popup list
-
-