KickJava   Java API By Example, From Geeks To Geeks.

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


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
12 package org.eclipse.ui.commands;
13
14 /**
15  * <p>
16  * An instance of <code>ICategoryListener</code> can be used by clients to
17  * receive notification of changes to one or more instances of
18  * <code>ICategory</code>.
19  * </p>
20  * <p>
21  * This interface may be implemented by clients.
22  * </p>
23  *
24  * @since 3.0
25  * @see CategoryEvent
26  * @see org.eclipse.ui.commands.ICategory#addCategoryListener(ICategoryListener)
27  * @see org.eclipse.ui.commands.ICategory#removeCategoryListener(ICategoryListener)
28  * @see org.eclipse.core.commands.ICategoryListener
29  * @deprecated Please use the "org.eclipse.core.commands" plug-in instead.
30  */

31 public interface ICategoryListener {
32
33     /**
34      * Notifies that one or more attributes of an instance of
35      * <code>ICategory</code> have changed. Specific details are described in
36      * the <code>CategoryEvent</code>.
37      *
38      * @param categoryEvent
39      * the category event. Guaranteed not to be <code>null</code>.
40      */

41     void categoryChanged(CategoryEvent categoryEvent);
42 }
43
Popular Tags