1 /******************************************************************************* 2 * Copyright (c) 2000, 2009 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package org.eclipse.jdt.core; 15 16 /** 17 * A listener which gets notified when a particular type hierarchy object 18 * changes. 19 * <p> 20 * This interface may be implemented by clients. 21 * </p> 22 */ 23 public interface ITypeHierarchyChangedListener { 24 /** 25 * Notifies that the given type hierarchy has changed in some way and should 26 * be refreshed at some point to make it consistent with the current state of 27 * the Java model. 28 * 29 * @param typeHierarchy the given type hierarchy 30 */ typeHierarchyChanged(ITypeHierarchy typeHierarchy)31 void typeHierarchyChanged(ITypeHierarchy typeHierarchy); 32 } 33