그냥 사는 이야기

jface snippets들을 실행하기 위한 build path 본문

Development/개발언어

jface snippets들을 실행하기 위한 build path

없다캐라 2007. 12. 14. 15:20
반응형

3.3 what's new에서 보면

Per-column label providers, improved editing support

AbstractTableViewer and AbstractTreeViewer now inherit from a new base class ColumnViewer. A new abstraction for columns in viewers has been introduced, making it possible to use a separate label provider for each column. After creating a viewer, create appropriate viewer column objects (TableViewerColumn or TreeViewerColumn) and call setLabelProvider on the column object rather than the viewer itself. The new column abstraction also makes it easier to set up an editable table or tree - see ViewerColumn.setEditingSupport(), and to add keyboard navigation to editable tables or trees - see TableViewerEditor.create() and TreeViewerEditor.create(). Code examples can be found on the JFace snippets page.

jface snippets의 example들을 실행시키기 위해 꼭 땡겨 줘야 하는 buildpath

  • org.eclipse.jface
  • org.eclipse.core.commands
  • org.eclipse.equinox.common

특히 마지막 common을 추가 안하면 Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/runtime/ISafeRunnable 발생한다.

Comments