Class TeamUiUtil
java.lang.Object
com._1c.g5.v8.dt.internal.team.ui.TeamUiUtil
Team Ui util.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convertAccessSettingsToOptions
(IInfobaseAccessSettings accessSettings, DevelopmentOptions options) Converts infobase access settings to access options.static InfobaseAccessSettings
Converts infobase access options to access settings.static String
getInfobaseFileParentLocationOption
(DevelopmentOptions options, String defaultLocation) Returns infobase file parent location.static InfobaseType
getInfobaseType
(Object infobaseData) Returns infobase type by infobase data.static String
getOption
(DevelopmentOptions options, String key, String empty) static List<IDevelopmentProcessSettings>
initSettings
(List<IDevelopmentProcessSettings> originalSettings)
-
Method Details
-
getInfobaseType
Returns infobase type by infobase data.- Parameters:
infobaseData
- the infobase data, can benull
- Returns:
- the infobase type, can be
null
-
convertOptionsToInfobaseAccessSettings
public static InfobaseAccessSettings convertOptionsToInfobaseAccessSettings(DevelopmentOptions options) Converts infobase access options to access settings.- Parameters:
options
- the access options, cannot benull
- Returns:
- the infobase access settings, cannot be
null
-
convertAccessSettingsToOptions
public static void convertAccessSettingsToOptions(IInfobaseAccessSettings accessSettings, DevelopmentOptions options) Converts infobase access settings to access options.- Parameters:
accessSettings
- the access settings, cannot benull
options
- the access options, cannot benull
-
getInfobaseFileParentLocationOption
public static String getInfobaseFileParentLocationOption(DevelopmentOptions options, String defaultLocation) Returns infobase file parent location.- Parameters:
options
- the access options, cannot benull
defaultLocation
- the default infobase location, can benull
for existing branch (sample, on delete)- Returns:
- the infobase file parent location, cannot be
null
-
getOption
-
initSettings
public static List<IDevelopmentProcessSettings> initSettings(List<IDevelopmentProcessSettings> originalSettings)
-