Interface LogixNGPreferences

All Known Implementing Classes:
DefaultLogixNGPreferences

public interface LogixNGPreferences
Preferences for LogixNG
  • Method Details

    • compareValuesDifferent

      Compare if the values are different from the other preferences.
      Parameters:
      prefs - the other preferences to check
      Returns:
      true if preferences differ, false otherwise
    • apply

      Apply other preferences to this class
      Parameters:
      prefs - the other preferences
    • save

      void save()
      Save the preferences
    • setStartLogixNGOnStartup

      void setStartLogixNGOnStartup(boolean value)
      Set whenether LogixNG should be started when the program starts or a panel is loaded.
      Parameters:
      value - true if LogixNG should start on program start or when a panel is loaded, false otherwise
    • getStartLogixNGOnStartup

      Get whenether LogixNG should be started when the program starts or a panel is loaded.
      Returns:
      true if LogixNG should start on program start or when a panel is loaded, false otherwise
    • setShowSystemUserNames

      void setShowSystemUserNames(boolean value)
      Set whenether system names and user names should be visible for actions and expressions.
      Parameters:
      value - true if names should be visible, false otherwise
    • getShowSystemUserNames

      Get whenether system names and user names should be visible for actions and expressions.
      Returns:
      true if names should be visible, false otherwise
    • setInstallDebugger

      void setInstallDebugger(boolean value)
      Set whenether the debugger should be installed or nog.
      Parameters:
      value - true if the debugger should be installed, false otherwise
    • getInstallDebugger

      Get whenether the debugger should be installed or nog.
      Returns:
      true if the debugger should be installed, false otherwise
    • setErrorHandlingType

      Set the default error handling type.
      Parameters:
      type - the error handling type
    • getErrorHandlingType

      Get the default error handling type.
      Returns:
      the error handling type
    • setTreeEditorHighlightRow

      void setTreeEditorHighlightRow(boolean value)
      Set whether row in tree editor should be highlighted or not.
      Parameters:
      value - true if the row should be highlighted, false otherwise
    • getTreeEditorHighlightRow

      Get whether row in tree editor should be highlighted or not.
      Returns:
      true if the row should be highlighted, false otherwise
    • setShowSystemNameInException

      void setShowSystemNameInException(boolean value)
      Set whether system names should be shown or not in exceptions.
      Parameters:
      value - true if system names should be shown, false otherwise
    • getShowSystemNameInException

      Get whether system names should be shown or not in exceptions.
      Returns:
      true if the system names should be shown, false otherwise
    • setStrictTypingGlobalVariables

      void setStrictTypingGlobalVariables(boolean value)
      Set whenether strict typing should be used for global variables.
      Parameters:
      value - true if strict typing should be used for global variables, false otherwise
    • getStrictTypingGlobalVariables

      Get whenether strict typing should be used for global variables.
      Returns:
      true if strict typing should be used for global variables, false otherwise
    • setStrictTypingLocalVariables

      void setStrictTypingLocalVariables(boolean value)
      Set whenether strict typing should be used for local variables.
      Parameters:
      value - true if strict typing should be used for local variables, false otherwise
    • getStrictTypingLocalVariables

      Get whenether strict typing should be used for local variables.
      Returns:
      true if strict typing should be used for local variables, false otherwise
    • setIfThenElseExecuteTypeDefault

      Set the default execute type for IfThenElse.
      Parameters:
      value - the default
    • getIfThenElseExecuteTypeDefault

      Get the default execute type for IfThenElse.
      Returns:
      the default
    • setLogAllBefore

      void setLogAllBefore(boolean value)
      Set log all before.
      Parameters:
      value - true if log all before, false otherwise
    • getLogAllBefore

      boolean getLogAllBefore()
      Get log all before.
      Returns:
      true if log all before, false otherwise
    • setLogAllAfter

      void setLogAllAfter(boolean value)
      Set log all after.
      Parameters:
      value - true if log all after, false otherwise
    • getLogAllAfter

      boolean getLogAllAfter()
      Get log all after.
      Returns:
      true if log all after, false otherwise