Skip to content

'Switch to Editor' dialog does not include parts contributed via e4 model fragment which represent an Editor #2764

@feilimb

Description

@feilimb

Steps to Reproduce

To reproduce you will need to define an editor part which is contributed via an e4 model fragment (eg. via a PartDescriptor), and can be opened eg. via a Menu addition.

It should be marked as closeable and given the magic 'Editor' tag (see screenshot snippet below):

Image

Launch the IDE application and open the newly contributed Part which represents an Editor and was contributed via a model fragment.

Go to the Switch to Editor dialog, via Window/Navigation/Switch to Editor

The dialog does not include the Part contributed via model fragment which represents an Editor, it will contain any other compatibility layer editors which have been opened, eg. the simple Text Editor.

Notes

Looking at platform source code, there appears to multiple places where the 'Editor' tag is checked to perform some handling based on its presence.

Would it be possible to update the Switch to Editor dialog, to also cater for e4 part(s) contributed which represent Editor(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions