Class ChartSerializer
java.lang.Object
com._1c.g5.v8.dt.chart.serializer.ChartSerializer
Serializer/Deserializer for
Chart, GanttChart-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesChartdeserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesDendrogramdeserializeChart(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
-
Constructor Details
-
ChartSerializer
public ChartSerializer()
-
-
Method Details
-
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
-