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 public ImportPlan(ISessionContext sessionContext, Deque<String> recentLocations) {
35 this.sessionContext = sessionContext;
36 this.recentLocations = recentLocations;
39 public ISessionContext getSessionContext(){
40 return sessionContext;
43 public void setProject(IProject project){
44 this.project = project;
47 public IProject getProject(){
51 public void setSelection(Object selection){
52 this.selection = selection;
55 public Object getSelection(){
59 public Deque<String> getRecentLocations(){
60 return recentLocations;
63 public File getImportLocation(){
64 return importLocation;
67 public void setImportLocation(File importLocation){
68 this.importLocation = importLocation;