C# 클래스 ZeroInstall.DesktopIntegration.Unix.ContextMenu

Contains control logic for applying Store.Model.Capabilities.ContextMenu and AccessPoints.ContextMenu on GNOME systems.
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
Apply ( FeedTarget target, Store contextMenu, bool machineWide, ITaskHandler handler ) : void

Adds a context menu entry to the current system.

Remove ( Store contextMenu, bool machineWide ) : void

Removes a context menu entry from the current system.

메소드 상세

Apply() 공개 정적인 메소드

Adds a context menu entry to the current system.
The user canceled the task. A problem occurs while writing to the filesystem. A problem occured while downloading additional data (such as icons). Write access to the filesystem is not permitted. The data in is invalid.
public static Apply ( FeedTarget target, Store contextMenu, bool machineWide, ITaskHandler handler ) : void
target ZeroInstall.Store.FeedTarget The application being integrated.
contextMenu Store The context menu entry to add.
machineWide bool Add the context menu entry machine-wide instead of just for the current user.
handler ITaskHandler A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
리턴 void

Remove() 공개 정적인 메소드

Removes a context menu entry from the current system.
A problem occurs while writing to the filesystem. Write access to the filesystem is not permitted. The data in is invalid.
public static Remove ( Store contextMenu, bool machineWide ) : void
contextMenu Store The context menu entry to remove.
machineWide bool Remove the context menu entry machine-wide instead of just for the current user.
리턴 void