Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/pasteInNewTable/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/AggregatedObservable.java')
-rw-r--r--sandbox/pasteInNewTable/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/AggregatedObservable.java47
1 files changed, 0 insertions, 47 deletions
diff --git a/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/AggregatedObservable.java b/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/AggregatedObservable.java
deleted file mode 100644
index 294506260ba..00000000000
--- a/sandbox/pasteInNewTable/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/AggregatedObservable.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.infra.tools.databinding;
-
-import org.eclipse.core.databinding.observable.IObservable;
-
-/**
- * An interface to aggregate many IObservables in a single one.
- * A modification on the aggregated observable should be dispatched to all
- * the encapsulated observables.
- *
- * @author Camille Letavernier
- */
-public interface AggregatedObservable extends IObservable {
-
- /**
- * Aggregates the current Observable with the given observable.
- * Returns the aggregated Observable, or null if the aggregation is not
- * possible
- *
- * Typically, only IObservable with similar ValueTypes can be
- * aggregated.
- *
- * @param observable
- * The IObservable to aggregate to the current IObservable
- * @return
- * The aggregated IObservable, or null if the aggregation is not
- * possible
- */
- public AggregatedObservable aggregate(IObservable observable);
-
- /**
- * Tests if the sub-observables have different values
- *
- * @return true if the sub-observables have different values
- */
- public boolean hasDifferentValues();
-}

Back to the top