Jump to: navigation, search

DLTK Adding Quick Fix Support

Revision as of 17: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>