Design Patterns Used in Eclipse Platform
Here I summarize the design patterns used in Eclipse platform. Understanding design patterns used in Eclipse is the key for understanding Eclipse platform.
Eclipse architecture has a clear layered structure. Each layer is independent to each other but interactive with each other. To better understand a framework, it is a good idea to start from a general view of the design patterns idea behind.
This is only a summary, design patterns used in each layer are illustrated.
- Platform Runtime: Adapter(Part 1,Part 2,Part 3), Singleton
- Workspace: Proxy and Bridge, Composite, Observer, Visitor
- SWT: Composite, Strategy, Observer
- JFace: Strategy, Command
- Workbench: Memento, Visual Proxy
<pre><code> String foo = "bar"; </code></pre>
-
HaroldLongo