如何使用JAVA将项目添加到Mac OS X的Finder上下文菜单中? [英] How do I add items to the Finder context menu in Mac OS X using JAVA?
问题描述
我正在尝试将Java应用程序移植到Mac OS,我的程序需要在Finder上下文菜单中添加项目,是否可以通过使用Java 添加项目?
I'm trying to port Java application to Mac OS, My program needs to add items to Finder context menu, Is there a way to add items using Java?
谢谢
推荐答案
一个老问题,但为了繁荣,我想尝试回答这个问题.
An old question, but for prosperity, I'd like to try to answer this.
Liferay Nativity (Java)库是一种以编程方式添加图标叠加层的跨平台方式以及用于Mac,Windows和Linux的文件浏览器的上下文菜单.
The Liferay Nativity (Java) library is a cross-platform way of programatically adding icon overlays and context menus to file browsers, for Mac, Windows and Linux.
在Mac上, Liferay Nativity 依赖于基于Objective-C的' Finder同步框架:
On Mac, Liferay Nativity relies on the Objective-C-based 'Finder Sync' framework:
- Finder Sync overview (Mac OSX)
- Finder Sync API Docs
这篇关于如何使用JAVA将项目添加到Mac OS X的Finder上下文菜单中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!