<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
   <extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
   <extension-point id="erlDndAdapter" name="Erlide Drag and Drop Adapter" schema="schema/erlDndAdapter.exsd"/>

     <extension
         point="org.eclipse.ui.editors">
      <editor
            class="org.erlide.ui.editors.erl.ErlangEditor"
            contributorClass="org.erlide.ui.editors.erl.ErlEditorActionBarContributor"
            default="true"
            extensions="erl,hrl"
            icon="icons/full/obj16/erlang_srcFile.png"
            id="org.erlide.ui.editors.erl.ErlangEditor"
            name="%ErlangEditor.label"
            symbolicFontName="org.eclipse.jface.textfont">
         <contentTypeBinding contentTypeId="org.erlide.core.content.erlang"/>
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.editorActions">
      <editorContribution
            id="org.erlide.ui.ErlangEditor.BreakpointRulerActions"
            targetID="org.erlide.ui.editors.erl.ErlangEditor">
         <action
               actionID="RulerDoubleClick"
               class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
               id="org.eclipse.jdt.debug.ui.actions.ManageBreakpointRulerAction"
               label="%AddBreakpoint.label">
         </action>
         <action
               class="org.erlide.debug.ui.actions.ErlangBreakpointPropertiesRulerActionDelegate"
               helpContextId="breakpoint_properties_action_context"
               id="org.erlide.debug.ui.actions.ErlangBreakpointPropertiesRulerActionDelegate"
               label="%ErlangBreakpointProperties.label"
               style="push">
         </action>
      </editorContribution>
   </extension>
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            name="Erlang"
            id="org.erlide.ui.wizards.newWizards">
      </category>
      <wizard
            category="org.erlide.ui.wizards.newWizards"
            class="org.erlide.ui.wizards.NewErlangProject"
            finalPerspective="org.erlide.ui.perspectives.ErlangPerspective"
            hasPages="true"
            icon="icons/full/obj16/newproject.png"
            id="org.erlide.ui.wizards.newproject"
            name="Erlang Project"
            project="true">
         <description>
            Create an Erlang project.
         </description>
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            objectClass="org.eclipse.core.resources.IResource"
            adaptable="true"
            id="org.erlide.ui.popupMenu">
         <filter
               name="projectNature"
               value="erlidenature">
         </filter>
      </objectContribution>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            class="org.erlide.ui.prefs.ErlangPreferencePage"
            id="org.erlide.ui.preferences"
            name="Erlang"/>
      <page
            category="org.erlide.ui.preferences"
            class="org.erlide.ui.prefs.ReportPreferencePage"
            id="org.erlide.ui.reporting"
            name="Report problems">
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="Editor"
            category="org.erlide.ui.preferences"
            class="org.erlide.ui.prefs.plugin.EditorPreferencePage"
            id="org.erlide.ui.preferences.editor">
      </page>
      <page
            category="org.erlide.ui.preferences.editor"
            class="org.erlide.ui.prefs.plugin.ColoringPreferencePage"
            id="org.erlide.ui.preferences.editor.coloring"
            name="Syntax coloring">
      </page>
      <page
            name="%editorFoldingPage"
            category="org.erlide.ui.preferences.editor"
            class="org.erlide.ui.editors.erl.folding.FoldingPreferencePage"
            id="org.erlide.ui.preferences.editor.folding">
      </page>
      <page
            category="org.erlide.ui.preferences.editor"
            class="org.erlide.ui.prefs.plugin.IndentationPreferencePage"
            id="org.erlide.ui.preferences.indentation"
            name="Indentation">
      </page>
      <page
            category="org.erlide.ui.preferences.editor"
            class="org.erlide.ui.editors.erl.autoedit.SmartTypingPreferencePage"
            id="org.erlide.ui.preferences.smartTyping"
            name="%editorSmartTypingPage">
      </page>
      <page
            category="org.erlide.ui.preferences.editor"
            class="org.erlide.ui.templates.ErlTemplatePreferencePage"
            id="org.erlide.ui.preferences.templates"
            name="%editorTemplatePage">
      </page>
   </extension>
     <extension
         point="org.eclipse.ui.preferencePages">
       <page
             category="org.erlide.ui.preferences"
             class="org.erlide.ui.prefs.RuntimePreferencePage"
             id="org.erlide.ui.preferences.runtimes"
             name="Installed runtimes">
       </page>
       <page
             category="org.erlide.ui.preferences"
             class="org.erlide.ui.prefs.CompilerPreferencePage"
             id="org.erlide.ui.preferences.compiler"
             name="Compiler">
       </page>
       <page
             category="org.erlide.ui.preferences"
             class="org.erlide.ui.prefs.DialyzerPreferencePage"
             id="org.erlide.ui.preferences.dialyzer"
             name="Dialyzer">
       </page>
       <page
             category="org.erlide.ui.preferences"
             class="org.erlide.ui.prefs.plugin.NavigationPreferencePage"
             id="org.erlide.ui.preferences.navigation"
             name="Navigation">
       </page>
  </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            allowMultiple="false"
            category="org.erlide.views"
            class="org.erlide.ui.views.processlist.ProcessListView"
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.views.processlist.ProcessListView"
            name="Process list view">
      </view>
      <view
            category="org.erlide.views"
            class="org.erlide.ui.views.eval.LiveExpressionsView"
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.views.eval.LiveExpressionsView"
            name="Live Expressions"/>
      <view
            category="org.eclipse.debug.ui"
            class="org.erlide.ui.views.TraceLogView"
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.views.TraceLogView"
            name="Trace Log View"/>
      <view
            allowMultiple="false"
            category="org.erlide.views"
            class="org.erlide.ui.views.EdocView"
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.views.EdocView"
            name="Edoc"/>
      <view
            allowMultiple="false"
            category="org.erlide.views"
            class="org.eclipse.ui.navigator.CommonNavigator"
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.views.navigator.view"
            name="Erlang Navigator">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            class="org.erlide.ui.perspectives.ErlangPerspective"
            icon="icons/full/obj16/perspective.gif"
            id="org.erlide.ui.perspectives.ErlangPerspective"
            name="Erlang">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="org.erlide.ui.perspectives.ErlangPerspective">
         <perspectiveShortcut id="org.eclipse.ui.resourcePerspective"/>
         <perspectiveShortcut id="org.erlide.ui.perspectives.ErlangPerspective"/>
         <actionSet
               id="org.eclipse.debug.ui.debugActionSet">
         </actionSet>
         <actionSet
               id="org.eclipse.debug.ui.launchActionSet">
         </actionSet>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer class="org.erlide.ui.prefs.PreferencesInitializer"/>
   </extension>
   <extension
         point="org.eclipse.ui.propertyPages">
      <page
            class="org.erlide.ui.properties.OldErlProjectPropertyPage"
            id="org.erlide.ui.properties.erlangProjectPropertyPage"
            name="Erlang">
		<enabledWhen>
 			<adapt type="org.eclipse.core.resources.IProject">
		          <test property="org.eclipse.core.resources.projectNature" value="org.erlide.core.erlnature"/>
		     </adapt>
        </enabledWhen>
      </page>
      <page
            class="org.erlide.ui.prefs.CompilerPreferencePage"
            id="org.erlide.ui.properties.compilerPreferencePage"
            name="Erlang compiler">
		<enabledWhen>
 			<adapt type="org.eclipse.core.resources.IProject">
		          <test property="org.eclipse.core.resources.projectNature" value="org.erlide.core.erlnature"/>
		     </adapt>
        </enabledWhen>
      </page>
      <page
            class="org.erlide.ui.prefs.DialyzerPreferencePage"
            id="org.erlide.ui.properties.dialyzerPreferencePage"
            name="Erlang dialyzer">
         <enabledWhen>
            <adapt
                  type="org.eclipse.core.resources.IProject">
               <test
                     property="org.eclipse.core.resources.projectNature"
                     value="org.erlide.core.erlnature">
               </test>
            </adapt>
         </enabledWhen>
      </page>
      <page
            class="org.erlide.ui.properties.EdocConfigurationPropertyPage"
            id="org.eclipse.jdt.ui.propertyPages.EdocConfigurationPropertyPage"
            name="Edoc">
         <enabledWhen>
            <adapt
                  type="org.eclipse.core.resources.IProject">
               <test
                     property="org.eclipse.core.resources.projectNature"
                     value="org.erlide.core.erlnature">
               </test>
            </adapt>
         </enabledWhen>
      </page>
      <page
            class="org.erlide.ui.properties.ErlProjectPropertyPage"
            id="org.erlide.ui.properties.myErlangProjectPropertyPage"
            name="new Erlang (work in progress)">
		<enabledWhen>
 			<adapt type="org.eclipse.core.resources.IProject">
		          <test property="org.eclipse.core.resources.projectNature" value="org.erlide.core.erlnature"/>
		     </adapt>
        </enabledWhen>
      </page>
      <page
            class="org.erlide.debug.ui.properties.ErlangLineBreakpointPropertyPage"
            id="org.erlide.debug.ui.propertypages.ErlLineBreakpoints"
            name="%breakpointPropertiesPage.label">
         <enabledWhen>
            <or>
               <instanceof
                     value="org.erlide.runtime.debug.IErlangBreakpoint">
               </instanceof>
               <adapt
                     type="org.erlide.runtime.debug.IErlangBreakpoint">
               </adapt>
            </or>
         </enabledWhen>
      </page>
      <page
            class="org.erlide.ui.properties.ErlModulePropertyPage"
            id="org.erlide.ui.properties.moduleInfo"
            name="Erlang module info">
         <enabledWhen>
           <and>
                  <instanceof
                        value="org.eclipse.core.resources.IResource">
                  </instanceof>
                  <test
                        forcePluginActivation="true"
                        property="org.eclipse.core.resources.extension"
                        value="erl">
                  </test>
               </and>
          </enabledWhen>
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            adaptable="true"
            objectClass="org.eclipse.core.resources.IProject"
            nameFilter="*"
            id="org.erlide.ui.actions.togglenature">
         <action
               class="org.erlide.ui.actions.ToggleNatureAction"
               enablesFor="1"
               id="org.erlide.ui.addRemoveNatureAction"
               label="Toggle Erlang nature"
               menubarPath="additions">
         </action>
      </objectContribution>
      <objectContribution
            adaptable="false"
            id="org.erlide.runtime.debug.ErlangBreakpointActions"
            objectClass="org.erlide.runtime.debug.ErlangLineBreakpoint">
         <action
               class="org.erlide.debug.ui.actions.ErlangBreakpointPropertiesAction"
               definitionId="org.erlide.debug.ui.breakpoint.properties"
               enablesFor="1"
               helpContextId="breakpoint_properties_action_context"
               id="org.eclipse.jdt.debug.ui.actions.ErlangBreakpointProperties"
               label="%ErlangBreakpointProperties.label"
               menubarPath="additions">
         </action>
      </objectContribution>
      <viewerContribution
            id="org.erlide.debug.ui.ErlangFileRulerPopupActions"
            targetID="org.erlide.ui.editors.erl.ErlangEditor.RulerContext">
         <action
               class="org.erlide.debug.ui.actions.ErlangBreakpointPropertiesRulerActionDelegate"
               helpContextId="breakpoint_properties_action_context"
               id="org.erlide.debug.ui.actions.ErlangBreakpointPropertiesRulerActionDelegate"
               label="%ErlangBreakpointProperties.label"
               menubarPath="group.properties">
         </action>
         <action
               class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
               helpContextId="enable_disable_breakpoint_action_context"
               id="org.erlide.debug.ui.actions.EnableDisableBreakpointRulerActionDelegate"
               label="%EnableBreakpoint.label"
               menubarPath="debug">
         </action>
         <action
               class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
               helpContextId="manage_breakpoint_action_context"
               icon="icons/full/obj16/brkp_obj.gif"
               id="org.erlide.debug.ui.actions.BreakpointRulerActionDelegate"
               label="%AddBreakpoint.label"
               menubarPath="debug">
         </action>
      </viewerContribution>
      <objectContribution
            adaptable="false"
            id="org.erlide.ui.actions.dialyze"
            nameFilter="*"
            objectClass="org.eclipse.core.resources.IProject">
         <action
               class="org.erlide.ui.actions.DialyzeAction"
               id="org.erlide.ui.actions.dialyze"
               label="Dialyze">
         </action>
      </objectContribution>
      <objectContribution
            adaptable="false"
            id="org.erlide.ui.actions.dialyze2"
            objectClass="org.eclipse.core.resources.IFolder">
         <action
               class="org.erlide.ui.actions.DialyzeAction"
               id="org.erlide.ui.actions.dialyze"
               label="Dialyze">
         </action>
      </objectContribution>
      <objectContribution
            adaptable="false"
            id="org.erlide.ui.actions.dialyze3"
            objectClass="org.eclipse.core.resources.IFile">
         <action
               class="org.erlide.ui.actions.DialyzeAction"
               id="org.erlide.ui.actions.dialyze"
               label="Dialyze">
         </action>
      </objectContribution>
   </extension>
  <extension
         point="org.eclipse.ui.newWizards">
    <wizard
          category="org.erlide.ui.wizards.newWizards"
          class="org.erlide.ui.wizards.ErlangFileWizard"
          icon="icons/full/obj16/erlang_NewModule.png"
          id="org.erlide.ui.wizards.ErlangSourceFile"
          name="Module">
      </wizard>
     </extension>
 <extension
       point="org.eclipse.ui.contexts">
    <context
          id="org.erlide.ui.erlangEditorScope"
          name="Erlang Editor"
          parentId="org.eclipse.ui.textEditorScope"/>
    <context
          id="org.erlide.ui.erlangOutlineAndNavigatorScope"
          name="Erlang Outline and Navigator"
          parentId="org.eclipse.ui.contexts.window">
    </context>
    <context
          description="Debugging Erlang"
          id="org.erlide.debug.ui.debugging"
          name="Debugging Erlang"
          parentId="org.eclipse.debug.ui.debugging">
    </context>
    <context
          description="Replaying Erlang Trace"
          id="org.erlide.debug.ui.debugging.trace"
          name="Debugging Trace"
          parentId="org.eclipse.debug.ui.debugging">
    </context>
 </extension>    
 <extension
       point="org.erlide.ui.foldingStructureProviders">
    <provider
          class="org.erlide.ui.internal.folding.DefaultErlangFoldingStructureProvider"
          id="org.erlide.ui.editors.defaultFoldingProvider"
          name="%defaultFoldingStructureProviderName"
          preferencesClass="org.erlide.ui.internal.folding.DefaultErlangFoldingPreferenceBlock"/>
 </extension>
 <extension
       point="org.eclipse.debug.ui.launchConfigurationTypeImages">
    <launchConfigurationTypeImage
          configTypeID="org.erlide.core.launch.erlangProcess"
          icon="icons/erl/erlang-notext016.gif"
          id="org.erlide.ui.launch.launchConfigurationTypeImage.erlangNode"/>
 </extension>
 <extension
       point="org.eclipse.ui.commands">
      <command
            name="Show tooltip content"
            description="Show tooltip content"
            categoryId="org.eclipse.ui.category.edit"
            id="org.erlide.ui.actions.showEDoc">
      </command>
      <command
            categoryId="org.eclipse.ui.category.navigate"
            id="org.erlide.ui.actions.open.editor"
            name="Open Editor"/>
      <command
            id="org.erlide.ui.actions.console.input"
            name="Erlang console 1"/>
      <command
            categoryId="org.erlide.ui.erlideCategory"
            description="Indent code"
            id="org.erlide.ui.actions.indent"
            name="Indent code"/>
      <command
            id="org.erlide.ui.actions.compile"
            name="Compile file"/>
      <command
            id="org.erlide.ui.actions.show.outline"
            name="Show outline"/>
      <command
            categoryId="org.erlide.ui.erlideCategory"
            description="Toggle Comment"
            id="org.erlide.ui.actions.togglecomment"
            name="Toggle Comment"/>
      <command
            id="org.erlide.ui.actions.test"
            name="Test">
      </command>
      <!-- <command
            name="Toggle debug tracing"
            description="Toggle debug tracing"
            categoryId="org.eclipse.debug.ui.category.run"
            id="org.erlide.debug.ui.commands.ToggleDebugTracing">
      </command> -->
      <command
            categoryId="org.erlide.ui.erlideCategory"
            description="Clear Cache"
            id="org.erlide.ui.actions.clearCache"
            name="Clear Cache">
      </command>
      <command
            categoryId="org.erlide.ui.erlideCategory"
            description="Call hierarchy"
            id="org.erlide.ui.actions.callhierarchy"
            name="Call hierarchy">
      </command>
      <category
            id="org.erlide.ui.erlideCategory"
            name="ErlIDE">
      </category>
      <command
            categoryId="org.eclipse.ui.category.navigate"
            defaultHandler="org.erlide.ui.actions.OpenModuleHandler"
            id="org.erlide.ui.open.module"
            name="Open Module">
		    <commandParameter
               id="filePath"
               name="module name...."
               typeId="org.eclipse.ui.ide.resourcePath"/>
       </command>
      <command
            categoryId="org.erlide.ui.erlideCategory"
            defaultHandler="org.erlide.ui.actions.ReportProblemHandler"
            id="org.erlide.ui.command.reportProblem"
            name="Report problems">
      </command>
      <command
            description="Send to console"
            id="org.erlide.ui.actions.sendToConsole"
            name="Send to console">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="Definitions in Workspace"
            id="org.erlide.ui.search.implementors.in.workspace"
            name="Definitions in Workspace">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="Definitions in Project"
            id="org.erlide.ui.search.implementors.in.project"
            name="Definitions in Project">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="Definitions in Working Sets"
            id="org.erlide.ui.search.implementors.in.workset"
            name="Definitions in Working Sets...">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="References in Workspace"
            id="org.erlide.ui.search.references.in.workspace"
            name="References in Workspace">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="References in Project"
            id="org.erlide.ui.search.references.in.project"
            name="References in Project">
      </command>
      <command
            categoryId="org.eclipse.search.ui.category.search"
            description="References in Working Sets"
            id="org.erlide.ui.search.references.in.workset"
            name="References in Working Sets...">
       </command>
       <command
            id="org.erlide.ui.commands.folding.expandCollapseAll"
            name="Expand/Collapse All">
         <commandParameter
               id="org.erlide.ui.commands.expandCollapseParameter"
               name="Expand/Collapse"
               optional="true">
         </commandParameter>
         <commandParameter
               id="org.erlide.ui.commands.foldWhatParameter"
               name="What to fold"
               optional="true">
         </commandParameter>
      </command>

 </extension>
 <extension
       point="org.eclipse.ui.menus">
    <menuContribution
          locationURI="popup:#AbstractTextEditorRulerContext">
       <separator
             name="org.erlide.ui.separator1"
             visible="true">
       </separator>
       <command
             commandId="org.erlide.ui.commands.folding.expandCollapseAll"
             label="Collapse All Comments"
             style="push">
          <parameter
                name="org.erlide.ui.commands.expandCollapseParameter"
                value="collapse">
          </parameter>
          <parameter
                name="org.erlide.ui.commands.foldWhatParameter"
                value="comments">
          </parameter>
       </command>
       <command
             commandId="org.erlide.ui.commands.folding.expandCollapseAll"
             label="Collapse All Functions"
             style="push">
          <parameter
                name="org.erlide.ui.commands.expandCollapseParameter"
                value="collapse">
          </parameter>
          <parameter
                name="org.erlide.ui.commands.foldWhatParameter"
                value="functions">
          </parameter>
       </command>
       <command
             commandId="org.erlide.ui.commands.folding.expandCollapseAll"
             label="Expand All"
             style="push">
          <parameter
                name="org.erlide.ui.commands.expandCollapseParameter"
                value="expand">
          </parameter>
          <parameter
                name="org.erlide.ui.commands.foldWhatParameter"
                value="all">
          </parameter>
       </command>
    </menuContribution>
 </extension>
 <extension
       point="org.eclipse.ui.bindings">
       <!--  win32:  M1=CTRL,    M2=SHIFT, M3=ALT, M4=-
            carbon: M1=COMMAND, M2=SHIFT, M3=ALT, M4=CTRL -->

      <key
            sequence="M2+F2"
            contextId="org.erlide.ui.erlangEditorScope"
            commandId="org.erlide.ui.actions.showEDoc"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
            commandId="org.erlide.ui.actions.open.editor"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="F3"/>
      <key
            commandId="org.erlide.ui.actions.compile"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="F9"/>
      <key
            commandId="org.erlide.ui.actions.indent"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+I"/>
      <key
            commandId="org.erlide.ui.actions.sendToConsole"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+Enter"/>
      <key
            commandId="org.erlide.ui.actions.show.outline"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+O"/>
      <key
            commandId="org.erlide.ui.actions.togglecomment"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+C"/>
      <key
            commandId="org.erlide.ui.actions.togglecomment"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+7"/>
      <key
            commandId="org.erlide.ui.actions.togglecomment"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+/"/>
      <key
      		platform="gtk"
            commandId="org.erlide.ui.actions.togglecomment"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="ESC M1+C"/>
      <key
            commandId="org.erlide.ui.search.references.in.workspace"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+G">
      </key>
      <key
            commandId="org.erlide.ui.search.references.in.workspace"
            contextId="org.erlide.ui.erlangOutlineAndNavigatorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+G">
      </key>
      <key
            commandId="org.erlide.ui.search.implementors.in.workspace"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+G">
      </key>
      <key
            commandId="org.erlide.ui.search.implementors.in.workspace"
            contextId="org.erlide.ui.erlangOutlineAndNavigatorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+G">
      </key>
      <key
            commandId="org.erlide.ui.actions.clearCache"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M2+M3+K">
      </key>
      <key
            commandId="org.erlide.ui.actions.callhierarchy"
            contextId="org.erlide.ui.erlangEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+M3+H">
      </key>
      <key
            commandId="org.erlide.ui.open.module"
            sequence="M1+M2+M3+M"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
      <key
            commandId="org.erlide.ui.open.module"
            sequence="M1+M2+M"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />

 </extension>
 <extension
       point="org.eclipse.ui.handlers">
    <handler
          class="org.erlide.ui.editors.erl.handlers.ExpandCollapseAllHandler"
          commandId="org.erlide.ui.commands.folding.expandCollapseAll">
    </handler>
 </extension>
 <extension
       point="org.eclipse.ui.actionSets">
    <actionSet
          id="org.erlide.ui.actions.openActionSet"
          label="Open action set"
          visible="false">
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.actions.open.editor"
             id="org.erlide.ui.actions.open"
             label="Open"
             menubarPath="navigate/open.ext"
             retarget="true"
             tooltip="Open"/>
             <action
               label="Open Module"
               helpContextId="org.erlide.ui.openModule"
               class="org.erlide.ui.actions.OpenModuleHandler"
               menubarPath="navigate/open.ext2"
               id="org.erlide.action.openModule"
               definitionId="org.erlide.ui.open.module">
         </action>
    </actionSet>
    <actionSet
          description="description"
          id="org.erlide.ui.searchActionSet"
          label="Erlang Search"
          visible="false">
       <menu
             id="org.eclipse.search.menu"
             label="Se&amp;arch"
             path="navigate">
          <groupMarker
                name="internalDialogGroup">
          </groupMarker>
          <groupMarker
                name="dialogGroup">
          </groupMarker>
          <separator
                name="fileSearchContextMenuActionsGroup">
          </separator>
          <separator
                name="contextMenuActionsGroup">
          </separator>
          <separator
                name="occurencesActionsGroup">
          </separator>
          <separator
                name="extraSearchGroup">
          </separator>
       </menu>
       <menu
             id="referencesSubMenu"
             label="R&amp;eferences"
             path="org.eclipse.search.menu/contextMenuActionsGroup">
          <separator
                name="group1">
          </separator>
       </menu>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.references.in.workspace"
             id="org.erlide.ui.search.actions.ReferencesInWorkspace"
             label="&amp;Workspace"
             menubarPath="org.eclipse.search.menu/referencesSubMenu/group1"
             retarget="true">
       </action>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.references.in.project"
             id="org.erlide.ui.actions.ReferencesInProject"
             label="&amp;Project"
             menubarPath="org.eclipse.search.menu/referencesSubMenu/group1"
             retarget="true">
       </action>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.references.in.workset"
             id="org.erlide.ui.search.actions.ReferencesInWorkingSet"
             label="Working &amp;Set..."
             menubarPath="org.eclipse.search.menu/referencesSubMenu/group2"
             retarget="true"
             style="push">
       </action>
       <menu
             id="implementorsSubMenu"
             label="De&amp;finitions"
             path="org.eclipse.search.menu/contextMenuActionsGroup">
          <separator
                name="group2">
          </separator>
       </menu>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.implementors.in.workspace"
             id="org.erlide.ui.search.actions.ImplementorsInWorkspace"
             label="&amp;Workspace"
             menubarPath="org.eclipse.search.menu/implementorsSubMenu/group2"
             retarget="true">
       </action>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.implementors.in.project"
             id="org.erlide.ui.actions.ImplementorsInProject"
             label="&amp;Project"
             menubarPath="org.eclipse.search.menu/implementorsSubMenu/group2"
             retarget="true">
       </action>
       <action
             allowLabelUpdate="true"
             definitionId="org.erlide.ui.search.implementors.in.workset"
             id="org.erlide.ui.search.actions.ImplementorsInWorkingSet"
             label="Working &amp;Set..."
             menubarPath="org.eclipse.search.menu/implementorsSubMenu/group2"
             retarget="true"
             style="push">
       </action>
    </actionSet>
    <actionSet
          id="org.erlide.debug.ui.ErlangDebugActionSet"
          label="%ErlangDebugActionSet.label"
          visible="true">
       <menu
             id="org.eclipse.ui.run"
             label="%RunMenu.label"
             path="additions">
          <separator
                name="erlideGroup">
          </separator>
       </menu>
