How to reopen a viewpart from menu?
2012-05-04 16:23:54

연구노트에도 옮겨적자 ㅠㅠ

public class CallMyViewPart extends AbstractHandler implements IHandler {

@Override

public Object execute(ExecutionEvent event) throws ExecutionException {

Shell shell = HandlerUtil.getActiveWorkbenchWindow(event).getShell();

IWorkbenchPage page = HandlerUtil.getActiveWorkbenchWindow(event).getActivePage();

try {

page.showView("somedomain.mainViewpart");

} catch (PartInitException e) {

e.printStackTrace();

}

return null;

}

}

▼ more
RCP library 추가
2012-05-04 15:17:19

1. Build path

2. config file -> Runtime -> Class path add .jar file

▼ more
RCP ViewPart 객체 얻기
2012-05-04 01:49:23

IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();

ConceptTreeView conceptTreeView = (ConceptTreeView)page.findView(ConceptTreeView.ID);

감사합니다 ㅋ

▼ more
work list
2012-05-02 17:22:33

졸업논문

1. authoring tool

- concept, template, feature, message viewpart ~ 2012/5/2

- export to owl, load owl

- rule viewpart ~ 2012/5/3

2. editor tool : 5/4,5,6,7 4일

3. 가능하면 의료정보학회 : 5/7(5/6~5/7) 2일

4. 졸업논문 2차 완성본 : 5/8,9,10,11,12,13 6일

5. 심사일정

미술과제

1. 트위터 크롤링 customizing, 과제 설명 및 이해 5/3 1일

2. JSON export interface 5/3 1일

▼ more