Interface IBslPreferences

  • All Known Implementing Classes:
    BslPreferences

    public interface IBslPreferences
    Interface for saving and loading Environment from Bsl validation property page
    • Method Detail

      • loadEnv

        Map<Environment,​Boolean> loadEnv​(org.eclipse.core.resources.IProject project,
                                               IBslPreferences.EnvironmentLaunchMode mode)
        Loads selected Environment from property page for project
        Parameters:
        project - - IProject actual project, can't be null
        mode - actual environment "Default run mode", can't be null
        Returns:
        all allowed environments with boolean flag, never null
      • getEnvLaunchMode

        IBslPreferences.EnvironmentLaunchMode getEnvLaunchMode​(org.eclipse.core.resources.IProject project)
        Gets saving value of environment "Default launch mode"
        Parameters:
        project - IProject actual project, can't be null
        Returns:
        saving value of environment "Default launch mode", never null
      • getLoadEnvs

        Environments getLoadEnvs​(org.eclipse.emf.ecore.EObject object)
        Gets filtering Environments from property page for BSL
        Parameters:
        object - object for getting current project, can't be null
        Returns:
        current filtering Environments, never null
      • getLoadEnvs

        Environments getLoadEnvs​(org.eclipse.core.resources.IProject project)
        Gets filtering Environments from property page for BSL
        Parameters:
        project - current project, can't be null
        Returns:
        current filtering Environments, never null
      • setLaunchMode

        boolean setLaunchMode​(org.eclipse.core.resources.IProject project,
                              int mode)
        Sets value of environment "Launch mode"
        Parameters:
        project - IProject actual project, can't be null
        mode - saving value of environment "Launch mode"
        Returns:
        true if new value was be set, false otherwise
      • deleteEnvs

        void deleteEnvs​(org.eclipse.core.resources.IProject project)
        Deletes load environment for project
        Parameters:
        project - actual project for deleting environment for it, can't be null
      • getTypeSystemProperties

        TypeSystemProperties getTypeSystemProperties​(org.eclipse.core.resources.IProject project)
        Gets properties for Type System of Built-In language. See TypeSystemProperties
        Parameters:
        project - actual project, can't be null
        Returns:
        properties for Type System of Built-In language, never null
      • getDocumentCommentProperties

        DocumentationCommentProperties getDocumentCommentProperties​(org.eclipse.core.resources.IProject project)
        Gets properties for Bsl documentation comment. See DocumentationCommentProperties
        Parameters:
        project - actual project, can't be null
        Returns:
        properties for Bsl documentation comment, never null