/** * */ package org.eclipse.papyrus.infra.core.sasheditor.editor; import org.eclipse.papyrus.infra.core.sasheditor.editor.IPage; import org.eclipse.papyrus.infra.core.sasheditor.editor.IPageChangedListener; /** * This Interface allows to listen on events thrown during the life * cycle of an IPage. * * * @author cedric dumoulin * */ public interface IPageLifeCycleEventsListener extends IPageChangedListener { /** * * @param page * The page firing the event. */ public void pageOpened(IPage page); /** * * @param page * The page firing the event. */ public void pageClosed(IPage page); /** * The specify page is activated. It become the current active page. * * @param page * The page firing the event. */ public void pageActivated(IPage page); /** * The specify page is deactivated. * This event is never thrown actually. * * @param page * The page firing the event. */ public void pageDeactivated(IPage page); /** * * @param page * The page firing the event. */ public void pageAboutToBeOpened(IPage page); /** * This event is never thrown actually. * @param page * The page firing the event. */ public void pageAboutToBeClosed(IPage page); }