1 /******************************************************************************* 2 * Copyright (c) 2007 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 ******************************************************************************/ 11 12 package org.eclipse.core.databinding.observable; 13 14 /** 15 * 16 * Mixin interface for IObservables that observe other objects. 17 * 18 * @since 1.0 19 * 20 */ 21 public interface IObserving { 22 23 /** 24 * Returns the observed object, or <code>null</code> if this observing 25 * object does not currently observe an object. 26 * 27 * @return the observed object, or <code>null</code> 28 */ 29 public Object getObserved(); 30 31 } 32