KickJava   Java API By Example, From Geeks To Geeks.

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


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 should implement this interface in order to be able to register as
15  * model provider listeners. They will be notified about events such as models
16  * being added or removed. These changes are typically caused by the changes in
17  * the workspace when models are built on top of workspace resources.
18  *
19  * @since 2.0
20  */

21 public interface IModelProviderListener {
22     /**
23      * Notifies the listener that models have been changed in the model
24      * provider.
25      *
26      * @param event
27      * the event that specifies the type of change
28      */

29     public void modelsChanged(IModelProviderEvent event);
30 }
31
Popular Tags