]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.annotation.ui/src/org/simantics/annotation/ui/wizard/ExportPlan.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.annotation.ui / src / org / simantics / annotation / ui / wizard / ExportPlan.java
1 /*******************************************************************************
2  * Copyright (c) 2012 Association for Decentralized Information Management in
3  * Industry THTH ry.
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
8  *
9  * Contributors:
10  *     VTT Technical Research Centre of Finland - initial API and implementation
11  *******************************************************************************/
12 package org.simantics.annotation.ui.wizard;
13
14 import java.io.File;
15 import java.util.Deque;
16
17 import org.simantics.db.common.NamedResource;
18 import org.simantics.db.management.ISessionContext;
19 import org.simantics.project.IProject;
20
21 /**
22  * @author Tuukka Lehtonen
23  */
24 public class ExportPlan {
25
26     // Input
27     ISessionContext sessionContext;
28     IProject        project;
29     Object          selection;
30     Deque<String>   recentLocations;
31
32     // Output
33     NamedResource   model;
34     File            exportLocation;
35
36     /**
37      * <code>true</code> if the model should be overwritten without a warning.
38      */
39     boolean         overwrite;
40
41     ExportPlan(ISessionContext sessionContext, Deque<String> recentLocations) {
42         this.sessionContext = sessionContext;
43         this.recentLocations = recentLocations;
44     }
45
46 }