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

Papyrus/Papyrus Developer Guide/How to - Add your own editor in Papyrus

How to - Create your own editor

Cooming soon

How to - Contribute to the HyperLinkShell (Work in progress)

Here, Editor Kind refers to Diagram, Table, or others and not to Class Diagram, Activity Diagram, ...

Currently, the HyperLinkShell contains 3 tabs, which are creating using the following extension points :

  • org.eclipse.papyrus.infra.hyperlink.registration
  • org.eclipse.papyrus.infra.hyperlink.editor.registration
  • org.eclipse.papyrus.infra.hyperlink.tab.registration

org.eclipse.papyrus.infra.hyperlink.registration

This extension point allows to register an helper to create a new tab in the dialog. This extension point needs 3 parameters :

  • helper : a sub-class of org.eclipse.papyrus.infra.hyperlink.helper.AbstractHyperLinkHelper, which allows to build the new tab.
  • position : the position of the tab
  • tabId : an id for the tab

org.eclipse.papyrus.infra.hyperlink.editor.registration

This extension point allows to contribute to the Editors Tab. This extension point needs 1 parameter :

  • helper : a sub-class of org.eclipse.papyrus.infra.hyperlink.helper.AbstractHyperLinkEditorHelper, which allows to manage your own editor kind in the dialog

org.eclipse.papyrus.infra.hyperlink.tab.registration

This extension point allows to register your own tab. This extension point needs 3 parameters :

  • tab : a sub-class of org.eclipse.papyrus.infra.hyperlink.ui.AbstractHyperLinkTab,
  • position : the position of the tab
  • tabId : an id for the tab

Back to the top