Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate away from the deprecated UI extensions #927

Open
ptziegler opened this issue Oct 31, 2024 · 0 comments
Open

Migrate away from the deprecated UI extensions #927

ptziegler opened this issue Oct 31, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ptziegler
Copy link
Contributor

In several of our plugin.xml files, we use the long-deprecated extension points:

  • org.eclipse.ui.editorActions
  • org.eclipse.ui.actionSetPartAssociations

<!-- ======================================================== -->
<!-- GUI editor: our actions and commands -->
<!-- ======================================================== -->
<extension point="org.eclipse.ui.editorActions">
<editorContribution targetID="org.eclipse.wb.core.guiEditor"
id="org.eclipse.ui.texteditor.ruler.actions">
<action definitionId="org.eclipse.wb.core.commands.switch" label="%actions.switch.name"
tooltip="%actions.switch.text"
class="org.eclipse.wb.internal.core.editor.actions.SwitchAction"
menubarPath="navigate/open.ext2" helpContextId="switch_page"
id="org.eclipse.wb.core.editor.actions.SwitchAction"/>
</editorContribution>
</extension>

image

We should try to move away from them using the following replacement extension points:

  • org.eclipse.ui.menus
  • org.eclipse.ui.bindings
  • org.eclipse.ui.commands
  • org.eclipse.ui.handlers

If possible, one might even consider using the e4 XMI fragment instead of the extension points.

@ptziegler ptziegler added the good first issue Good for newcomers label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant