Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 69152d34d1bf2ce23dbc723c846d970db3ed0add (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2007 Oracle Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Oracle - initial API and implementation
 *    
 ********************************************************************************/
package org.eclipse.jst.jsf.common.metadata.internal;

/**
 * Allows {@link IMetaDataObserver}s to observe changes.
 * Experimental.
 *
 */
public interface IMetaDataObservable {
	/**
	 * Add the observer to the set of observers.  Has no effect if
	 * the same observer is already registered
	 * 
	 * @param observer
	 */
	public void addObserver(IMetaDataObserver observer);

	/**
	 * Remove the observer from the set of observers.  Has no effect
	 * if observer was not already registered.
	 * 
	 * @param observer must not be null
	 */
	public void removeObserver(IMetaDataObserver observer);
}

Back to the top