// Path: src/opaide/editors/messages/ast/OpaMessage.java
// public abstract class OpaMessage extends EventObject {
// 
// 	private IProject project;
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -7145362729411737978L;
// 
// 	public OpaMessage(Object source) {
// 		super(source);
// 	}
// 	
// 	public OpaMessage(Object source, IProject project) {
// 		super(source);
// 		assert(project != null);
// 		this.project = project;
// 	}
// 
// 	public IProject getProject() { return this.project; }
// }


import javax.swing.event.EventListenerList;
import org.eclipse.core.commands.State;
import org.eclipse.core.commands.common.EventManager;
import opaide.editors.messages.ast.OpaMessage;
package opaide.editors.messages;





public class OpaMessageListenersList extends EventManager {

	protected EventListenerList listenerList = new EventListenerList();

	public void addMyEventListener(IOpaMessageListener listener) {
		listenerList.add(IOpaMessageListener.class, listener);
	}
	public void removeMyEventListener(IOpaMessageListener listener) {
		listenerList.remove(IOpaMessageListener.class, listener);
	}
// Path: src/opaide/editors/messages/ast/OpaMessage.java
// public abstract class OpaMessage extends EventObject {
// 
// 	private IProject project;
// 
// 	/**
// 	 * 
// 	 */
// 	private static final long serialVersionUID = -7145362729411737978L;
// 
// 	public OpaMessage(Object source) {
// 		super(source);
// 	}
// 	
// 	public OpaMessage(Object source, IProject project) {
// 		super(source);
// 		assert(project != null);
// 		this.project = project;
// 	}
// 
// 	public IProject getProject() { return this.project; }
// }


// Path: src/opaide/editors/messages/OpaMessageListenersList.java
import javax.swing.event.EventListenerList;
import org.eclipse.core.commands.State;
import org.eclipse.core.commands.common.EventManager;
import opaide.editors.messages.ast.OpaMessage;

package opaide.editors.messages;





public class OpaMessageListenersList extends EventManager {

	protected EventListenerList listenerList = new EventListenerList();

	public void addMyEventListener(IOpaMessageListener listener) {
		listenerList.add(IOpaMessageListener.class, listener);
	}
	public void removeMyEventListener(IOpaMessageListener listener) {
		listenerList.remove(IOpaMessageListener.class, listener);
	}
	public void fireMyEvent(OpaMessage evt) {