blob: e9de4cb5e9aa94ec2a0280eb0fe90a7c6899c4af (
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
46
47
48
49
|
/*****************************************************************************
* Copyright (c) 2008 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:
* Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.core.adaptor.gmf;
import org.eclipse.papyrus.sasheditor.extension.EditorFactoryRegistry;
/**
* GMF based editors action bar contributor.
*/
public class GmfUmlMultiDiagramActionBarContributor extends
GmfMultiPagesActionBarContributor {
/**
* @generated
*/
protected Class getEditorClass() {
return UMLModelManagerEditor.class;
}
/**
* @generated
*/
protected String getEditorId() {
return UMLModelManagerEditor.ID;
}
/**
* Return the EditorRegistry loading the extension points accepted by this editor.
* Should set the namespace.
*/
protected EditorFactoryRegistry getEditorRegistry() {
return new EditorFactoryRegistry(Activator.ID);
}
}
|