X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics%2Fsrc%2Forg%2Fsimantics%2FDefaultChoiceUserAgent.java;h=f8dadce61c4d8de3cafb70bc6a0db1b7d6888f72;hb=8d11ebc5a0d82e3e602d521d29a29e5cd78bc2a1;hp=877f2cc4782de3191bae6d0c97b4afd58bd5b3a6;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git 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; + } + +}