422
|
1 |
/*
|
|
2 |
* Copyright (c) 2007 Borland Software Corporation
|
|
3 |
*
|
|
4 |
* All rights reserved. This program and the accompanying materials
|
|
5 |
* are made available under the terms of the Eclipse Public License v1.0
|
|
6 |
* which accompanies this distribution, and is available at
|
|
7 |
* http://www.eclipse.org/legal/epl-v10.html
|
|
8 |
*
|
|
9 |
* Contributors:
|
|
10 |
* Dmitry Stadnik (Borland) - initial API and implementation
|
|
11 |
*/
|
|
12 |
«IMPORT "http://www.eclipse.org/gmf/2008/GenModel"»
|
|
13 |
|
|
14 |
«DEFINE ActionBarContributor FOR gmfgen::GenEditorView-»
|
|
15 |
«EXPAND xpt::Common::copyright FOR editorGen-»
|
|
16 |
package «packageName»;
|
|
17 |
|
|
18 |
«EXPAND xpt::Common::generatedClassComment»
|
|
19 |
public class «actionBarContributorClassName» extends org.eclipse.gmf.runtime.diagram.ui.parts.DiagramActionBarContributor {
|
|
20 |
|
|
21 |
«EXPAND xpt::Common::generatedMemberComment»
|
|
22 |
protected Class getEditorClass() {
|
|
23 |
return «getQualifiedClassName()».class;
|
|
24 |
}
|
|
25 |
|
|
26 |
«EXPAND xpt::Common::generatedMemberComment»
|
|
27 |
protected String getEditorId() {
|
|
28 |
return «getQualifiedClassName()».ID;
|
|
29 |
}
|
|
30 |
«EXPAND additions-»
|
|
31 |
}
|
|
32 |
«ENDDEFINE»
|
|
33 |
|
|
34 |
«DEFINE additions FOR gmfgen::GenEditorView»«ENDDEFINE»
|