Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DLTK Adding Quick Fix Support

Revision as of 18:49, 1 March 2009 by Jgangemi.gmail.com (Talk | contribs) (New page: == Summary == This mini tutorial outlines the steps required to add quick fix support to your plugin. == Prerequisites == == Steps == * Setup the action delegate that will handle 'sing...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Summary

This mini tutorial outlines the steps required to add quick fix support to your plugin.

Prerequisites

Steps

  • Setup the action delegate that will handle 'single' clicks that occur in the vertical ruler of the script editor when an annotation is present.
<extension point="org.eclipse.ui.editorActions">
  <editorContribution
    targetID="org.perlipse.ui.editor.perlipseEditor"
    id="org.perlipse.ui.editor.actions">
    <action
      label="Perlipse Editor Ruler"
      class="org.eclipse.dltk.ui.actions.ScriptEditorRulerActionDelegate:org.perlipse.core.perlipseNature"
      actionID="RulerClick"
      id="org.perlipse.ui.editor.actions.ruler">
    </action>
  </editorContribution>
</extension>

Back to the top