KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > operations > IUpdateModelChangedListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.update.operations;
12
13 /**
14  * Listener for update model changes.
15  * Usually, when features are installed, configured, etc.
16  * a GUI may need to update its state, so it will have to register
17  * with the OperationsManager for update events.
18  * <p>
19  * <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
20  * change significantly before reaching stability. It is being made available at this early stage to solicit feedback
21  * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
22  * (repeatedly) as the API evolves.
23  * </p>
24  * @since 3.0
25  */

26 public interface IUpdateModelChangedListener {
27     /**
28      * Called after a feature/site/etc. is added
29      * @param parent parent object
30      * @param children added children
31      */

32     public void objectsAdded(Object JavaDoc parent, Object JavaDoc [] children);
33     /**
34      * Called after a feature/site/etc. is removed.
35      * @param parent parent object
36      * @param children removed children
37      */

38     public void objectsRemoved(Object JavaDoc parent, Object JavaDoc [] children);
39     /**
40      * Called when there are changes to a site/feature/etc.
41      * @param object object that changed
42      * @param property object property that changed
43      */

44     public void objectChanged(Object JavaDoc object, String JavaDoc property);
45 }
46
Popular Tags