KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > core > IModelChangedListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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 package org.eclipse.pde.core;
12
13 /**
14  * Classes that need to be notified on model
15  * changes should implement this interface
16  * and add themselves as listeners to
17  * the model they want to listen to.
18  *
19  * @since 2.0
20  */

21 public interface IModelChangedListener {
22     /**
23      * Called when there is a change in the model
24      * this listener is registered with.
25      *
26      * @param event a change event that describes
27      * the kind of the model change
28      */

29     public void modelChanged(IModelChangedEvent event);
30 }
31
Popular Tags