X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics%2Fsrc%2Forg%2Fsimantics%2FDefaultChoiceUserAgent.java;h=f8dadce61c4d8de3cafb70bc6a0db1b7d6888f72;hp=877f2cc4782de3191bae6d0c97b4afd58bd5b3a6;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics/src/org/simantics/DefaultChoiceUserAgent.java b/bundles/org.simantics/src/org/simantics/DefaultChoiceUserAgent.java index 877f2cc47..f8dadce61 100644 --- a/bundles/org.simantics/src/org/simantics/DefaultChoiceUserAgent.java +++ b/bundles/org.simantics/src/org/simantics/DefaultChoiceUserAgent.java @@ -1,25 +1,25 @@ -/******************************************************************************* - * Copyright (c) 2011 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; - - -/** - * @author Tuukka Lehtonen - */ -public class DefaultChoiceUserAgent implements PlatformUserAgent { - - @Override - public int showPrompt(String title, String message, String[] options, int defaultChoice) { - return defaultChoice; - } - -} +/******************************************************************************* + * Copyright (c) 2011 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; + + +/** + * @author Tuukka Lehtonen + */ +public class DefaultChoiceUserAgent implements PlatformUserAgent { + + @Override + public int showPrompt(String title, String message, String[] options, int defaultChoice) { + return defaultChoice; + } + +}