Package chemaxon.marvin.util.codeassist
Class CodeAssistFactory.CodeAssistConfiguration
java.lang.Object
chemaxon.marvin.util.codeassist.CodeAssistFactory.CodeAssistConfiguration
- Enclosing class:
- CodeAssistFactory
Helper class for
CodeAssistFactory
to set up CodeAssist
- Since:
- 5.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchemaxon.marvin.util.codeassist.CodeAssistDataProvider.Context
Returns the evaluation contextReturns the help text displayed on empty componentReturns the code assist invoke prefixReturns the toolbar configuration pathboolean
Returnstrue
if services are displayed in the popup listboolean
Returns the auto popup behaviourboolean
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
Sets the code assist invoke prefixvoid
setToolbarConfigPath
(String toolbarConfigPath) Sets the toolbar configuration path
-
Constructor Details
-
CodeAssistConfiguration
public CodeAssistConfiguration()
-
-
Method Details
-
setPrefix
Sets the code assist invoke prefix- Parameters:
prefix
- the new prefix
-
getPrefix
Returns the code assist invoke prefix- Returns:
- the code assist invoke prefix
-
setHelpText
Sets the help text displayed on empty component- Parameters:
helpText
- the help text
-
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
Sets the toolbar configuration path- Parameters:
toolbarConfigPath
- the path
-
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
-