기본 콘텐츠로 건너뛰기

글

라벨이 rcp인 게시물 표시

Data between views in eclipse rcp

ISourceProviderListener http://www.vogella.com/articles/EclipseCommandsAdvanced/article.html http://www.ibm.com/developerworks/opensource/library/os-ecllink/?ca=dgr-lnxw09EclipseGUIviews You have the different communication paradigm summarize in the  IBM article To make a view capable of listening to selection changes, a view must implement the  ISelectionListener interface and must register itself with the workbench page Using the  IAdaptable  interface: A class that implements  IAdaptable  has the capability to dynamically return certain types of adapters that can then be used to retrieve further information. property change listener paradigm Regarding the first approach, the article details: https://stackoverflow.com/questions/2227701/how-to-communicate-between-views-in-eclipse-rcp

eclipse rcp project study 01

rcp development 1. development build automation 2. server communication I need to save and restore everything of all views  stackoverflow --  https://stackoverflow.com/questions/22787018/how-to-save-view-part EMF 를 언급 했다. emf가 모든 뷰 상태를 저장 할 수 있는 느낌인데 EMF 프로젝트는 구조적인 데이터 모델에 기반한 애플리케이션을 위한  모델링 프레임워크 이자  코드 생성기술 이다. 실용 기술적인 측면에서 EMF는 XMI [1] 에 기술된 모델 명세를 바탕으로 해당 명세를 구현하는 Java 클래스들을 생성하는 도구를 제공하며, 생성된 코드가 작동하는데 필요한 런타임을 지원한다. 이러한 런타임 지원은 커맨드 기반의 기본 모델 편집기, 모델의 UI노출등을 돕는  어댑터  클래스들을 포함한다. EMF가 제공하는 도구: 메타 모델 편집기(통칭 Ecore 편집기) Ecore 다이어그램 편집기(시각 기반 Ecore 편집기) Java 소스 코드 생성 모델 편집기 및 생성기 생성되는 코드: 모델 명세에 대한 구현을 담은 Java 클래스들 모델 팩토리 및 패키지 추상화 클래스, 모델 유틸리티 클래스. 모델을 UI와 연결시키는 다양한 어댑터 기본 모델 편집기 EMF가 제공하는 런타임 API: 메타모델 리플렉션 API 트랜잭션/커맨드 API 직렬화 API EMF의 작업 흐름은 매우 현실적며 실천적이다. 간단하게 말하면 UML 클래스 다이어그램을 정의하면, Java 코드를 즉시 생성할 수 있다. 추상적이거나 뜬 구름과 같은 MDA가 아니며, 실제로 유용한 모델 구현을 즉시 얻을 수 있다. 모델이 파일로 저장되고 UI를 통해 편집되는 애플리케이션을 개발하는 중이라면, EM...