Package com._1c.g5.v8.dt.bsl.common
Interface IBslPreferences
- All Known Implementing Classes:
BslPreferences
public interface IBslPreferences
Interface for saving and loading
Environment
from Bsl validation property page-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Environment "Default run mode" for validation -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteEnvs
(org.eclipse.core.resources.IProject project) Deletes load environment forproject
getDocumentCommentProperties
(org.eclipse.core.resources.IProject project) Gets properties for Bsl documentation comment.getEnvLaunchMode
(org.eclipse.core.resources.IProject project) Gets saving value of environment "Default launch mode"getLoadEnvs
(org.eclipse.core.resources.IProject project) Gets filteringEnvironments
from property page for BSLgetLoadEnvs
(org.eclipse.emf.ecore.EObject object) Gets filteringEnvironments
from property page for BSLgetTypeSystemProperties
(org.eclipse.core.resources.IProject project) Gets properties for Type System of Built-In language.loadEnv
(org.eclipse.core.resources.IProject project, IBslPreferences.EnvironmentLaunchMode mode) Loads selectedEnvironment
from property page for projectboolean
setLaunchMode
(org.eclipse.core.resources.IProject project, int mode) Sets value of environment "Launch mode"
-
Method Details
-
loadEnv
Map<Environment,Boolean> loadEnv(org.eclipse.core.resources.IProject project, IBslPreferences.EnvironmentLaunchMode mode) Loads selectedEnvironment
from property page for project- Parameters:
project
- -IProject
actual project, can't benull
mode
- actual environment "Default run mode", can't benull
- Returns:
- all allowed environments with boolean flag, never
null
-
getEnvLaunchMode
Gets saving value of environment "Default launch mode"- Parameters:
project
-IProject
actual project, can't benull
- Returns:
- saving value of environment "Default launch mode", never
null
-
getLoadEnvs
Gets filteringEnvironments
from property page for BSL- Parameters:
object
- object for getting current project, can't benull
- Returns:
- current filtering
Environments
, nevernull
-
getLoadEnvs
Gets filteringEnvironments
from property page for BSL- Parameters:
project
- current project, can't benull
- Returns:
- current filtering
Environments
, nevernull
-
setLaunchMode
boolean setLaunchMode(org.eclipse.core.resources.IProject project, int mode) Sets value of environment "Launch mode"- Parameters:
project
-IProject
actual project, can't benull
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 forproject
- Parameters:
project
- actual project for deleting environment for it, can't benull
-
getTypeSystemProperties
Gets properties for Type System of Built-In language. SeeTypeSystemProperties
- Parameters:
project
- actual project, can't benull
- 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. SeeDocumentationCommentProperties
- Parameters:
project
- actual project, can't benull
- Returns:
- properties for Bsl documentation comment, never
null
-