<!--       <action
             class="org.erlide.debug.ui.actions.ToggleDebugTracingAction"
             definitionId="org.erlide.debug.ui.commands.ToggleDebugTracing"
             helpContextId="toggle_debug_tracing_action_context"
             icon="icons/full/etool16/debuggerTrace.gif"
             id="org.erlide.debug.ui.actions.ToggleDebugTracing"
             label="%toggleDebugTracing.label"
             menubarPath="org.eclipse.ui.run/erlideGroup">
       </action>
       <action
             class="org.erlide.debug.ui.actions.ErlangTracingAction"
             definitionId="org.erlide.debug.ui.commands.ToggleDebugTracing"
             helpContextId="erlang_tracing_action_context"
             icon="icons/full/etool16/debuggerTrace.gif"
             id="org.erlide.debug.ui.actions.ErlangTracing"
             label="%erlangTracing.label"
             menubarPath="org.eclipse.ui.run/erlideGroup">
       </action>
-->
    </actionSet>
<!--
    <actionSet
          id="org.erlide.ui.actions.console"
          label="Erlang console"
          visible="true">
       <action
             class="org.erlide.ui.actions.ConsoleInputAction"
             definitionId="org.erlide.ui.actions.console.input"
             icon="icons/full/obj16/console.gif"
             id="org.erlide.ui.actions.console.input"
             label="Console input"
             retarget="false"
             style="push"
             toolbarPath="erlang/console"/>
    </actionSet>
