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
TreeItemContextMenuContribution should be Tree-specific #2135
Comments
39 tasks
pcdavid
added a commit
that referenced
this issue
Jun 30, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
39 tasks
pcdavid
added a commit
that referenced
this issue
Jun 30, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid
added a commit
that referenced
this issue
Jun 30, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid
added a commit
that referenced
this issue
Jul 3, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid
added a commit
that referenced
this issue
Jul 3, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid
added a commit
that referenced
this issue
Jul 3, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid
added a commit
that referenced
this issue
Jul 4, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
sbegaudeau
pushed a commit
that referenced
this issue
Jul 4, 2023
…ic trees Bug: #2135 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's possible to contribute context menu entries to be added to TreeItems, but this is done in a global context (
TreeItemContextMenuContext
) andTreeItemContextMenuContributionProps#canHandle
is only given theTreeItem
.From that it is not possible to discriminate between different trees (not possible at the moment, but coming soon with #2126).
Tree item actions which make sense in the global Explorer may not make sense in other Tree representations (and vice versa).
The text was updated successfully, but these errors were encountered: