1 /*******************************************************************************
2 * Copyright (c) 2012 Association for Decentralized Information Management in
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.modeling.ui.sharedontology.wizard;
15 import java.util.Deque;
17 import org.simantics.db.management.ISessionContext;
18 import org.simantics.project.IProject;
21 * @author Tuukka Lehtonen
23 public class ImportPlan {
26 ISessionContext sessionContext;
29 Deque<String> recentLocations;
34 boolean includeDependencies;
36 public ImportPlan(ISessionContext sessionContext, Deque<String> recentLocations) {
37 this.sessionContext = sessionContext;
38 this.recentLocations = recentLocations;
41 public ISessionContext getSessionContext(){
42 return sessionContext;
45 public void setProject(IProject project){
46 this.project = project;
49 public IProject getProject(){
53 public void setSelection(Object selection){
54 this.selection = selection;
57 public Object getSelection(){
61 public Deque<String> getRecentLocations(){
62 return recentLocations;
65 public File getImportLocation(){
66 return importLocation;
69 public void setImportLocation(File importLocation){
70 this.importLocation = importLocation;