blob: 362a006805c047ab1a535ab3cf271e0580b66eee (
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
36
37
38
39
40
41
42
43
44
45
|
/*****************************************************************************
* Copyright (c) 2013 CEA LIST.
*
* 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:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
*****************************************************************************/
package org.eclipse.papyrus.infra.core.services;
import org.eclipse.papyrus.infra.core.editor.IMultiDiagramEditor;
/**
* Listens to the Lifecycle of an {@link IMultiDiagramEditor}
*
* @author Camille Letavernier
*
*/
public interface EditorLifecycleEventListener {
/**
* The ServicesRegistry is successfully started
*
* @param editor
*/
public void postInit(IMultiDiagramEditor editor);
/**
* All the editors are displayed
*
* @param editor
*/
public void postDisplay(IMultiDiagramEditor editor);
/**
* The editor is about to be closed
*
* @param editor
*/
public void beforeClose(IMultiDiagramEditor editor);
}
|