Class ChartSerializer
- java.lang.Object
-
- com._1c.g5.v8.dt.chart.serializer.ChartSerializer
-
public class ChartSerializer extends Object
Serializer/Deserializer forChart,GanttChart
-
-
Constructor Summary
Constructors Constructor Description ChartSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartdeserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)DeserializesChartDendrogramdeserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)DeserializesDendrogramGanttChartdeserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)DeserializesGanttChartvoidserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)SerializesChartvoidserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)SerializesDendrogramvoidserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)SerializesGanttChart
-
-
-
Method Detail
-
serializeChart
public void serializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesDendrogram- Parameters:
chart- -Dendrogramfor serialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IOutPersistenceStorage- output storage, can't benullwithoutStyleItem-trueif we need replaceStyleItemin serialization to concrete value,falseotherwise
-
deserializeChart
public Dendrogram deserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesDendrogram- Parameters:
chart- -Dendrogramfor deserialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IInPersistenceStorage- input storage, can't benull- Returns:
- deserialized dendogram, never
null
-
serializeChart
public void serializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesGanttChart- Parameters:
chart- -Chartfor serialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IOutPersistenceStorage- output storage, can't benullwithoutStyleItem-trueif we need replaceStyleItemin serialization to concrete value,falseotherwise
-
deserializeChart
public GanttChart deserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesGanttChart- Parameters:
chart- -GanttChartfor deserialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IInPersistenceStorage- input storage, can't benull- Returns:
- deserialized chart, never
null
-
serializeChart
public void serializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesChart- Parameters:
chart- -Chartfor serialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IOutPersistenceStorage- output storage, can't benullwithoutStyleItem-trueif we need replaceStyleItemin serialization to concrete value,falseotherwise
-
deserializeChart
public Chart deserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesChart- Parameters:
chart- -Chartfor deserialization, can't benullscopeProvider- actualIGlobalScopeProviderfor resolving platform colors, fonts, borders, lines, can't benullversion- runtime version of the configuration, can't benullcurrentLanguageCode- actual configuration language code, can't benullstorage- -IInPersistenceStorage- input storage, can't benull- Returns:
- deserialized chart, never
null
-
-