使用Java实现Windows资源管理器图标叠加的方法 [英] Method to implement Windows Explorer icon overlays with Java
问题描述
我正在用Java编写云同步应用程序,使用.jni集成来在Windows资源管理器中虚拟化云文件系统。
I am writing a cloud-sync application in Java with .jni integration to virtualize a cloud file-system in windows explorer.
现在我要实现图标叠加像owncloud一样可以看到这样一个节点的状态:
Now i want to implement icon overlays like owncloud to see the state of a node like this:
我找到了一些C#的解决方案。如果使用jni接口来访问图标处理程序,这对Java也是可行的。
I found some solutions for C#. Is this also possible with Java if using a jni interface to get access to the Icon Handlers.
任何人都知道现有的解决方案吗?
Anyone knows a existing solution?
PS最后一个问题是4年,所以最终有一个新的解决方案,现代系统与java8结合使用本机.dll。
P.S. Tha last question for this is 4 years old so there is eventually a new solution for modern systems with java8 in combination with a native .dll available.
谢谢你的提示。
推荐答案
我刚刚找到了Java 1.7+的解决方案,结合了native和jni dll。适用于Windows Vista +,Mac和Linux。
I just found a solution for Java 1.7+ in combination with native and jni dlls. Works with Windows Vista+, Mac and Linux.
Liferay Nativity是一个跨平台库,用于向文件浏览器添加图标叠加和上下文菜单。
"Liferay Nativity is a cross-platform library for adding icon overlays and context menus to file browsers."
你可以在这里找到GIT项目:
You can find the GIT project here:
https://github.com/liferay/liferay-nativity
任何人都成功地整合了这个?现在尝试做一个测试实现。
Anyone sucessfully integrated this? Trying to do a test implementation now.
这篇关于使用Java实现Windows资源管理器图标叠加的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!