-->
 </extension>
 <extension
       point="org.eclipse.ui.actionSetPartAssociations">
    <actionSetPartAssociation targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
       <part id="org.erlide.ui.editors.erl.ErlangEditor"/>
    </actionSetPartAssociation>
    <actionSetPartAssociation targetID="org.erlide.ui.actions.openActionSet">
       <part id="org.erlide.ui.editors.erl.ErlangEditor"/>
    </actionSetPartAssociation>
    <actionSetPartAssociation
          targetID="org.erlide.ui.searchActionSet">
       <part
             id="org.erlide.ui.editors.erl.ErlangEditor">
       </part>
    </actionSetPartAssociation>
 </extension>
 <extension
       point="org.eclipse.compare.structureCreators">
    <structureCreator
          class="org.erlide.ui.internal.compare.ErlStructureCreator"
          extensions="erl,hrl"
          id="org.erlide.ui.compare.ErlStructureCreator"/>
    <contentTypeBinding
          contentTypeId="org.erlide.core.content.erlang"
          structureCreatorId="org.erlide.ui.compare.ErlStructureCreator"/>
 </extension>
 <extension
       point="org.eclipse.compare.contentViewers">
    <viewer
          class="org.erlide.ui.internal.compare.ErlContentViewerCreator"
          extensions="erl,hrl,erl2"
          id="org.erlide.ui.compare.ErlContentViewerCreator">
    </viewer>
    <contentTypeBinding
          contentTypeId="org.erlide.core.content.erlang"
          contentViewerId="org.erlide.ui.compare.ErlContentViewerCreator">
    </contentTypeBinding>
 </extension>
 <extension
       point="org.eclipse.compare.contentMergeViewers">
    <viewer
          class="org.erlide.ui.internal.compare.ErlMergeViewerCreator"
          extensions="erl,hrl,erl2"
          id="org.erlide.ui.compare.ErlContentMergeViewerCreator"/>
    <contentTypeBinding
          contentMergeViewerId="org.erlide.ui.compare.ErlContentMergeViewerCreator"
          contentTypeId="org.erlide.core.content.erlang"/>
 </extension>
 <extension
       point="org.eclipse.compare.structureMergeViewers">
    <viewer
          class="org.erlide.ui.internal.compare.ErlStructureDiffViewerCreator"
          extensions="erl,hrl"
          id="org.erlide.ui.compare.ErlStructureMergeViewerCreator">
    </viewer>
 </extension>
   <extension
         point="org.eclipse.ui.navigator.viewer">
       <viewer
            viewerId="org.erlide.ui.views.navigator.view">
            <popupMenu
                allowsPlatformContributions="true"
                id="org.erlide.ui.views.navigator.view#PopupMenu">
             <insertionPoint name="erlideMenu1"
             				 separator="true"/>
             <insertionPoint name="erlideMenu2"/>
             <insertionPoint name="group.new"
             				separator="true"/>
             <insertionPoint
                   name="group.open"
                   separator="true"/>
             <insertionPoint name="group.openWith"/>
             <insertionPoint name="group.edit"
                   separator="true"/>
             <insertionPoint name="group.reorganize" />
             <insertionPoint
                   name="group.port"
                   separator="true"/>
             <insertionPoint
                   name="group.build"
                   separator="true"/>
             <insertionPoint
                   name="group.generate"
                   separator="true"/>
             <insertionPoint
                   name="group.search"
                   separator="true"/>
             <insertionPoint
                   name="additions"
                   separator="true"/>
             <insertionPoint
                   name="group.properties"
                   separator="true"/>
          </popupMenu>
      </viewer>
      <viewerContentBinding
            viewerId="org.erlide.ui.views.navigator.view">
         <includes>
            <contentExtension
                  pattern="org.eclipse.ui.navigator.resourceContent">
            </contentExtension>
            <contentExtension
                  pattern="org.eclipse.ui.navigator.resources.filters.*">
            </contentExtension>
            <contentExtension
                  pattern="org.erlide.ui.navigator.filters.*">
            </contentExtension>
            <contentExtension
                  pattern="org.erlide.ui.navigator.erlangContent">
            </contentExtension>
            <contentExtension
                  pattern="org.erlide.ui.navigator.linkHelper">
            </contentExtension>
         </includes>
      </viewerContentBinding>
      <viewerActionBinding
            viewerId="org.erlide.ui.views.navigator.view">
         <includes>
            <actionExtension
                  pattern="org.eclipse.ui.navigator.resources.*">
            </actionExtension>
            <actionExtension
                  pattern="org.erlide.ui.search.*">
            </actionExtension>
         </includes>
      </viewerActionBinding>
      <dragAssistant
            class="org.erlide.ui.ErlDragAdapterAssistant"
            viewerId="org.erlide.ui.views.navigator.view">
      </dragAssistant>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.navigatorContent">
      <commonFilter
            description="Hide non-Erlang projects"
            id="org.erlide.ui.navigator.filters.hideNonErlangProjects"
            name="Hide non-Erlang projects">
         <filterExpression>
            <not>
               <or>
                  <instanceof
                        value="org.eclipse.core.resources.IFolder">
                  </instanceof>
                  <instanceof
                        value="org.eclipse.core.resources.IFile">
                  </instanceof>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                     <test
                           property="org.eclipse.core.resources.projectNature"
                           value="org.erlide.core.erlnature">
                     </test>
                  </adapt>
                  <adapt
                        type="org.eclipse.core.resources.IProject">
                     <test
                           property="org.eclipse.core.resources.open"
                           value="false">
                     </test>
                  </adapt>
               </or>
            </not>
         </filterExpression>
      </commonFilter>
      <navigatorContent
            activeByDefault="true"
            contentProvider="org.erlide.ui.navigator.ErlangFileContentProvider"
            icon="icons/full/obj16/erlang_editor.gif"
            id="org.erlide.ui.navigator.erlangContent"
            labelProvider="org.erlide.ui.editors.erl.outline.ErlangLabelProvider"
            name="Erlang File Contents"
            priority="normal">
         <triggerPoints>
            <or>
               <and>
                  <instanceof
                        value="org.eclipse.core.resources.IResource">
                  </instanceof>
                  <test
                        forcePluginActivation="true"
                        property="org.eclipse.core.resources.extension"
                        value="erl">
                  </test>
               </and>
               <instanceof
                     value="org.erlide.core.erlang.IErlElement">
               </instanceof>
               <and>
                  <instanceof
                        value="org.eclipse.core.resources.IResource">
                  </instanceof>
                  <test
                        forcePluginActivation="true"
                        property="org.eclipse.core.resources.extension"
                        value="hrl">
                  </test>
               </and>
               <and>
                  <instanceof
                        value="org.eclipse.core.resources.IResource">
                  </instanceof>
                  <test
                        forcePluginActivation="true"
                        property="org.eclipse.core.resources.extension"
                        value="yrl">
                  </test>
               </and>
               <instanceof
                     value="org.eclipse.core.resources.IFolder">
               </instanceof>
            </or>
         </triggerPoints>
         <possibleChildren>
            <or>
               <instanceof
                     value="org.erlide.core.erlang.IErlElement">
               </instanceof>
            </or>
         </possibleChildren>
         <actionProvider
               class="org.erlide.ui.navigator.actions.ErlangFileActionProvider"
               id="org.erlide.ui.navigator.actions.erlang.actions.OpenProvider">
         </actionProvider>
         <commonSorter
               class="org.erlide.ui.navigator.ErlElementPositionSorter"
               id="org.erlide.ui.navigator.ErlElementPositionSorterId">
         </commonSorter>
         <dropAssistant
               class="org.erlide.ui.navigator.dnd.ErlCommonDropAdapterAssistant"
               id="org.erlide.ui.ErlDropAssistant">
            <possibleDropTargets>
               <instanceof
                     value="java.lang.Object">
               </instanceof>
            </possibleDropTargets>
         </dropAssistant>
      </navigatorContent>
   </extension>
   <extension
         point="org.eclipse.ui.navigator.linkHelper">
      <linkHelper
            class="org.erlide.ui.actions.ErlangLinkHelperAction"
            id="org.erlide.ui.navigator.linkHelper">
         <selectionEnablement>
            <or>
               <adapt
                     type="org.eclipse.core.resources.IFile">
               </adapt>
            </or>
         </selectionEnablement>
         <editorInputEnablement>
            <instanceof
                  value="org.eclipse.ui.IFileEditorInput">
            </instanceof>
         </editorInputEnablement>
      </linkHelper>
   </extension>

   <!-- Bind the Properties content extension to the viewer -->
   <extension
         point="org.eclipse.ui.importWizards">
      <category
            id="org.erlide.ui.ErlangProjectImport.category"
            name="Erlang">
      </category>
      <wizard
            category="org.erlide.ui.ErlangProjectImport.category"
            class="org.erlide.ui.wizards.ErlangProjectImportWizard"
            icon="icons/full/obj16/erlang_editor.gif"
            id="org.erlide.ui.ErlangProjectImport.wizard"
            name="Import erlang project into workspace">
         <description>
            Import an existing erlang project from the local file system into the workspace.
         </description>
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            id="org.erlide.ui.navigatorObjectContribution"
            objectClass="org.eclipse.core.resources.IResource">
         <action
               class="org.erlide.ui.actions.NewErlangModuleAction"
               icon="icons/full/obj16/erlang_NewModule.png"
               id="org.erlide.ui.menuModuleAction"
               label="New Module"
               menubarPath="erlideMenu2">
         </action>

      </objectContribution>
      <viewerContribution
            id="org.erlide.ui.navigatorViewerContribution"
            targetID="org.erlide.ui.views.navigator.view#PopupMenu">
         <action
               class="org.erlide.ui.actions.NewErlangProjectAction"
               icon="icons/full/obj16/newproject.png"
               id="org.erlide.ui.menuProjectAction"
               label="New Erlang Project"
               menubarPath="erlidemenu1">
         </action>
      </viewerContribution>
   </extension>
   <extension
         point="org.eclipse.ui.decorators">
      <decorator
            adaptable="true"
            class="org.erlide.ui.navigator.NavigatorProblemsDecorator"
            id="org.erlide.ui.navigatorDecorator"
            label="Erlang Problem Decorator"
            lightweight="true"
            location="BOTTOM_LEFT"
            state="true">
      </decorator>
   </extension>
   <extension
         point="org.eclipse.ui.preferenceTransfer">
      <transfer
            icon="icons/erl/erlang-notext016.gif"
            id="org.erlide.ui.transfer1"
            name="Erlang preferences">
         <mapping
               scope="instance">
            <entry
                  node="org.erlide.ui">
            </entry>
                        <entry
                  node="org.erlide.core">
            </entry>
                        <entry
                  node="org.erlide.launching">
            </entry>

         </mapping>
      </transfer>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <category
            id="org.erlide.views"
            name="Erlang"/>
      <view
            category="org.erlide.views"
            class="org.erlide.ui.views.ErlLoggerView"
            icon="icons/icons/sample.gif"
            id="org.erlide.ui.views.ErlLoggerView"
            name="Erlang Logger"/>
      <view
            allowMultiple="false"
            category="org.erlide.views"
            class="org.erlide.ui.views.EpmdView"
            id="org.erlide.ui.epmd"
            name="Epmd view">
      </view>
      <view
            allowMultiple="false"
            category="org.eclipse.debug.ui"
            class="org.erlide.debug.ui.views.InterpretedModulesView"
            icon="icons/full/obj16/modulenavigator.gif"
            id="org.erlide.ui.debug.interpretedModulesView"
            name="Interpreted Modules">
      </view>
      <view
            allowMultiple="false"
            category="org.eclipse.debug.ui"
            class="org.erlide.debug.ui.views.DebuggerTraceView"
            icon="icons/full/obj16/file.gif"
            id="org.erlide.debug.ui.views.debuggerTraceView"
            name="Debugger Trace">
      </view>
      <view
            allowMultiple="false"
            category="org.erlide.views"
            class="org.erlide.ui.views.CallHierarchyView"
            id="org.erlide.ui.callhierarchy"
            name="Call Hierarchy"
            restorable="true">
      </view>
      <view
            allowMultiple="false"
            class="org.erlide.ui.internal.MonitorView"
            id="org.erlide.ui.internal.monitorLogView"
            name="Backend monitor"
            restorable="true">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.viewActions">
      <viewContribution
            id="org.erlide.debug.ui.views.DebuggerTraceViewActions"
            targetID="org.erlide.debug.ui.views.debuggerTraceView">
         <action
               class="org.erlide.debug.ui.actions.DebugTraceAsLaunchAction"
               disabledIcon="icons/full/dtool16/run_exc.gif"
               icon="icons/full/etool16/run_exc.gif"
               id="org.erlide.debug.ui.actions.DebugTraceAsLaunch"
               label="%DebugTraceAsLaunch.label"
               style="push"
               toolbarPath="debugTraceToolbar"
               tooltip="%DebugTraceAsLaunch.toolTip">
            <enablement>
               <objectClass
                     name="org.eclipse.debug.core.model.IDebugTarget">
               </objectClass>
            </enablement>
         </action>
      </viewContribution>
   </extension>
   <extension
         point="org.eclipse.debug.ui.debugModelPresentations">
      <debugModelPresentation
            class="org.erlide.debug.ui.model.ErlDebugModelPresentation"
            id="org.erlide.debug.model"/>
      <debugModelPresentation
            class="org.erlide.debug.ui.tracing.DebugTraceDebugModelPresentation"
            id="org.erlide.debug.trace.model">
      </debugModelPresentation>
   </extension>
   <extension
         point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.erlide.ui.editors.erl.ErlangEditor"
            class="org.erlide.debug.ui.model.ErlBreakpointAdapterFactory">
         <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
      </factory>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.erlide.ui.perspectives.ErlangPerspective">
		 <actionSet
               id="org.eclipse.debug.ui.breakpointActionSet">
         </actionSet>
         <actionSet
               id="org.eclipse.jdt.debug.ui.JDTDebugActionSet">
         </actionSet>
         <actionSet
               id="com.rational.clearcase.ActionSet">
         </actionSet>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.debug.ui.DebugPerspective">
         <view
               id="org.erlide.ui.debug.interpretedModulesView"
               relationship="stack"
               relative="org.eclipse.debug.ui.DebugView"
               visible="true">
         </view>
         <view
               id="org.erlide.debug.ui.views.debuggerTraceView"
               relationship="stack"
               visible="true">
         </view>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            delegate="org.erlide.debug.ui.tracing.DebugTraceLaunchConfigurationDelegate"
            id="org.erlide.runtime.debug.launchDebugTrace"
            modes="debug"
            name="Erlang Debug Trace"
            public="false">
      </launchConfigurationType>
   </extension>
   <extension
         point="org.eclipse.debug.ui.debugModelContextBindings">
      <modelContextBinding
            contextId="org.erlide.debug.ui.debugging"
            debugModelId="org.erlide.debug.model"/>
      <modelContextBinding
            contextId="org.erlide.debug.ui.debugging.trace"
            debugModelId="org.erlide.debug.trace.model">
      </modelContextBinding>
   </extension>
 <extension
       point="org.eclipse.debug.ui.launchConfigurationTabGroups">
    <launchConfigurationTabGroup
          class="org.erlide.ui.launch.ErlangNodeTabGroup"
          id="org.erlide.ui.launch.launchConfigurationTabGroup.erlangNode"
          type="org.erlide.core.launch.erlangProcess"/>
 </extension>
 <extension
       point="org.eclipse.debug.ui.launchShortcuts">
    <shortcut
          class="org.erlide.ui.launch.ErlangNodeLaunchShortcut"
          icon="icons/erl/erlang-notext030.gif"
          id="org.erlide.ui.launch.erlangNodeShortcut"
          label="Erlang application"
          modes="run,debug">
        <contextualLaunch>
            <enablement>
               <with variable="selection">
                  <count value="1"/>
               	  <iterate>
                     <adapt type="org.erlide.core.erlang.IErlProject">
		             </adapt>
		          </iterate>
               </with>
            </enablement>
         </contextualLaunch>
    </shortcut>
 </extension>
    <extension
         point="org.eclipse.ui.console.consolePatternMatchListeners">
      <consolePatternMatchListener
            class="org.erlide.ui.views.ErlPatternMatchListenerDelegate"
            id="ErlPatternMatchListenerDelegate"
            regex="[a-zA-Z0-9_.-]+\.[ehy]rl:[0-9]+">
         <enablement></enablement>
      </consolePatternMatchListener>
   </extension>
   <extension
         point="org.eclipse.ui.ide.resourceFilters">
      <filter
            pattern="*.beam"
            selected="false">
         <description>
            BEAM files
         </description>
      </filter>
   </extension>
   <extension
         point="org.eclipse.ui.exportWizards">
      <category
            id="org.erlide.ui.erlang"
            name="Erlang">
      </category>
      <wizard
            category="org.erlide.ui.erlang"
            class="org.erlide.ui.wizards.EdocExportWizard"
            id="org.erlide.ui.edocWizard"
            name="eDoc">
      </wizard>
   </extension>
   <extension
         point="org.eclipse.search.searchPages">
      <page
            canSearchEnclosingProjects="true"
            class="org.erlide.ui.internal.search.ErlangSearchPage"
            extensions="erl:90, hrl:90, yrl:90"
            icon="icons/full/obj16/erlang020.gif"
            id="org.erlide.ui.ErlangSearchPage"
            label="Erlang Search"
            showScopeSection="true"
            sizeHint="460,160">
      </page>
   </extension>
   <extension
         point="org.eclipse.search.searchResultViewPages">
      <viewPage
            class="org.erlide.ui.internal.search.ErlangSearchResultPage"
            id="org.erlide.ui.ErlangSearchResultPage"
            searchResultClass="org.erlide.ui.internal.search.ErlangSearchResult">
      </viewPage>
   </extension>
   <extension
         point="org.eclipse.ui.console.consolePageParticipants">
      <consolePageParticipant
            class="org.erlide.ui.console.ConsolePageParticipant"
            id="org.erlide.ui.consolePageParticipant1">
         <enablement>
            <instanceof
                  value="org.erlide.ui.console.ErlangConsole">
            </instanceof></enablement>
      </consolePageParticipant>
   </extension>
   <extension
         point="org.eclipse.ui.editors.templates">
      <include
            file="erlang_templates/erlang_templates.xml">
      </include>
      <include
            file="erlang_templates/module_templates.xml">
      </include>
      <include
      		file="erlang_templates/module_element_templates.xml">
      </include>
      <contextType
            class="org.erlide.ui.editors.erl.completion.ErlangContextType"
            id="org.erlide.ui.editor.erlang"
            name="Erlang Code">
      </contextType>
      <contextType
            class="org.erlide.ui.templates.ErlangSourceContextTypeModuleElement"
            id="org.erlide.ui.erlangsource.template.context.module.element"
            name="Module Elements">
      </contextType>
      <contextType
            class="org.erlide.ui.templates.ErlangSourceContextTypeModule"
            id="org.erlide.ui.erlangsource.template.context.module"
            name="Module Templates">
      </contextType>
      <resolver
            class="org.erlide.ui.wizards.templates.LocalFunctionsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module.element"
            description="%variableResolverLocalFunctions"
            name="Local Functions"
            type="local_functions">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.LocalFunctionsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module"
            description="%variableResolverLocalFunctions"
            name="Local Functions"
            type="local_functions">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.ExportedFunctionsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module.element"
            description="%variableResolverExportedFunctions"
            name="Exported Functions"
            type="exported_functions">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.ExportedFunctionsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module"
            description="%variableResolverExportedFunctions"
            name="Exported Functions"
            type="exported_functions">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.ExportsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module.element"
            description="%variableResolverExports"
            name="Exports"
            type="exports">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.ExportsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.module"
            description="%variableResolverExports"
            name="Exports"
            type="exports">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.FunctionNameVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.layout"
            description="%variableResolverFunctionName"
            name="Function Name"
            type="function_name">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.ArgumentsVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.layout"
            description="%variableResolverArguments"
            name="Arguments"
            type="arguments">
      </resolver>
      <resolver
            class="org.erlide.ui.wizards.templates.BodyVariableResolver"
            contextTypeId="org.erlide.ui.erlangsource.template.context.layout"
            description="%variableResolverBody"
            name="Body"
            type="body">
      </resolver>
   </extension>
   <extension
         point="org.eclipse.ui.editors.annotationTypes">
      <type
            markerType="org.erlide.core.dialyzewarningmarker"
            name="org.erlide.ui.dialyzewarningmarkertype">
      </type>
   </extension>
   <extension
         point="org.eclipse.ui.editors.markerAnnotationSpecification">
      <specification
            annotationType="org.erlide.ui.dialyzewarningmarkertype"
            colorPreferenceKey="dialyzewarningmarkerColor"
            colorPreferenceValue="255,150,150"
            highlightPreferenceKey="dialyzewarningmarkerHighlighting"
            highlightPreferenceValue="false"
            icon="icons/full/obj16/dialyzer_warning.gif"
            includeOnPreferencePage="true"
            label="Dialyzer Warning"
            overviewRulerPreferenceKey="dialyzewarningmarkerInOverviewRuler"
            overviewRulerPreferenceValue="true"
            presentationLayer="3"
            textPreferenceKey="dialyzewarningmarker"
            textPreferenceValue="true"
            verticalRulerPreferenceKey="dialyzewarningmarkerInVerticalRuler"
            verticalRulerPreferenceValue="true">
      </specification>
   </extension>
   <extension
         point="org.eclipse.ui.handlers">
      <handler
            class="org.erlide.ui.internal.search.ReferencesInWorkspaceHandler"
            commandId="org.erlide.ui.search.references.in.workspace">
      </handler>
   </extension>
</plugin>
