Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » UI dependencies in egit core
UI dependencies in egit core [message #576554] Fri, 11 December 2009 10:06
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
I find a dependency to org.eclipse.ui from the org.eclipse.egit.core. Looking closer I see that some operations
implement the IRunnableWithProgress interface from jface.

Since this makes it hard to use the egit.core in a headless environment, I would suggest you remove that dependency and
instead wrap the affected code in an IRunnableInProgress when using it in the org.eclipse.egit.ui component. An
alternative might be to use the IWorkspaceRunnable instead and then wrap that in a IRunnableWithProgress in the UI. That
way, you free the headless part from the need of a large number of UI bundles that are never needed.

Thomas Hallgren
Previous Topic:Examining remote repositories
Next Topic:File permissions
Goto Forum:

Current Time: Wed Feb 19 05:08:26 GMT 2020

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

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

Back to the top