KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > activities > ICategoryListener


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
12 package org.eclipse.ui.activities;
13
14 /**
15  * An instance of this interface can be used by clients to receive notification
16  * of changes to one or more instances of <code>ICategory</code>.
17  *
18  * <p>
19  * This interface may be implemented by clients.
20  * </p>
21  *
22  * @since 3.0
23  * @see ICategory#addCategoryListener(ICategoryListener)
24  * @see ICategory#removeCategoryListener(ICategoryListener)
25  */

26 public interface ICategoryListener {
27
28     /**
29      * Notifies that one or more properties of an instance of <code>ICategory</code>
30      * have changed. Specific details are described in the <code>CategoryEvent</code>.
31      *
32      * @param categoryEvent
33      * the category event. Guaranteed not to be <code>null</code>.
34      */

35     void categoryChanged(CategoryEvent categoryEvent);
36 }
37
Popular Tags