X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2Fsharedontology%2Fwizard%2FExportPlan.java;h=f8cd67a8a415b3bbc4bec8bb68b50204109aefbf;hp=3809442c8103d7bb9407e8d3c1e2d3c043e94a09;hb=fa806341cc06b72051d5e8d709674eb9d5c2bf00;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ExportPlan.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ExportPlan.java index 3809442c8..f8cd67a8a 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ExportPlan.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ExportPlan.java @@ -1,48 +1,49 @@ -/******************************************************************************* - * Copyright (c) 2012 Association for Decentralized Information Management in - * Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.modeling.ui.sharedontology.wizard; - -import java.io.File; -import java.util.Deque; - -import org.simantics.db.management.ISessionContext; -import org.simantics.modeling.ModelingUtils.LibraryInfo; -import org.simantics.project.IProject; - -/** - * @author Tuukka Lehtonen - */ -public class ExportPlan { - - - - // Input - ISessionContext sessionContext; - IProject project; - Object selection; - Deque recentLocations; - - // Output - LibraryInfo model; - File exportLocation; - - /** - * true if the model should be overwritten without a warning. - */ - boolean overwrite; - - ExportPlan(ISessionContext sessionContext, Deque recentLocations) { - this.sessionContext = sessionContext; - this.recentLocations = recentLocations; - } - +/******************************************************************************* + * Copyright (c) 2012 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.modeling.ui.sharedontology.wizard; + +import java.io.File; +import java.util.Deque; + +import org.simantics.db.management.ISessionContext; +import org.simantics.modeling.ModelingUtils.LibraryInfo; +import org.simantics.project.IProject; + +/** + * @author Tuukka Lehtonen + */ +public class ExportPlan { + + + + // Input + ISessionContext sessionContext; + IProject project; + Object selection; + Deque recentLocations; + + // Output + LibraryInfo model; + File exportLocation; + + /** + * true if the model should be overwritten without a warning. + */ + boolean overwrite; + boolean tgAndPgraph; + + ExportPlan(ISessionContext sessionContext, Deque recentLocations) { + this.sessionContext = sessionContext; + this.recentLocations = recentLocations; + } + } \ No newline at end of file