Skip to main content

Notice: This Wiki is now read only and edits are no longer 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

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