01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.activities;
11:
12: /**
13: * An instance of this interface can be used by clients to receive notification
14: * of changes to one or more instances of <code>ICategory</code>.
15: *
16: * <p>
17: * This interface may be implemented by clients.
18: * </p>
19: *
20: * @since 3.0
21: * @see ICategory#addCategoryListener(ICategoryListener)
22: * @see ICategory#removeCategoryListener(ICategoryListener)
23: */
24: public interface ICategoryListener {
25:
26: /**
27: * Notifies that one or more properties of an instance of <code>ICategory</code>
28: * have changed. Specific details are described in the <code>CategoryEvent</code>.
29: *
30: * @param categoryEvent
31: * the category event. Guaranteed not to be <code>null</code>.
32: */
33: void categoryChanged(CategoryEvent categoryEvent);
34: }
|