Class CodeAssistFactory.CodeAssistConfiguration

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

public static class CodeAssistFactory.CodeAssistConfiguration extends Object
Helper class for CodeAssistFactory to set up CodeAssist
Since:
5.6
  • Constructor Details

    • CodeAssistConfiguration

      public CodeAssistConfiguration()
  • Method Details

    • 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 - 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