blob: 3314201d04c3005fe88b2b02af4526cb5a03ebb1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.views">
<view
allowMultiple="false"
class="org.eclipse.sphinx.emf.explorer.ExtendedCommonNavigator"
icon="icons/full/obj16/ReqIF.png"
id="org.eclipse.rmf.reqif.views.explorer"
name="ReqIF Explorer"
restorable="true">
</view>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding
viewerId="org.eclipse.sphinx.examples.explorer.views.modelExplorer">
<includes>
<contentExtension
pattern="org.eclipse.rmf.reqif10.ide.ui.navigationContent.reqif">
</contentExtension>
</includes>
</viewerContentBinding>
<viewerActionBinding
viewerId="org.eclipse.sphinx.examples.explorer.views.modelExplorer">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
</actionExtension>
<actionExtension
pattern="org.eclipse.rmf.reqif10.ide.providers.reqIFModelEditActionProvider">
</actionExtension>
<actionExtension
pattern="org.eclipse.rmf.reqif10.ide.ui.editorActions">
</actionExtension>
<actionExtension
pattern="org.eclipse.sphinx.emf.explorer.basicModelUndoRedoActions">
</actionExtension>
<actionExtension
pattern="org.eclipse.sphinx.emf.explorer.resourceMgmtOverrideActionProvider">
</actionExtension>
</includes>
</viewerActionBinding>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent
contentProvider="org.eclipse.rmf.reqif10.ide.providers.ReqIF10ExplorerContentProvider"
id="org.eclipse.rmf.reqif10.ide.ui.navigationContent.reqif"
labelProvider="org.eclipse.rmf.reqif10.ide.providers.ReqIFExplorerLabelProvider"
name="ReqIF Content" >
<triggerPoints>
<and>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
<test
property="org.eclipse.sphinx.emf.isInScope"
value="true">
</test>
<test
property="org.eclipse.sphinx.emf.metaModelIdMatches"
value="org\.eclipse\.rmf\.reqif10">
</test>
</and>
</triggerPoints>
<possibleChildren>
<or>
<and>
<instanceof
value="org.eclipse.emf.edit.provider.IWrapperItemProvider">
</instanceof>
<test
property="org.eclipse.sphinx.emf.ownerClassNameMatches"
value="org\.eclipse\.rmf\..*">
</test>
</and>
<and>
<instanceof
value="org.eclipse.emf.ecore.EObject">
</instanceof>
<test
property="org.eclipse.sphinx.emf.classNameMatches"
value="org\.eclipse\.rmf\..*">
</test>
</and>
<and>
<instanceof
value="org.eclipse.sphinx.emf.edit.TransientItemProvider">
</instanceof>
<test
property="org.eclipse.sphinx.emf.parentClassNameMatches"
value="org\.eclipse\.rmf\..*">
</test>
</and>
</or>
</possibleChildren>
<dropAssistant
class="org.eclipse.sphinx.emf.explorer.BasicDropAdapterAssistant"
id="org.eclipse.rmf.reqif10.ide.ui.navigatorContent.dropAssistant.reqif">
<possibleDropTargets>
<instanceof
value="org.eclipse.emf.ecore.EObject">
</instanceof></possibleDropTargets>
</dropAssistant>
<actionProvider
class="org.eclipse.rmf.reqif10.ide.providers.ReqIFModelEditActionProvider"
id="org.eclipse.rmf.reqif10.ide.providers.reqIFModelEditActionProvider"
overrides="org.eclipse.sphinx.emf.explorer.basicModelEditActions">
<enablement>
<or>
<instanceof
value="org.eclipse.emf.ecore.EObject" />
<instanceof
value="org.eclipse.emf.edit.provider.IWrapperItemProvider" />
<instanceof
value="org.eclipse.sphinx.emf.edit.TransientItemProvider" />
</or>
</enablement>
</actionProvider>
</navigatorContent>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="org.eclipse.rmf.reqif10.ide.ui.editors.reqif"
labelProvider="org.eclipse.sphinx.examples.common.ui.providers.AppearanceExampleTabbedPropertySheetTitleProvider">
<propertyCategory
category="advanced"></propertyCategory>
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="org.eclipse.rmf.reqif10.ide.editor.ReqIFSpecificationEditor"
contributorClass="org.eclipse.rmf.reqif10.ide.editor.Reqif10ActionBarContributor"
default="false"
extensions="Specification, SpecHierarchy"
matchingStrategy="org.eclipse.rmf.reqif10.ide.editor.ReqIFSpecificationEditorMatchingStrategy"
id="org.eclipse.rmf.reqif10.ide.ui.editors.reqif"
name="ReqIF Example Editor">
<!--
<contentTypeBinding
contentTypeId="org.eclipse.rmf.reqif10.reqif10XMLFile">
</contentTypeBinding>
-->
</editor>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs
contributorId="org.eclipse.rmf.reqif10.ide.ui.editors.reqif">
<propertyTab
category="advanced"
id="org.eclipse.rmf.reqif10.ide.ui.propertyTabs.advanced"
label="Advanced">
</propertyTab>
</propertyTabs>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertySections">
<propertySections
contributorId="org.eclipse.rmf.reqif10.ide.ui.editors.reqif">
<propertySection
class="org.eclipse.sphinx.emf.ui.properties.BasicTransactionalAdvancedPropertySection"
id="org.eclipse.rmf.reqif10.ide.ui.propertySections.advanced"
tab="org.eclipse.rmf.reqif10.ide.ui.propertyTabs.advanced">
<input
type="java.lang.Object">
</input>
</propertySection>
</propertySections>
</extension>
<extension
point="org.eclipse.ui.editorActions">
<editorContribution
id="org.eclipse.rmf.reqif10.presentation.Reqif10EditorIDContribution"
targetID="org.eclipse.rmf.reqif10.ide.ui.editors.reqif">
<action
class="org.eclipse.rmf.reqif10.pror.editor.actions.PresentationConfigurationActionDelegate"
icon="icons/full/obj16/ReqIFToolExtension.png"
id="org.eclipse.rmf.reqif10.pror.editor.ProRConfiguration"
label="%_Action_Presentation_Config"
menubarPath="org.eclipse.rmf.reqif10.ide.editor.ReqIFSpecificationEditor.menue/additions"
style="push"
toolbarPath="additions">
</action>
<action
class="org.eclipse.rmf.reqif10.pror.editor.actions.GeneralConfigurationActionDelegate"
icon="icons/full/obj16/ProRGeneralConfiguration.png"
id="org.eclipse.rmf.reqif10.pror.editor.GeneralConfiguration"
label="%_Action_General_Config"
menubarPath="org.eclipse.rmf.reqif10.ide.editor.ReqIFSpecificationEditor.menue/additions"
style="push"
toolbarPath="additions">
</action>
</editorContribution>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
<toolbar
id="org.eclipse.rmf.reqif10.ide.ui.toolbar1">
<command
commandId="org.eclipse.rmf.reqif10.ide.ui.commands.shiftLevelDown"
icon="icons/full/obj16/ShiftDown.png"
style="push">
<visibleWhen>
<reference
definitionId="org.eclipse.rmf.reqif10.ide.editors.reqif.isActive">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.rmf.reqif10.ide.ui.commands.shiftLevelUp"
icon="icons/full/obj16/ShiftUp.png"
style="push">
<visibleWhen>
<reference
definitionId="org.eclipse.rmf.reqif10.ide.editors.reqif.isActive">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.rmf.reqif10.ide.ui.commands.toggleSpecRelations"
icon="icons/full/obj16/SpecRelation.png"
style="toggle">
<visibleWhen>
<reference
definitionId="org.eclipse.rmf.reqif10.ide.editors.reqif.isActive">
</reference>
</visibleWhen>
</command>
</toolbar>
</menuContribution>
</extension>
<extension
id="org.eclipse.rmf.reqif10.ide.editor.commands"
point="org.eclipse.ui.commands">
<command
defaultHandler="org.eclipse.rmf.reqif10.ide.commands.toolbar.handler.ShiftLevelDownHandler"
id="org.eclipse.rmf.reqif10.ide.ui.commands.shiftLevelDown"
name="Shift Level Down">
</command>
<command
defaultHandler="org.eclipse.rmf.reqif10.ide.commands.toolbar.handler.ShiftLevelUpHandler"
id="org.eclipse.rmf.reqif10.ide.ui.commands.shiftLevelUp"
name="Shift Level Up">
</command>
<command
defaultHandler="org.eclipse.rmf.reqif10.ide.commands.toolbar.handler.ToggleSpecRelationsHandler"
id="org.eclipse.rmf.reqif10.ide.ui.commands.toggleSpecRelations"
name="Toggle SpecRelations">
<state class="org.eclipse.ui.handlers.RegistryToggleState:false" id="org.eclipse.ui.commands.toggleState">
</state>
</command>
</extension>
<extension point = "org.eclipse.core.expressions.definitions">
<definition id="org.eclipse.rmf.reqif10.ide.editors.reqif.isActive">
<with variable="activeEditorId">
<equals value="org.eclipse.rmf.reqif10.ide.ui.editors.reqif"/>
</with>
</definition>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="org.eclipse.rmf.reqif.views.explorer">
</viewer>
<viewerActionBinding
viewerId="org.eclipse.rmf.reqif.views.explorer">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
</actionExtension>
<actionExtension
pattern="org.eclipse.sphinx.emf.explorer.linkHelper">
</actionExtension>
</includes>
</viewerActionBinding>
<viewerContentBinding
viewerId="org.eclipse.rmf.reqif.views.explorer">
<includes>
<contentExtension
pattern="org.eclipse.ui.navigator.resourceContent">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.workingSets">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.filters.*">
</contentExtension>
<contentExtension
pattern="org.eclipse.jdt.java.ui.javaContent">
</contentExtension>
<contentExtension
pattern="org.eclipse.jdt.java.ui.filters.*">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.linkHelper">
</contentExtension>
<contentExtension
pattern="org.eclipse.sphinx.emf.explorer.linkHelper">
</contentExtension>
<contentExtension
pattern="org.eclipse.rmf.reqif10.ide.ui.navigationContent.reqif">
</contentExtension>
<contentExtension
pattern="org.eatop.eel.workspace.ui.filters.*">
</contentExtension>
</includes>
</viewerContentBinding>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<actionProvider
class="org.eclipse.rmf.reqif10.ide.providers.ReqIFSpecificationEditorActionProvider"
id="org.eclipse.rmf.reqif10.ide.ui.editorActions">
<enablement>
<or>
<instanceof
value="org.eclipse.emf.ecore.EObject">
</instanceof>
<instanceof
value="org.eclipse.emf.edit.provider.IWrapperItemProvider">
</instanceof>
</or>
</enablement>
</actionProvider>
</extension>
</plugin>