/*
* JBoss, Home of Professional Open Source.
*
* See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
*
* See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
*/
package org.teiid.designer.ui.editors;
/**
* This interface provides classes like <code>DiagramEditor</code> i.e. (<code>ModelEditorPage</code>)to identify themselves as needing
* to broadcast when their initialization is complete. In the case of the <code>DiagramEditor</code>, the act of displaying a diagram,
* requires an async process that will potentially change the resource (i.e. make it dirty). As a notifier, the <code>ModelEditor</code>
* (main editor class) can register itself as a listener for the <code>ModelEditor</code>, so it can perform a save when the DiagramEditor
* has completed it's display.
*
* see <code>IInitializationCompletionListener</code> for the companion listener class
* @since 8.0
*/
public interface IInitializationCompleteNotifier {
/**
*
* @since 4.3
*/
void notifyInitializationComplete();
/**
*
* @param listener
* @since 4.3
*/
void addListener(IInitializationCompleteListener listener);
/**
*
* @param listener
* @since 4.3
*/
void removeListener(IInitializationCompleteListener listener);
}