DLTK Adding Quick Fix Support

From Eclipsepedia

Revision as of 18:49, 1 March 2009 by Jgangemi.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>