Package com._1c.g5.v8.dt.bsl.common
Interface IBslPreferences
-
- All Known Implementing Classes:
BslPreferences
public interface IBslPreferences
Interface for saving and loadingEnvironment
from Bsl validation property page
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IBslPreferences.EnvironmentLaunchMode
Environment "Default run mode" for validation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteEnvs(org.eclipse.core.resources.IProject project)
Deletes load environment forproject
DocumentationCommentProperties
getDocumentCommentProperties(org.eclipse.core.resources.IProject project)
Gets properties for Bsl documentation comment.IBslPreferences.EnvironmentLaunchMode
getEnvLaunchMode(org.eclipse.core.resources.IProject project)
Gets saving value of environment "Default launch mode"Environments
getLoadEnvs(org.eclipse.core.resources.IProject project)
Gets filteringEnvironments
from property page for BSLEnvironments
getLoadEnvs(org.eclipse.emf.ecore.EObject object)
Gets filteringEnvironments
from property page for BSLTypeSystemProperties
getTypeSystemProperties(org.eclipse.core.resources.IProject project)
Gets properties for Type System of Built-In language.Map<Environment,Boolean>
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 Detail
-
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
IBslPreferences.EnvironmentLaunchMode getEnvLaunchMode(org.eclipse.core.resources.IProject project)
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
Environments getLoadEnvs(org.eclipse.emf.ecore.EObject object)
Gets filteringEnvironments
from property page for BSL- Parameters:
object
- object for getting current project, can't benull
- Returns:
- current filtering
Environments
, nevernull
-
getLoadEnvs
Environments getLoadEnvs(org.eclipse.core.resources.IProject project)
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
TypeSystemProperties getTypeSystemProperties(org.eclipse.core.resources.IProject project)
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
-
-