X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fsubscription%2FSubscriptionCollectionResult.java;h=32e05d26370d7fc757bcc70074e86b73af292979;hb=4e402f51b0e34d40c3f9d33a4bec7feffeb8d339;hp=3d7678a77de81f1e49155daf0274093712be0434;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/subscription/SubscriptionCollectionResult.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/subscription/SubscriptionCollectionResult.java index 3d7678a77..32e05d263 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/subscription/SubscriptionCollectionResult.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/subscription/SubscriptionCollectionResult.java @@ -1,44 +1,44 @@ -/******************************************************************************* - * 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.modeling.subscription; - -import java.util.List; - -import org.eclipse.core.runtime.MultiStatus; -import org.simantics.history.util.subscription.SubscriptionItem; -import org.simantics.utils.datastructures.map.Tuple; - -/** - * @author Tuukka Lehtonen - * - * @see ModelHistoryCollector - * @see Subscription - */ -public class SubscriptionCollectionResult extends Tuple { - - private MultiStatus status; - - public SubscriptionCollectionResult(List items, MultiStatus status) { - super(items); - this.status = status; - } - - @SuppressWarnings("unchecked") - public List getSubscriptions() { - return (List) getField(0); - } - - public MultiStatus getStatus() { - return status; - } - +/******************************************************************************* + * 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.modeling.subscription; + +import java.util.List; + +import org.eclipse.core.runtime.MultiStatus; +import org.simantics.history.util.subscription.SubscriptionItem; +import org.simantics.utils.datastructures.map.Tuple; + +/** + * @author Tuukka Lehtonen + * + * @see ModelHistoryCollector + * @see Subscription + */ +public class SubscriptionCollectionResult extends Tuple { + + private MultiStatus status; + + public SubscriptionCollectionResult(List items, MultiStatus status) { + super(items); + this.status = status; + } + + @SuppressWarnings("unchecked") + public List getSubscriptions() { + return (List) getField(0); + } + + public MultiStatus getStatus() { + return status; + } + } \ No newline at end of file