Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Missing the EGIT Menu Items(How to get the EGit menu items in my custom editor)
Missing the EGIT Menu Items [message #1847037] Tue, 12 October 2021 19:34 Go to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 122
Registered: July 2009
Senior Member
I'm new to integration with Team and EGit.
I have a custom editor that uses a TreeView with custom nodes and providers.

When I right click on a node the Compare and Replace menus are missing the EGit Menu items (see attach screen shot).

What do I need to implement for the GIT to show the valid menu items?

Thanks\Yigal.
Re: Missing the EGIT Menu Items [message #1847041 is a reply to message #1847037] Tue, 12 October 2021 21:32 Go to previous message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 122
Registered: July 2009
Senior Member
I found the issue. I use in the Editor and EMF model and the EObject is not IAdaptable.
To solve the issue, I created an AdapterFactory to convert the EObject into IResource and now I get all the EGIT menu items correctly.
Previous Topic:How to retrieve merge conflict info using conflicting files
Next Topic:Eclipse keeps asking password and user when pushing GitHub
Goto Forum:
  


Current Time: Mon Sep 26 04:28:51 GMT 2022

Powered by FUDForum. Page generated in 0.02356 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top