Skip to content

Package: ViewModelWorkspaceMigrator

ViewModelWorkspaceMigrator

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2015 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Alexandra Buzila - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.view.migrator;
15:
16: import java.util.ArrayList;
17:
18: import org.eclipse.core.runtime.CoreException;
19: import org.eclipse.emf.common.util.URI;
20:
21: /**
22: * Migrator that handles all the view models in the workspace.
23: *
24: * @since 1.8
25: * @author Alexandra Buzila
26: */
27: public interface ViewModelWorkspaceMigrator {
28:
29:         /**
30:          * Returns a list of viewmodel {@link URI}s that need to be migrated.
31:          *
32:          * @return the URIs
33:          * @throws CoreException if a problem occurred while searching the workspace
34:          **/
35:         ArrayList<URI> getURIsToMigrate() throws CoreException;
36:
37: }