Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Papyrus/Papyrus Developer Guide/How to - Add your own editor in Papyrus
< Papyrus | Papyrus Developer Guide
Revision as of 04:09, 26 January 2018 by Quentin.lemenez.cea.fr (Talk | contribs) (Quentin.lemenez.cea.fr moved page Papyrus Developer Guide/How to - Add your own editor in Papyrus to Papyrus/Papyrus Developer Guide/How to - Add your own editor in Papyrus)
Contents
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