1 /** 2 * <copyright> 3 * 4 * Copyright (c) 2002-2004 IBM Corporation and others. 5 * All rights reserved. This program and the accompanying materials 6 * are made available under the terms of the Eclipse Public License v1.0 7 * which accompanies this distribution, and is available at 8 * http://www.eclipse.org/legal/epl-v10.html 9 * 10 * Contributors: 11 * IBM - Initial API and implementation 12 * 13 * </copyright> 14 * 15 * $Id: NotifyingList.java,v 1.2 2005/06/08 06:19:08 nickb Exp $ 16 */ 17 package org.eclipse.emf.common.notify; 18 19 20 import org.eclipse.emf.common.util.EList; 21 22 23 /** 24 * A managed list that dispatches feature change notification to a notifier. 25 */ 26 public interface NotifyingList extends EList 27 { 28 /** 29 * Returns the notifier that manages this list. 30 * @return the notifier of the list. 31 */ 32 public Object getNotifier(); 33 34 /** 35 * Returns the notifier's feature that this list represents. 36 * @see Notification#getFeature 37 * @return the feature of the list. 38 */ 39 public Object getFeature(); 40 41 /** 42 * Returns the notifier's feature ID that this list represents. 43 * @see Notification#getFeatureID 44 * @return the feature ID of the list. 45 */ 46 public int getFeatureID(); 47 } 48