blob: 06ada9d6032a6627ad5601e80f7607794f1625c3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
<extension-point id="org.eclipse.emf.ecp.common.modelelementopener" name="Open Handler for Modelelements" schema="schema/org.eclipse.emf.ecp.common.modelelementopener.exsd"/>
<extension-point id="org.eclipse.emf.ecp.common.dropadapter" name="Model element drop adapter" schema="schema/org.eclipse.emf.ecp.common.dropadapter.exsd"/>
<extension
point="org.eclipse.ui.commands">
<category
id="org.eclipse.emf.ecp.common"
name="org.eclipse.emf.ecp.common">
</category>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.emf.ecp.navigator.viewer?after=org.eclipse.emf.ecp.navigator.createModelElementCommands">
<separator
name="org.eclipse.emf.ecp.common.commands.modifyCommands">
</separator>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.emf.ecp.navigator.viewer?after=additions">
<separator
name="beforeDeleteSeparator"
visible="false">
</separator>
<command
commandId="org.eclipse.emf.ecp.common.deleteModelelement"
icon="icons/delete.gif"
label="Delete"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<iterate
ifEmpty="false"
operator="and">
<and>
<instanceof value="org.eclipse.emf.ecore.EObject" />
<not>
<instanceof value="org.eclipse.emf.emfstore.client.model.ProjectSpace" />
</not>
<not>
<instanceof value="org.eclipse.emf.emfstore.common.model.Project"/>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.emf.ecp.navigator.viewer?before=additions">
<command
commandId="org.eclipse.emf.ecp.common.handlers.open_me_ID"
icon="icons/magnifier.png"
id="SearchElementButon"
style="push"
tooltip="Search for model element">
</command>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="org.eclipse.emf.ecp.common.ECPToolbar">
<command
commandId="org.eclipse.emf.ecp.common.handlers.open_me_ID"
icon="icons/magnifier.png"
style="push"
tooltip="Search model element">
</command>
</toolbar>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.emf.ecp.navigator.viewer?after=org.eclipse.emf.ecp.common.deleteModelelement">
<command
commandId="org.eclipse.emf.emfstore.client.ui.validate"
icon="icons/validation.png"
label="Validate"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<iterate
ifEmpty="false"
operator="and">
<and>
<instanceof
value="org.eclipse.emf.ecore.EObject">
</instanceof>
<not>
<instanceof
value="org.eclipse.emf.emfstore.common.model.Project">
</instanceof>
</not>
<not>
<instanceof
value="org.eclipse.emf.emfstore.client.model.ProjectSpace">
</instanceof>
</not>
</and>
</iterate>
<count
value="1">
</count>
</and>
</visibleWhen>
</command>
</menuContribution>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
id="org.eclipse.emf.ecp.common.commands.modelElement">
<and>
<instanceof
value="org.eclipse.emf.ecore.EObject">
</instanceof>
<not>
<instanceof
value="org.eclipse.emf.emfstore.client.model.ProjectSpace">
</instanceof>
</not>
<not>
<instanceof
value="org.eclipse.emf.emfstore.common.model.Project">
</instanceof>
</not>
</and>
</definition>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.eclipse.emf.ecp.common.preferences.ECPPreferencesPage"
id="org.eclipse.emf.ecp"
name="ECP">
</page>
</extension>
<extension
point="org.eclipse.emf.ecp.common.dropadapter">
<MEDropAdapter
class="org.eclipse.emf.ecp.common.dnd.DefaultMEDropAdapter">
</MEDropAdapter>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="org.eclipse.emf.ecp.common.deleteModelelement"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Ctrl+Delete">
</key>
</extension>
</plugin>