Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343446

Summary: Integrate with NetworkManager
Product: [Eclipse Project] Platform Reporter: Andrew Overholt <overholt>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: pwebster
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Overholt CLA 2011-04-20 14:05:39 EDT
It would be interesting to integrate the Eclipse platform with NetworkManager on Linux systems.

http://projects.gnome.org/NetworkManager/

Doing so would allow us to do things like not poll for networked resources but instead rely on whether or not the system says it has a connection or not.  CVS synchronization and network-using functionality could rely on this, too.  The Mylyn or EGit projects could make use of it to only attempt to sync when there is a network connection.

I'm sure there are other novel uses of this functionality :)

I'm filing this with Platform UI but if there's a better place, please move it there.
Comment 1 Andrew Overholt CLA 2011-04-20 15:25:09 EDT
Thanks for the re-assignment, Paul.  Maybe it should go to Equinox?  Or SWT?  I guess SWT's platform file support is the closest thing to this that currently exists.  I don't think Team is appropriate as it's something we'd want at a lower level.
Comment 2 Alexander Kurtakov CLA 2011-04-21 05:17:19 EDT
NetworkManager provides a decent dbus api so it should not be that hard to check for active connection. See http://projects.gnome.org/NetworkManager/developers/migrating-to-09/spec.html#org.freedesktop.NetworkManager.Connection.Active . But this will require proper dbus support in the platform - smth that totally makes sense for other integrational problems like PolicyKit usage and etc.
Comment 3 Paul Webster CLA 2011-04-21 10:47:30 EDT
(In reply to comment #1)
> Thanks for the re-assignment, Paul.  Maybe it should go to Equinox?  Or SWT?  I
> guess SWT's platform file support is the closest thing to this that currently
> exists.  I don't think Team is appropriate as it's something we'd want at a
> lower level.

Team is currently responsible for the org.eclipse.core.net plugin (that deals with network connections and proxies).  But they can re-direct if necessary.

PW
Comment 4 Alexander Kurtakov CLA 2018-12-17 07:25:34 EST
In bug 394087 core.net was moved to use gsettings which is good enough IMHO.