|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.systems.application.visual.editor.resources.ApplicationDiagramMigration
public class ApplicationDiagramMigration
This class is used to migrate the application model and diagram files from pervious versions to the current version. Currently supported model version is 2.0. Migrating just the application model file is relatively straight forward. However migrating the diagram file in conjunction with the model file because the diagram file maintains XPath expressions that reference elements within the model file and these have to be maintained during migration.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
ApplicationDiagramMigration(IFile inputIFile,
boolean diagramAvailable)
Constructor |
Method Summary | |
---|---|
static boolean |
isIncompatibleModelException(Throwable e)
Helper method to determine if an exception is related to an incompatible model format |
boolean |
migrate(IEditorPart editor)
Mirate the model and diagram files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public ApplicationDiagramMigration(IFile inputIFile, boolean diagramAvailable)
Method Detail |
---|
public boolean migrate(IEditorPart editor)
public static boolean isIncompatibleModelException(Throwable e)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |