<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
  
   <extension-point id="textHoverProvider" name="%textHoverProvider" schema="schema/textHoverProvider.exsd"/>  
   <extension-point id="foldingStructureProviders" name="%foldingStructureProviders" schema="schema/foldingStructureProviders.exsd"/>
   <extension-point id="editorPopupExtender" name="%editorPopupExtender" schema="schema/org.rubypeople.rdt.ui.editorPopupExtender.exsd"/>
   <extension-point id="rubyTemplateProvider" name="Ruby template provider" schema="schema/rubyTemplateProvider.exsd"/>
   
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            name="%PreferencePage.RubyBase.name"
            class="org.rubypeople.rdt.internal.ui.preferences.RubyBasePreferencePage"
            id="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase">
      </page>
      <page
            name="%appearancePrefName"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase"
            class="org.rubypeople.rdt.internal.ui.preferences.AppearancePreferencePage"
            id="org.rubypeople.rdt.ui.preferences.AppearancePreferencePage">
            <keywordReference id="org.eclipse.rdt.ui.appearance"/>
      </page>
      <page
            name="%PreferencePage.RubyEditor.name"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase"
            class="org.rubypeople.rdt.internal.ui.preferences.RubyEditorPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.PreferencePageRubyEditor">
      </page>
      <page
            name="%codeFormatterPrefName"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase"
            class="org.rubypeople.rdt.internal.ui.preferences.CodeFormatterPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.CodeFormatterPreferencePage">
            <keywordReference id="org.rubypeople.rdt.ui.formatter"/>
      </page>
      <page
            name="%PreferencePage.rdtTaskPreferences"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase"
            class="org.rubypeople.rdt.internal.ui.preferences.TodoTaskPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.PreferencePageTodoTask">
      </page>
       <page
            name="%PreferencePage.rdtTemplatePreferences"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyEditor"
            class="org.rubypeople.rdt.internal.ui.preferences.RubyTemplatePreferencePage"
            id="org.rubypeople.rdt.ui.TemplatesPreferencePage">
      </page>
      <page
            name="%PreferencePage.rdtRiPreferences"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyBase"
            class="org.rubypeople.rdt.internal.ui.preferences.RdocRiPreferencePage"
            id="org.rubypeople.rdt.ui.RdocRiPreferencePage">
      </page>      
      <page
            name="%memberSortPrefName"
            category="org.rubypeople.rdt.ui.preferences.AppearancePreferencePage"
            class="org.rubypeople.rdt.internal.ui.preferences.MembersOrderPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.MembersOrderPreferencePage">
         <keywordReference id="org.rubypeople.rdt.ui.sortorder"/>
      </page>
      <page
            name="%editorSyntaxColoringPage"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyEditor"
            class="org.rubypeople.rdt.internal.ui.preferences.RubyEditorColoringPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.RubyEditorColoringPreferencePage">
         <keywordReference id="org.rubypeople.rdt.ui.syntaxcoloring"/>
      </page>
      <page
            name="%editorFoldingPage"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyEditor"
            class="org.rubypeople.rdt.internal.ui.preferences.FoldingPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.FoldingPreferencePage">
         <keywordReference id="org.rubypeople.rdt.ui.folding"/>
      </page>
      <page
            name="%editorTypingPage"
            category="org.rubypeople.rdt.ui.preferences.PreferencePageRubyEditor"
            class="org.rubypeople.rdt.internal.ui.preferences.SmartTypingPreferencePage"
            id="org.rubypeople.rdt.ui.preferences.SmartTypingPreferencePage">
         <keywordReference id="org.rubypeople.rdt.ui.smarttyping"/>
      </page>
   </extension>
<!-- =========================================================================== -->
<!-- Ruby Perspective 																 -->
<!-- =========================================================================== -->
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%PerspectiveRuby.name"
            icon="icons/full/ctool16/ruby.gif"
            class="org.rubypeople.rdt.internal.ui.RdtPerspectiveFactory"
            id="org.rubypeople.rdt.ui.PerspectiveRuby">
      </perspective>
   </extension>
   <extension point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.PerspectiveRuby">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.debug.ui.DebugPerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.PerspectiveRuby">
         </perspectiveShortcut>
      </perspectiveExtension>
   	 <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
       <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" />
     </perspectiveExtension>
     <perspectiveExtension targetID="org.rubypeople.rdt.ui.PerspectiveRuby">
       <newWizardShortcut id="org.rubypeople.rdt.ui.wizards.NewWizardProjectCreation"/>
	   <newWizardShortcut id="org.eclipse.ui.wizards.new.folder"/>
	   <newWizardShortcut id="org.eclipse.ui.wizards.new.file"/>
       <viewShortcut id="org.eclipse.ui.views.ContentOutline"/>
       <viewShortcut id="org.rubypeople.rdt.ui.ViewRubyResources"/>
       <viewShortcut id="org.eclipse.ui.console.ConsoleView"/>
       <viewShortcut id="org.eclipse.ui.views.ProblemView"/>
       <viewShortcut id="org.eclipse.ui.views.TaskList"/>
       <viewShortcut id="org.rubypeople.rdt.ui.views.RIView"/>   
       <perspectiveShortcut
               id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         </perspectiveShortcut>
       <perspectiveShortcut
               id="org.eclipse.debug.ui.DebugPerspective">
         </perspectiveShortcut>
       <perspectiveShortcut
               id="org.rubypeople.rdt.ui.PerspectiveRuby">
         </perspectiveShortcut>
       <perspectiveShortcut id="org.eclipse.ui.resourcePerspective" />
     </perspectiveExtension>
     <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">
       <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" />
     </perspectiveExtension>
   </extension>
