- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Dr Alex Blewitt
- 150字
- 2021-07-14 10:36:31
Why JFace?
While SWT provides generic implementations for basic widgets (such as trees, buttons, labels, and so on), these often work at a level that deals with strings and responds to selection by integer index. To make it easier to display structured content, JFace provides several viewers that provide combinations of SWT widgets and event managers to provide a UI for structured content.
There are many types of viewer—which are all subclasses of Viewer
—but the most common ones are ContentViewer
subclasses such as TreeViewer
and TableViewer
. There are also text-based viewers such as TextViewer
and SourceViewer
, as well as operational views such as DetailedProgressViewer
for the Progress
view. In this chapter, we will create views based on TreeViewer
and TableViewer
. Since JFace is based on SWT (described in Chapter 2, Creating Views with SWT), knowing how SWT works is essential to understand how JFace is used.
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問(wèn)題的Java實(shí)現(xiàn)
- Vue.js 3.0源碼解析(微課視頻版)
- Visual Basic學(xué)習(xí)手冊(cè)
- Learning jQuery(Fourth Edition)
- Android傳感器開發(fā)與智能設(shè)備案例實(shí)戰(zhàn)
- Unity 3D腳本編程:使用C#語(yǔ)言開發(fā)跨平臺(tái)游戲
- Unity&VR游戲美術(shù)設(shè)計(jì)實(shí)戰(zhàn)
- 響應(yīng)式Web設(shè)計(jì):HTML5和CSS3實(shí)戰(zhàn)(第2版)
- Scala編程實(shí)戰(zhàn)
- ActionScript 3.0從入門到精通(視頻實(shí)戰(zhàn)版)
- Clojure Polymorphism
- WordPress Search Engine Optimization(Second Edition)
- The Python Apprentice
- 瘋狂Ajax講義(第3版)
- Instant AutoIt Scripting