Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.view.migrator
Interface ViewModelMigrator

All Known Implementing Classes:
  EdaptViewModelMigrator

    public interface ViewModelMigrator

Author:
  Lucas Koehler

Method Summary
`boolean` | `checkMigration(org.eclipse.emf.common.util.URI resourceURI)` Checks whether a view model needs to be migrated.
`void` | `performMigration(org.eclipse.emf.common.util.URI resourceURI)` Migrates a view model to the latest version.

Method Detail

### checkMigration

    boolean checkMigration(org.eclipse.emf.common.util.URI resourceURI)

  Checks whether a view model needs to be migrated.

  Parameters:
    `resourceURI` - The URI of the view model that should be checked.
  Returns:
    true, if the view model does not require a migration, false otherwise.

### performMigration

    void performMigration(org.eclipse.emf.common.util.URI resourceURI)
                          throws ViewModelMigrationException

  Migrates a view model to the latest version.

  Parameters:
    `resourceURI` - The URI of the view model that should be migrated.
  Throws:
    `ViewModelMigrationException` - in case of an error

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.