<!-- =========================================================================== -->
<!-- Ruby Browsing 																 -->
<!-- =========================================================================== -->
   <extension
         point="org.eclipse.ui.perspectives">
      <perspective
            name="%Browsing.perspectiveName"
            icon="$nl$/icons/full/eview16/browse_persp.gif"
            class="org.rubypeople.rdt.internal.ui.browsing.RubyBrowsingPerspectiveFactory"
            id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
      </perspective>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.rubypeople.rdt.ui.PerspectiveRuby">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.PerspectiveRuby">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         <perspectiveShortcut
               id="org.eclipse.debug.ui.DebugPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
      <perspectiveExtension
            targetID="org.eclipse.debug.ui.DebugPerspective">
         <perspectiveShortcut
               id="org.rubypeople.rdt.ui.RubyBrowsingPerspective">
         </perspectiveShortcut>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <category
            name="%Browsing.viewCategoryName"
            id="org.rubypeople.rdt.ui.ruby.browsing">
      </category>
      <view
            name="%Browsing.projectsViewName"
            icon="$nl$/icons/full/eview16/projects.gif"
            category="org.rubypeople.rdt.ui.ruby.browsing"
            class="org.rubypeople.rdt.internal.ui.browsing.ProjectsView"
            id="org.rubypeople.rdt.ui.ProjectsView">
      </view>
      <view
            name="%Browsing.typesViewName"
            icon="$nl$/icons/full/eview16/types.gif"
            category="org.rubypeople.rdt.ui.ruby.browsing"
            class="org.rubypeople.rdt.internal.ui.browsing.TypesView"
            id="org.rubypeople.rdt.ui.TypesView">
      </view>
      <view
            name="%Browsing.membersViewName"
            icon="$nl$/icons/full/eview16/members.gif"
            category="org.rubypeople.rdt.ui.ruby.browsing"
            class="org.rubypeople.rdt.internal.ui.browsing.MembersView"
            id="org.rubypeople.rdt.ui.MembersView">
      </view>
   </extension>
   
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            name="%NewWizardCategory.name"
            id="org.rubypeople.rdt.ui">
      </category>
      <wizard
            name="%NewWizardRubyProject.name"
            icon="icons/full/etool16/newrprj_wiz.gif"
            category="org.rubypeople.rdt.ui"
            class="org.rubypeople.rdt.internal.ui.wizards.NewProjectCreationWizard"
            preferredPerspectives="org.rubypeople.rdt.ui.PerspectiveRuby"
            project="true"
            finalPerspective="org.rubypeople.rdt.ui.PerspectiveRuby"
            id="org.rubypeople.rdt.ui.wizards.NewWizardProjectCreation">
         <description>
            Create a new Ruby project.
         </description>
      </wizard>
      <wizard
            name="%NewWizardRubyClass.name"
            icon="icons/full/etool16/newclass_wiz.gif"
            category="org.rubypeople.rdt.ui"
            class="org.rubypeople.rdt.ui.wizards.RubyNewClassWizard"
            preferredPerspectives="org.rubypeople.rdt.ui.PerspectiveRuby"
            id="org.rubypeople.rdt.ui.wizards.RubyNewClassWizard">
          <description>
            Create a new Ruby Class.
         </description>
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.ide.projectNatureImages">
      <image
            icon="icons/full/ovr16/ruby_ovr.gif"
            natureId="org.rubypeople.rdt.core.rubynature"
            id="org.rubypeople.rdt.ui.ProjectNatureImageRuby">
      </image>
   </extension>
   <extension
         point="org.eclipse.ui.propertyPages">
      <page
            objectClass="org.eclipse.core.resources.IProject"
            name="%PropertyPageRubyProject.name"
            class="org.rubypeople.rdt.internal.ui.RubyProjectPropertyPage"
            id="org.rubypeople.rdt.ui.PropertyPageRubyProject">
         <filter
               name="nature"
               value="org.rubypeople.rdt.core.rubynature">
         </filter>
      </page>
      <page
            objectClass="org.rubypeople.rdt.core.IRubyProject"
            name="%PropertyPageRubyProject.name"
            class="org.rubypeople.rdt.internal.ui.RubyProjectPropertyPage"
            id="org.rubypeople.rdt.ui.PropertyPageRubyProject">
         <filter
               name="nature"
               value="org.rubypeople.rdt.core.rubynature">
         </filter>
      </page>
   </extension>
   <extension point="org.eclipse.ui.views">
      <category
            name="%viewCategoryName"
            id="org.rubypeople.rdt.ui.ruby">
      </category>
      <view
            name="%ViewRubyResources.name"
            icon="icons/full/ctool16/ruby.gif"
            category="org.rubypeople.rdt.ui.ruby"
            class="org.rubypeople.rdt.internal.ui.resourcesview.RubyResourcesView"
            id="org.rubypeople.rdt.ui.ViewRubyResources">
      </view>
      <view
            name="RI"
            icon="icons/full/elcl16/help.gif"
            category="org.rubypeople.rdt.ui.ruby"
            class="org.rubypeople.rdt.internal.ui.infoviews.RIView"
            id="org.rubypeople.rdt.ui.views.RIView">
      </view>
   </extension>
   <extension point="org.eclipse.ui.editors">
      <editor
            class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyEditor"
            contributorClass="org.rubypeople.rdt.internal.ui.rubyeditor.RubyEditorActionContributor"
            extensions="%EditorRubyFile.extension"
            filenames="%EditorRubyFile.filenames"
            icon="icons/full/ctool16/ruby_page.gif"
            id="org.rubypeople.rdt.ui.EditorRubyFile"
            symbolicFontName="org.rubypeople.rdt.ui.editors.textfont"
            name="%EditorRubyFile.name">
         <contentTypeBinding contentTypeId="org.rubypeople.rdt.core.rubySource"/>
      </editor>
      <editor
            name="%ExternalEditorRubyFile.name"
            icon="icons/full/ctool16/ruby_page.gif"
            extensions=""
            contributorClass="org.rubypeople.rdt.internal.ui.rubyeditor.RubyEditorActionContributor"
            class="org.rubypeople.rdt.internal.ui.rubyeditor.ExternalRubyEditor"
            symbolicFontName="org.rubypeople.rdt.ui.editors.textfont"
            id="org.rubypeople.rdt.ui.ExternalRubyEditor">
      </editor>
   </extension>
   
   <extension
         point="org.eclipse.ui.contexts">
	  <context
            name="%scope.rubyEditor.name"
            description="%scope.rubyEditor.description"
            parentId="org.eclipse.ui.textEditorScope"
            id="org.rubypeople.rdt.ui.rubyEditorScope">
      </context>
   </extension>
	<extension point="org.eclipse.ui.bindings">
      <key
            sequence="M1+M2+F" 
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.format"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration "/>
      <key
            sequence="ESC M1+F"
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.format"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope "
            platform="gtk"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
            sequence="M1+/"
            commandId=" org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </key>
      <key
            sequence="M1+M2+C"
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope "
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </key>
      <!-- alternative for some gtk input modes -->
      <key
            platform="gtk" 
            sequence="ESC CTRL+C"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope"
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment"
            schemeId=" org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.content.assist.proposals"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope "
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="M1+SPACE">
      </key>
      <key
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.content.assist.proposals "
            contextId="org.rubypeople.rdt.ui.rubyEditorScope"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
            sequence="CTRL+SPACE"
            platform="carbon"> 
      </key>
      <key
            sequence="M1+M2+P"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope"
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.goto.matching.bracket "
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
      <key
            sequence="F3"
            contextId="org.rubypeople.rdt.ui.rubyEditorScope" 
            commandId="org.rubypeople.rdt.ui.edit.text.ruby.open.editor"
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
    </extension>
   <extension point="org.eclipse.ui.commands">
      <category
            name="%category.source.name"
            description="%category.source.description"
            id="org.rubypeople.rdt.ui.category.source ">
      </category>
      <category
            name="%category.project.name"
            description="%category.project.description"
            id="org.rubypeople.rdt.ui.category.project ">
      </category>
      <command
            categoryId="org.rubypeople.rdt.ui.category.source"
            description="%ActionDefinition.format.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.format"
            name="%ActionDefinition.format.name">
      </command>
      <command
            categoryId="org.rubypeople.rdt.ui.category.source "
            description="%ActionDefinition.comment.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.comment"
            name="%ActionDefinition.comment.name"> 
      </command>
      <command
            categoryId="org.rubypeople.rdt.ui.category.source"
            description="%ActionDefinition.uncomment.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.uncomment"
            name="%ActionDefinition.uncomment.name">
      </command>
      <command
            categoryId="org.rubypeople.rdt.ui.category.source "
            description="%ActionDefinition.toggleComment.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment"
            name="%ActionDefinition.toggleComment.name"> 
      </command>
      <command
            categoryId="org.rubypeople.rdt.ui.category.source"
            description="%ActionDefinition.contentAssist.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.content.assist.proposals"
            name="%ActionDefinition.contentAssist.name">
      </command>      
      <command
            categoryId="org.rubypeople.rdt.ui.category.project"
            description="%ActionDefinition.generateRdoc.description"
            id="org.rubypeople.rdt.ui.generate.rdoc"
            name="%ActionDefinition.generateRdoc.name"> 
      </command>
      <command
            description="%ActionDefinition.comment.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.comment"
            categoryId="org.rubypeople.rdt.ui.category.source"
            name="%ActionDefinition.comment.name">
      </command>
      <command
            description="%ActionDefinition.uncomment.description" 
            id="org.rubypeople.rdt.ui.edit.text.ruby.uncomment"
            categoryId="org.rubypeople.rdt.ui.category.source"
            name="%ActionDefinition.uncomment.name"> 
      </command>
      <command
            description="%ActionDefinition.contentAssist.description"
            categoryId="org.eclipse.ui.category.edit"
            id=" org.rubypeople.rdt.ui.edit.text.ruby.content.assist.proposals"
            name="%ActionDefinition.contentAssist.name">
      </command>
      <command
            categoryId="org.eclipse.ui.category.navigate "
            description="%ActionDefinition.gotoMatchingBracket.description"
            id="org.rubypeople.rdt.ui.edit.text.ruby.goto.matching.bracket"
            name="%ActionDefinition.gotoMatchingBracket.name"> 
      </command>
      <command
            name="%ActionDefinition.openEditor.name"
            description="%ActionDefinition.openEditor.description"
            categoryId="org.eclipse.ui.category.navigate"
            id="org.rubypeople.rdt.ui.edit.text.ruby.open.editor">
      </command>
            <command
            name="%ActionDefinition.toggleComment.name" 
            description="%ActionDefinition.toggleComment.description"
            categoryId="org.eubypeople.rdt.ui.category.source"
            id="org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment ">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            label="%RubyActionSet.label"
            visible="false"
            id="org.rubypeople.rdt.ui.rubyActionSet">
         <menu
               label="%Ruby.menu.label"
               path="edit"
               id="org.rubypeople.rdt.ui.ruby.menu">
            <separator
                  name="editGroup">
            </separator>
         </menu>
                  
         <action
               definitionId="org.rubypeople.rdt.ui.generate.rdoc"
               label="%GenerateRdocAction.label"
               helpContextId="org.rubypeople.rdt.ui.generate_rdoc_action"
               class="org.rubypeople.rdt.internal.ui.actions.GenerateRdocAction"
               menubarPath="project/additions"
               id="exportRdoc">
         </action>
         <action
               definitionId="org.rubypeople.rdt.ui.edit.text.ruby.uncomment"
               label="%UncommentAction.label"
               menubarPath="org.rubypeople.rdt.ui.ruby.menu/editGroup"
               retarget="true"
               id="org.rubypeople.rdt.ui.actions.Uncomment">
         </action>
         <action
               definitionId="org.rubypeople.rdt.ui.edit.text.ruby.comment"
               label="%CommentAction.label"
               menubarPath="org.rubypeople.rdt.ui.ruby.menu/editGroup"
               retarget="true"
               id="org.rubypeople.rdt.ui.actions.Comment">
         </action>
         <action
            definitionId="org.rubypeople.rdt.ui.edit.text.ruby.toggle.comment"
            label="%ToggleCommentAction.label"
            retarget="true"
            menubarPath="org.rubypeople.rdt.ui.ruby.menu/editGroup"
            id="org.rubypeople.rdt.ui.actions.ToggleComment">
         </action>
         <action
               definitionId="org.rubypeople.rdt.ui.edit.text.ruby.surround.with.begin.rescue"
               label="%SurroundWithBeginRescueAction.label"
               retarget="true"
               menubarPath="org.rubypeople.rdt.ui.ruby.menu/editGroup"
               id="org.rubypeople.rdt.ui.actions.SurroundWithBeginRescue">
         </action>
      </actionSet>
      <actionSet
            label="%RubyElementCreationActionSet.label"
            description="%RubyElementCreationActionSet.description"
            visible="false"
            id="org.rubypeople.rdt.ui.RubyElementCreationActionSet">
         <action
               label="%NewClassWizardAction.label"
               icon="icons/full/etool16/newclass_wiz.gif"
               tooltip="%NewClassWizardAction.tooltip"
               class="org.rubypeople.rdt.internal.ui.wizards.NewClassWizardAction"
               toolbarPath="Normal/RubyWizards"
               id="org.rubypeople.rdt.ui.actions.NewClassWizard">
         </action>
          <action
               label="%OpenProjectWizardAction.label"
               icon="icons/full/etool16/newrprj_wiz.gif"
               tooltip="%OpenProjectWizardAction.tooltip"
               class="org.rubypeople.rdt.internal.ui.wizards.OpenProjectWizardAction"
               toolbarPath="Normal/RubyWizards"
               id="org.rubypeople.rdt.ui.actions.OpenProjectWizard">
         </action>
      </actionSet>
      <actionSet
            label="%OpenActionSet.label"
            description="%OpenActionSet.description"
            visible="false"
            id="org.rubypeople.rdt.ui.A_OpenActionSet">
      
          <action
               definitionId="org.rubypeople.rdt.ui.edit.text.ruby.open.editor"
               label="%OpenAction.label"
               tooltip="%OpenAction.tooltip"
               retarget="true"
               menubarPath="navigate/open.ext"
               allowLabelUpdate="true"
               id="org.rubypeople.rdt.ui.actions.Open">
         </action>
       </actionSet>
   </extension>
   
   <extension
         point="org.eclipse.ui.actionSetPartAssociations">
      <actionSetPartAssociation
            targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
         <part
               id="org.rubypeople.rdt.ui.EditorRubyFile">
         </part>
      </actionSetPartAssociation>
      <actionSetPartAssociation
            targetID="org.eclipse.ui.edit.text.actionSet.presentation">
         <part
               id="org.rubypeople.rdt.ui.EditorRubyFile">
         </part>
      </actionSetPartAssociation>
      <actionSetPartAssociation
            targetID="org.rubypeople.rdt.ui.rubyActionSet">
         <part
               id="org.rubypeople.rdt.ui.EditorRubyFile">
         </part>
      </actionSetPartAssociation>
      <actionSetPartAssociation
            targetID="org.rubypeople.rdt.ui.A_OpenActionSet">
         <part
               id="org.eclipse.search.SearchResultView">
         </part>
         <part
               id="org.rubypeople.rdt.ui.ViewRubyResources">
         </part>
         <part
               id="org.rubypeople.rdt.ui.EditorRubyFile">
         </part>
         <part
               id="org.rubypeople.rdt.ui.ProjectsView">
         </part>
         <part
               id="org.rubypeople.rdt.ui.TypesView">
         </part>
         <part
               id="org.rubypeople.rdt.ui.MembersView">
         </part>
      </actionSetPartAssociation>
   </extension>  
   
   <extension
         point="org.eclipse.ui.editors.markerUpdaters">
      <updater
            markerType="org.rubypeople.rdt.debug.core.RubyBreakpointMarker"
            class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyBreakpointMarkerUpdater"
            id="RubyBreakpointMarkerUpdater">
      </updater>
   </extension>

   <extension
         point="org.eclipse.ui.editors.annotationTypes">
      <type
            super="org.eclipse.ui.workbench.texteditor.error"
            markerType="org.rubypeople.rdt.core.problem"
            name="org.rubypeople.rdt.ui.error"
            markerSeverity="2">
      </type>
      <type
            super="org.eclipse.ui.workbench.texteditor.warning"
            markerType="org.rubypeople.rdt.core.problem"
            name="org.rubypeople.rdt.ui.warning"
            markerSeverity="1">
      </type>
      <type
            super="org.eclipse.ui.workbench.texteditor.info"
            markerType="org.rubypeople.rdt.core.problem"
            name="org.rubypeople.rdt.ui.info"
            markerSeverity="0">
      </type>
   </extension>
   <extension
         point="org.eclipse.ui.editors.markerAnnotationSpecification">
      <specification
            symbolicIcon="error"
            annotationType="org.rubypeople.rdt.ui.error">
      </specification>
      <specification
             symbolicIcon="warning"
            annotationType="org.rubypeople.rdt.ui.warning">
      </specification>
      <specification
            symbolicIcon="info"
            annotationType="org.rubypeople.rdt.ui.info">
      </specification>
   </extension>
   <extension
         point="org.eclipse.ui.ide.resourceFilters">
         <filter
            selected="true"
            pattern=".*">
      </filter>
      <filter
            selected="false"
            pattern="*.xml">
      </filter>
      <filter
            selected="false"
            pattern="*.yml">
      </filter>
      <filter
            selected="false"
            pattern="*.gem">
      </filter>
      <filter
            selected="false"
            pattern="*.so">
      </filter>
   </extension>
<!-- =========================================================================== -->
<!-- Templates                                                                   -->
<!-- =========================================================================== -->
   <extension
         point="org.eclipse.ui.editors.templates">
      <contextType
            name="%rubyFile.contextType.name"
            class="org.rubypeople.rdt.internal.corext.template.ruby.RubyContextType"
            id="ruby">
      </contextType>
      <include
      		file="templates/rdt.xml"
      		translations="$nl$/templates/rdt.properties">
      </include>
   </extension>
   <extension
         point="org.eclipse.ui.elementFactories">
      <factory
            id="org.rubypeople.rdt.ui.externalRubyFileEditorInputFactory"
            class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyExternalEditorFactory"/>
   </extension>
   
   	<extension
		point= "org.rubypeople.rdt.ui.foldingStructureProviders">
		<provider
			id="org.rubypeople.rdt.ui.text.defaultFoldingProvider"
			name= "%defaultFoldingStructureProviderName"
			class="org.rubypeople.rdt.internal.ui.text.folding.DefaultRubyFoldingStructureProvider"
			preferencesClass="org.rubypeople.rdt.internal.ui.text.folding.DefaultRubyFoldingPreferenceBlock">
		</provider>
	</extension>
   
   <extension point="org.eclipse.core.runtime.adapters">
   		<factory 
            class="org.rubypeople.rdt.internal.ui.RubyProjectAdapterFactory" 
            adaptableType="org.rubypeople.rdt.core.IRubyProject">
            <adapter type="org.eclipse.core.resources.IProject"/>
		</factory>
		
		<factory 
            class="org.rubypeople.rdt.internal.ui.ResourceAdapterFactory" 
            adaptableType="org.eclipse.core.resources.IResource">
            <adapter type="org.rubypeople.rdt.core.IRubyElement"/>
		</factory>
		
		<factory 
            class="org.rubypeople.rdt.internal.ui.RubyElementAdapterFactory" 
            adaptableType="org.eclipse.rdt.core.IRubyElement">
            
            <adapter type="org.eclipse.core.resources.IResource"/>
            <adapter type="org.eclipse.ui.IContributorResourceAdapter"/>
            
            <adapter type="org.eclipse.ui.views.tasklist.ITaskListResourceAdapter"/>
		</factory>
	</extension>

  <extension
         id="RubyDocumentSetupParticipant"
         name="%rubyDocumentSetupParticipant"
         point="org.eclipse.core.filebuffers.documentSetup">
      <participant
            class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentSetupParticipant"
            contentTypeId="org.rubypeople.rdt.core.rubySource"
            extensions="%EditorRubyFile.extension"
            fileNames="%EditorRubyFile.filenames">
      </participant>
   </extension>
   <extension
         id="RubyDocumentFactory"
         name="%rubyDocumentFactory"
         point="org.eclipse.core.filebuffers.documentCreation">
      <factory
            class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentFactory"
            contentTypeId="org.rubypeople.rdt.core.rubySource"
            extensions="%EditorRubyFile.extension"
            fileNames="%EditorRubyFile.filenames">
      </factory>
   </extension>
   <extension
         point="org.eclipse.search.searchPages">
      <page
            class="org.rubypeople.rdt.internal.ui.search.RubySearchPage"
            id="org.rubypeople.rdt.ui.RubySearchPage"
            label="%RubySearchPage.label"/>
   </extension>
   <extension
         point="org.eclipse.search.searchResultViewPages">
      <viewPage
            class="org.rubypeople.rdt.internal.ui.search.RubySearchResultPage"
            id="org.rubypeople.rdt.ui.search.RubySearchResultPage"
            searchResultClass="org.rubypeople.rdt.internal.ui.search.RubySearchResult"/>
   </extension>
   
   <extension
         point="org.rubypeople.rdt.ui.textHoverProvider">
         <textHoverProvider class="org.rubypeople.rdt.internal.ui.text.ruby.hover.RiDocHoverProvider" />
  </extension>
  
  <extension
         point="org.eclipse.ui.popupMenus">
      <viewerContribution
            targetID="org.rubypeople.rdt.ui.rubyeditor.rulerContextMenu"
            id="org.rubypeople.rdt.ui.RubyScriptEditorPopupActions">
         <action
               label="%AddTask.label"
               helpContextId="org.eclipse.ui.AddTask_action_context"
               tooltip="%AddTask.tooltip"
               class="org.eclipse.ui.texteditor.TaskRulerAction"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.TaskRulerAction">
         </action>
         <action
               label="%AddBookmark.label"
               helpContextId="org.eclipse.ui.bookmark_action_context"
               tooltip="%AddBookmark.tooltip"
               class="org.eclipse.ui.texteditor.BookmarkRulerAction"
               menubarPath="add"
               id="org.eclipse.ui.texteditor.BookmarkRulerAction">
         </action>
       </viewerContribution>
   </extension>
   
   <extension
         point="org.eclipse.ui.themes">
        <themeElementCategory label="%rubyPresentation.label" id="org.rubypeople.rdt.ui.presentation"/>
      <fontDefinition
            label="%rubyEditorFontDefiniton.label"
            defaultsTo="org.eclipse.jface.textfont"
            categoryId="org.rubypeople.rdt.ui.presentation"
            id="org.rubypeople.rdt.ui.editors.textfont">
         <description>
            %rubyEditorFontDefintion.description
         </description>
      </fontDefinition>
   </extension>
     
</plugin>
