Package com._1c.g5.v8.dt.bsl.validation
Class BslPreferences
java.lang.Object
com._1c.g5.v8.dt.bsl.validation.BslPreferences
- All Implemented Interfaces:
- IBslPreferences
- 
Nested Class SummaryNested classes/interfaces inherited from interface com._1c.g5.v8.dt.bsl.common.IBslPreferencesIBslPreferences.EnvironmentLaunchMode
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeleteEnvs(org.eclipse.core.resources.IProject project) Deletes load environment forprojectstatic booleandetectIsClientServer(org.eclipse.core.resources.IProject project) Loads selectedEnvironmentfrom property page for projectstatic booleandetectIsClientServer(org.eclipse.emf.ecore.EObject object) Loads selectedEnvironmentfrom property page for projectgetDocumentCommentProperties(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 filteringEnvironmentsfrom property page for BSLgetLoadEnvs(org.eclipse.emf.ecore.EObject object) Gets filteringEnvironmentsfrom 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 selectedEnvironmentfrom property page for projectbooleansetLaunchMode(org.eclipse.core.resources.IProject project, int mode) Sets value of environment "Launch mode"
- 
Field Details- 
MANAGED_ENVIRONMENTS_NODE- See Also:
 
- 
MOBILE_ENVIRONMENTS_NODE- See Also:
 
- 
RUNTIME_LAUNCH_NODE- See Also:
 
- 
CLIENT_SERVER- See Also:
 
- 
ENV_LAUNCH_MODE_INDEX- See Also:
 
- 
TYPE_SYSTEM_PROPERTIES- See Also:
 
- 
DEEP_ANALYSIS_PROPERTIES- See Also:
 
- 
DOCUMENTATION_COMMENT_PROPERTIES- See Also:
 
 
- 
- 
Constructor Details- 
BslPreferencespublic BslPreferences()
 
- 
- 
Method Details- 
detectIsClientServerpublic static boolean detectIsClientServer(org.eclipse.core.resources.IProject project) Loads selectedEnvironmentfrom property page for project- Parameters:
- project- -- IProjectactual project, can't be- null
- Returns:
- trueif this client-server,- falseif it's file-server
 
- 
detectIsClientServerpublic static boolean detectIsClientServer(org.eclipse.emf.ecore.EObject object) Loads selectedEnvironmentfrom property page for project- Parameters:
- project- -- EObjectfor determinating the actual- IProject, can't be- null
- Returns:
- trueif this client-server,- falseif it's file-server
 
- 
loadEnvpublic Map<Environment,Boolean> loadEnv(org.eclipse.core.resources.IProject project, IBslPreferences.EnvironmentLaunchMode mode) Description copied from interface:IBslPreferencesLoads selectedEnvironmentfrom property page for project- Specified by:
- loadEnvin interface- IBslPreferences
- Parameters:
- project- -- IProjectactual project, can't be- null
- mode- actual environment "Default run mode", can't be- null
- Returns:
- all allowed environments with boolean flag, never null
 
- 
getEnvLaunchModepublic IBslPreferences.EnvironmentLaunchMode getEnvLaunchMode(org.eclipse.core.resources.IProject project) Description copied from interface:IBslPreferencesGets saving value of environment "Default launch mode"- Specified by:
- getEnvLaunchModein interface- IBslPreferences
- Parameters:
- project-- IProjectactual project, can't be- null
- Returns:
- saving value of environment "Default launch mode", never null
 
- 
getLoadEnvsDescription copied from interface:IBslPreferencesGets filteringEnvironmentsfrom property page for BSL- Specified by:
- getLoadEnvsin interface- IBslPreferences
- Parameters:
- object- object for getting current project, can't be- null
- Returns:
- current filtering Environments, nevernull
 
- 
getLoadEnvsDescription copied from interface:IBslPreferencesGets filteringEnvironmentsfrom property page for BSL- Specified by:
- getLoadEnvsin interface- IBslPreferences
- Parameters:
- project- current project, can't be- null
- Returns:
- current filtering Environments, nevernull
 
- 
setLaunchModepublic boolean setLaunchMode(org.eclipse.core.resources.IProject project, int mode) Description copied from interface:IBslPreferencesSets value of environment "Launch mode"- Specified by:
- setLaunchModein interface- IBslPreferences
- Parameters:
- project-- IProjectactual project, can't be- null
- mode- saving value of environment "Launch mode"
- Returns:
- trueif new value was be set,- falseotherwise
 
- 
deleteEnvspublic void deleteEnvs(org.eclipse.core.resources.IProject project) Description copied from interface:IBslPreferencesDeletes load environment forproject- Specified by:
- deleteEnvsin interface- IBslPreferences
- Parameters:
- project- actual project for deleting environment for it, can't be- null
 
- 
getTypeSystemPropertiesDescription copied from interface:IBslPreferencesGets properties for Type System of Built-In language. SeeTypeSystemProperties- Specified by:
- getTypeSystemPropertiesin interface- IBslPreferences
- Parameters:
- project- actual project, can't be- null
- Returns:
- properties for Type System of Built-In language, never null
 
- 
getDocumentCommentPropertiespublic DocumentationCommentProperties getDocumentCommentProperties(org.eclipse.core.resources.IProject project) Description copied from interface:IBslPreferencesGets properties for Bsl documentation comment. SeeDocumentationCommentProperties- Specified by:
- getDocumentCommentPropertiesin interface- IBslPreferences
- Parameters:
- project- actual project, can't be- null
- Returns:
- properties for Bsl documentation comment, never null
 
 
-