Eclipse RCP - first day

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Eclipse RCP - first day - Presentation Transcript

    1. Eclipse RCP 첫날 ECLIPSE RCP 조현종(2009/05/01) http://cafe.naver.com/eclipseplugin http://hangumkj.blogspot.com/ hangum@gmail.com
    2. 목 차  Eclipse RCP란?  Eclipse 살펴보기  HelloWorld RCP  실행 환경  RCP 생명주기  SWT/JFACE  View and Editor  Commands and Actions  Perspectives  Perference Pages  Dialogs and Wizards  실습
    3. Eclipse RCP란?  Eclipse 3.0 때부터 출발  컴포넌트화  미들웨어 및 기반구조  네이티브 UI제공  이식성  제품설치와 업데이트  비 연결성 동작  개발 도구 지원  컴포넌트 라이브러리
    4. Eclipse RCP란?  환경  JDK 6.0  Eclipse for RCP/Plug-in Developers  3.4 M20090211-1700  SWT Designer 6.7.1
    5. Eclipse RCP 요소 살펴보기
    6. Eclipse 살펴보기
    7. Eclipse 살펴보기
    8. HelloWorld RCP  New PlugIn Project
    9. HelloWorld RCP  plugin.xml : Plugin 정보를 수록한다.  MANIFEST.MF : OSGi 파일로, Plugin 이름, 버 전 ID, Classpath, Plugin dependenc등이 있다.  Application : Workbench, Application UI 시작  ApplicationWorkbenchAdvisor : Workbench의 시작과 종료를 관리한다.  ApplicatonWorkbenchWindowAdvisor : 메뉴, 툴바, 상태표시줄 등과 원도우를 정의한다.  ApplicationActionBarAdvisor : 메뉴, 툴바, 상 태표시바의 액션을 정의한다.  Perspective : 화면을 구성한다.
    10. HelloWorld RCP  Overview : plugin 요약정보 출력  Dependencies : 포함된 플러그인 정보 출력  Runtime : 외부 plugin이 자신을 참조 할수 있 는 지 여부와 외부 library(jar)등을 정의  Extensions : 외부 plugin에서 정의한 기능을 확장하기 위한 정의  Extension Points : 자신의 확장점을 정의.  Build : 배포시 포함 해야할 리소스 정의  MANIFEST.MF :  plugin.xml :  build.properties :
    11. 실행 환경  실행 할 Product 설정 및 설정 파일을 저장할 디렉 토리 설정
    12. 실행 환경  OSGi 옵션 설정 및 JVM 옵션 설정한다. Ex) -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} 실행할 RCP를 영어로 실행 해 주고 싶을 경우 –nl en 으로 바꾸어서 테스 트 해볼수 있다. 혹은 –consolelog, -console, -debug등을 입력하여 osgi 메시지를 확인할 수 있 다.
    13. 실행 환경  실행 할 플러그인 및 참조해야 할 플러그인 설 정한다. 실행할 플러그인을 (HelloWorld)를 선택한 후 -> Add Required Plug-Ins 선택한다. 선택하면 HelloWrold Plug-in이 필요 한 플러그인이 자동으로 추가된다. Validate Plug-ins 를 클릭하여 이상이 없다는 메시지가 출력되면 정상이다. RUN을 눌러 정상작동 되는지 확인한다.
    14. RCP 생명주기
    15. SWT/JFACE  SWT?(Standard Widget Toolkit) - 2001년도 발표. - CPL(Common Public License) 라이선스 소스코드의 변경, 상업적 이용 모두 무료 - OS에 최적화 된 native library 제공 Windows, Linux, Unix, Mac OS - www.eclipse.org/swt
    16. View and Editor  Viewer  Editor  모든 editor가 공유하고 editor영역안에  자신만의 메뉴와 툴바를 가질수 있다. 위치한다. Editor영역안에서 분할은 가능  드래그하여 워크벤치 원도우 밖으로 하지만 벗어날수 없다. 빼낼수 있다.  주메뉴와 공통 툴바를 공유한다  사용자가 변경을 수행해도 바로 저장되 지 않는다. 명시적으로 요청해야한다. Extension Extension org.eclipse.ui.views org.eclipse.ui.views
    17. View and Editor Extensions ViewPart.java …. public static String ID = \"HelloWorld.tableView\"; @Override public void createPartControl(Composite parent) { final Label helloWorldLabel = new Label(parent, SWT.NONE); helloWorldLabel.setText(\"Hello World\"); } …
    18. Commands and Actions  메뉴나 툴바를 이용하여 사용자에게 행위 부여 -Extension 위치 Extensions 비고 Workbench와 window org.eclipse.ui.actionSets Viewer org.eclipse.ui.viewActions Editor org.eclipse.ui.editorActions Menu org.eclipse.ui.popupMenus
    19. Perspectives 현재 출력 시켜 줄 관점을 정의한다. -Extensions org.eclipse.ui.perspectives
    20. Preference Pages  시스템 환경변수 설정 - Extensions org.eclipse.ui.preferencePages org.eclipse.core.runtime.preferencs
    21. Dialogs and Wizards 시스템환경 설정 - Extensions org.eclipse.ui.importWizard org.eclipse.ui.exportWizard org.eclipse.ui.newWizard org.eclipse.ui.propertyPages
    22. Dialogs and Wizards 종류 ErrorDialog MessageDialog InputDialog ProgressMonitorDialog
    23. 실습 예제데이터(cvs) 이름,나이,전화번호,주소 톰,47,010-1234-1235,미국헐리우드 제리,48,010-1234-1234,한국 놀부,500,02-1234-1231,한국 흥부,498,02-2345-3456,한국
    24. 참고자료  Eclipse Help  이클립스 실전 플러그인 개발  이클립스 RCP  http://cafe.naver.com/eclipseplugin
    SlideShare Zeitgeist 2009

    + cho hyun jongcho hyun jong Nominate

    custom

    1012 views, 0 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1012
      • 929 on SlideShare
      • 83 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 28
    Most viewed embeds
    • 83 views on http://hangumkj.blogspot.com

    more

    All embeds
    • 83 views on http://hangumkj.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories