X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FmodelBrowser%2Fmodel%2FIChildrenCallback.java;h=fa3520ba7ce77f8890418e336d509d0a8b5ed782;hb=f7073364d424fb9b1ef84ade1cfa49553a694c22;hp=5eb62d7b180779155fc92223d3e94694580e2c99;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/IChildrenCallback.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/IChildrenCallback.java index 5eb62d7b1..fa3520ba7 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/IChildrenCallback.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/IChildrenCallback.java @@ -1,35 +1,35 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 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.modelBrowser.model; - -import java.util.Collection; - -import org.simantics.browsing.ui.PrimitiveQueryUpdater; - -/** - * A generic parameterless callback for informing a - * {@link PrimitiveQueryUpdater} of changed query results which will trigger - * invalidation and re-execution of the related queries. - * - * @author Tuukka Lehtonen - */ -@Deprecated -public interface IChildrenCallback { - - /** - * @param children the new children for to be refreshed for the - * {@link IUpdateable} that received this callback instance. The - * result must be non-null. - */ - void refreshChildren(Collection children); - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 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.modelBrowser.model; + +import java.util.Collection; + +import org.simantics.browsing.ui.PrimitiveQueryUpdater; + +/** + * A generic parameterless callback for informing a + * {@link PrimitiveQueryUpdater} of changed query results which will trigger + * invalidation and re-execution of the related queries. + * + * @author Tuukka Lehtonen + */ +@Deprecated +public interface IChildrenCallback { + + /** + * @param children the new children for to be refreshed for the + * {@link IUpdateable} that received this callback instance. The + * result must be non-null. + */ + void refreshChildren(Collection children); + +}