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) DeserializesChart
deserializeChart
(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesDendrogram
deserializeChart
(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesGanttChart
void
serializeChart
(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem) SerializesChart
void
serializeChart
(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem) SerializesDendrogram
void
serializeChart
(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
- -Dendrogram
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public Dendrogram deserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesDendrogram
- Parameters:
chart
- -Dendrogram
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -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
- -Chart
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public GanttChart deserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesGanttChart
- Parameters:
chart
- -GanttChart
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -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
- -Chart
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public Chart deserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage) DeserializesChart
- Parameters:
chart
- -Chart
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IInPersistenceStorage
- input storage, can't benull
- Returns:
- deserialized chart, never
null
-