Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 49f34316f1d30b6ebedc85fa4e5fa109314c2e8c (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
/*
 * Copyright (c) 2007 Borland Software Corporation
 * 
 * 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:
 *    Alexander Shatalin (Borland) - initial API and implementation
 */

«IMPORT 'http://www.eclipse.org/gmf/2008/GenModel'»

«DEFINE extensions FOR gmfgen::GenDiagramUpdater-»
   <extension point="org.eclipse.ui.commands" id="update-cmd">
      «EXPAND xpt::Common::xmlGeneratedTag»
      <command
         categoryId="org.eclipse.ui.category.edit"
         defaultHandler="«getUpdateCommandQualifiedClassName()»"
         description="%update.diagram.description"
         id="«updateCommandID»"
         name="%update.diagram.name"/>
   </extension>
   
   <extension point="org.eclipse.ui.bindings" id="update-cmd-binding">
      «EXPAND xpt::Common::xmlGeneratedTag»
      <key 
         commandId="«updateCommandID»"
         contextId="«editorGen.editor.contextID»"
         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         sequence="F5"/>
   </extension>
«ENDDEFINE»

Back to the top