<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT image EMPTY>
<!ATTLIST image
commandId CDATA #REQUIRED
icon CDATA #REQUIRED
disabledIcon CDATA #IMPLIED
hoverIcon CDATA #IMPLIED
style CDATA #IMPLIED>
특정 명령과 연관시킬 이미지
<extension point=
"org.eclipse.ui.commandsImages"
>
<image commandId=
"ProfileLast"
hoverIcon=
"icons/full/etool16/profile.gif"
disabledIcon=
"icons/full/dtool16/profile.gif"
icon=
"icons/full/etool16/profile.gif"
/>
<image commandId=
"ProfileLast"
hoverIcon=
"icons/full/etool16/history.gif"
disabledIcon=
"icons/full/dtool16/history.gif"
icon=
"icons/full/etool16/history.gif"
imageStyle=
"toolbar"
/>
</extension>
Workbench 안에서 org.eclipse.ui.handlers.ICommandImageService
인터페이스를 사용하여 명령에 해당하는 이미지를 가져올 수 있습니다. 이 인터페이스는 IWorkbench 자체 같이 지원 Workbench 오브젝트로부터 검색할 수 있습니다. 서비스를 검색하려면
IWorkbench.getAdapter(ICommandImageService.class)와 같은 호출을 작성할 수 있습니다.
Copyright (c) 2005 IBM Corporation and others.
All rights
reserved. 본 프로그램 및 본 프로그램에 동봉되는 자료는 본 배포물에 동봉되는 Eclipse Public License v1.0의 조항에 따라 사용해야 하며
웹 사이트(http://www.eclipse.org/legal/epl-v10.html)에서도 관련 사항을 참조할 수 있습니다.