carbidecpp22devenv/plugins/org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/codegen.lite.templates/xpt/diagram/preferences/Common.xpt
equal
deleted
inserted
replaced
|
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 * bblajer (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 «IMPORT "http://www.eclipse.org/emf/2002/GenModel"» |
|
16 «EXTENSION xpt::GenModelUtils» |
|
17 |
|
18 «DEFINE doGetPreferenencePage FOR gmfgen::GenDiagram-» |
|
19 «EXPAND xpt::Common::generatedMemberComment» |
|
20 protected org.eclipse.jface.preference.IPreferenceStore doGetPreferenceStore() { |
|
21 return «editorGen.plugin.getActivatorQualifiedClassName()».getInstance().getPreferenceStore(); |
|
22 } |
|
23 «ENDDEFINE» |
|
24 |