carbidecpp22devenv/plugins/org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/codegen.lite.templates/aspects/xpt/application/Perspective.xpt
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 * Boris Blajer (Borland) - initial API and implementation |
|
11 */ |
|
12 |
|
13 «IMPORT "http://www.eclipse.org/gmf/2008/GenModel"» |
|
14 «IMPORT "http://www.eclipse.org/emf/2002/Ecore"» |
|
15 |
|
16 «AROUND layoutAdditions FOR gmfgen::GenApplication-» |
|
17 «IF !editorGen.editor.eclipseEditor» |
|
18 org.eclipse.ui.IFolderLayout top = layout.createFolder("top", org.eclipse.ui.IPageLayout.TOP, (float)0.5, layout.getEditorArea()); «EXPAND xpt::Common::nonNLS» |
|
19 top.addView(«editorGen.editor.getQualifiedClassName()».ID); |
|
20 «ENDIF» |
|
21 «ENDAROUND» |