001 /**
002 * <copyright>
003 *
004 * Copyright (c) 2002-2006 IBM Corporation and others.
005 * All rights reserved. This program and the accompanying materials
006 * are made available under the terms of the Eclipse Public License v1.0
007 * which accompanies this distribution, and is available at
008 * http://www.eclipse.org/legal/epl-v10.html
009 *
010 * Contributors:
011 * IBM - Initial API and implementation
012 *
013 * </copyright>
014 *
015 * $Id: NotifyingList.java,v 1.3 2006/12/05 20:19:54 emerks Exp $
016 */
017 package org.eclipse.emf.common.notify;
018
019
020 import org.eclipse.emf.common.util.EList;
021
022
023 /**
024 * A managed list that dispatches feature change notification to a notifier.
025 */
026 public interface NotifyingList<E> extends EList<E>
027 {
028 /**
029 * Returns the notifier that manages this list.
030 * @return the notifier of the list.
031 */
032 public Object getNotifier();
033
034 /**
035 * Returns the notifier's feature that this list represents.
036 * @see Notification#getFeature
037 * @return the feature of the list.
038 */
039 public Object getFeature();
040
041 /**
042 * Returns the notifier's feature ID that this list represents.
043 * @see Notification#getFeatureID
044 * @return the feature ID of the list.
045 */
046 public int getFeatureID();
047 }