Editor View에서만 팝업 메뉴 활성화 방법
개발/Eclipse PlugIn 2021. 1. 15. 13:17 |이클립스의 Editor View에서만 팝업 메뉴를 활성화하고자 찾아본 결과
다음과 같았다.
<command commandId="org.my.command.IdCommand" id="org.my.popup.IdCommand"> <visibleWhen> <with variable="selection"> <instanceof value="org.eclipse.jface.text.iTextSelection"/> </with> </visibleWhen> |
참조 사이트 : stackoverflow.com/questions/1694748/adding-item-to-eclipse-text-viewer-context-menu |
'개발 > Eclipse PlugIn' 카테고리의 다른 글
java.net.ProtocolException: Cannot write output after reading input. (0) | 2021.04.27 |
---|---|
EditorView에서 현재 커서가 위치한 라인 저보를 가져오는 방법 (0) | 2021.01.18 |
특정 ID의 View를 열고자 할 때 (0) | 2021.01.15 |