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
 
 public class BslPreferences extends Object implements IBslPreferences 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.bsl.common.IBslPreferencesIBslPreferences.EnvironmentLaunchMode
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringCLIENT_SERVERstatic StringDEEP_ANALYSIS_PROPERTIESstatic StringDOCUMENTATION_COMMENT_PROPERTIESstatic StringENV_LAUNCH_MODE_INDEXstatic StringMANAGED_ENVIRONMENTS_NODEstatic StringMOBILE_ENVIRONMENTS_NODEstatic StringRUNTIME_LAUNCH_NODEstatic StringTYPE_SYSTEM_PROPERTIES
 - 
Constructor SummaryConstructors Constructor Description BslPreferences()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteEnvs(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 projectDocumentationCommentPropertiesgetDocumentCommentProperties(org.eclipse.core.resources.IProject project)Gets properties for Bsl documentation comment.IBslPreferences.EnvironmentLaunchModegetEnvLaunchMode(org.eclipse.core.resources.IProject project)Gets saving value of environment "Default launch mode"EnvironmentsgetLoadEnvs(org.eclipse.core.resources.IProject project)Gets filteringEnvironmentsfrom property page for BSLEnvironmentsgetLoadEnvs(org.eclipse.emf.ecore.EObject object)Gets filteringEnvironmentsfrom property page for BSLTypeSystemPropertiesgetTypeSystemProperties(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 selectedEnvironmentfrom property page for projectbooleansetLaunchMode(org.eclipse.core.resources.IProject project, int mode)Sets value of environment "Launch mode"
 
- 
- 
- 
Field Detail- 
MANAGED_ENVIRONMENTS_NODEpublic static final String MANAGED_ENVIRONMENTS_NODE - See Also:
- Constant Field Values
 
 - 
MOBILE_ENVIRONMENTS_NODEpublic static final String MOBILE_ENVIRONMENTS_NODE - See Also:
- Constant Field Values
 
 - 
RUNTIME_LAUNCH_NODEpublic static final String RUNTIME_LAUNCH_NODE - See Also:
- Constant Field Values
 
 - 
CLIENT_SERVERpublic static final String CLIENT_SERVER - See Also:
- Constant Field Values
 
 - 
ENV_LAUNCH_MODE_INDEXpublic static final String ENV_LAUNCH_MODE_INDEX - See Also:
- Constant Field Values
 
 - 
TYPE_SYSTEM_PROPERTIESpublic static final String TYPE_SYSTEM_PROPERTIES - See Also:
- Constant Field Values
 
 - 
DEEP_ANALYSIS_PROPERTIESpublic static final String DEEP_ANALYSIS_PROPERTIES - See Also:
- Constant Field Values
 
 - 
DOCUMENTATION_COMMENT_PROPERTIESpublic static final String DOCUMENTATION_COMMENT_PROPERTIES - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
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
 
 - 
getLoadEnvspublic Environments getLoadEnvs(org.eclipse.emf.ecore.EObject object) Description 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
 
 - 
getLoadEnvspublic Environments getLoadEnvs(org.eclipse.core.resources.IProject project) Description 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
 
 - 
getTypeSystemPropertiespublic TypeSystemProperties getTypeSystemProperties(org.eclipse.core.resources.IProject project) Description 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
 
 
- 
 
-