public class MigrationServiceImpl extends java.lang.Object implements IMigrationService
Constructor and Description |
---|
MigrationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
migrate070To080(Diagram d)
Moves fonts which, in 0.7.0, were aggregated by AbstractText and Style to
the diagram which aggregates fonts centrally as of 0.8.0.
|
void |
migrate080To090(Diagram d)
Sets all filled attributes of abstract text instances to false.
|
boolean |
shouldMigrate070To080(Diagram d)
Checks if fonts are set on graphical elements while not being managed by
the diagram.
|
boolean |
shouldMigrate080To090(Diagram d)
Checks if a version number is present.
|
public void migrate070To080(Diagram d)
IMigrationService
migrate070To080
in interface IMigrationService
d
- the diagram to be migrated#shouldMigrate070To080(Diagram)}
public void migrate080To090(Diagram d)
IMigrationService
migrate080To090
in interface IMigrationService
d
- the diagram to be migratedorg.eclipse.graphiti.ui.internal.editor.DiagramEditorInternal#migrateDiagramModelIfNecessary()
public boolean shouldMigrate080To090(Diagram d)
IMigrationService
shouldMigrate080To090
in interface IMigrationService
d
- the diagram under considerationorg.eclipse.graphiti.ui.internal.editor.DiagramEditorInternal#migrateDiagramModelIfNecessary()
public boolean shouldMigrate070To080(Diagram d)
IMigrationService
shouldMigrate070To080
in interface IMigrationService
d
- the diagram under consideration#migrate070To080(Diagram)}