Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
extending [2016/03/24 11:38] christian [Add attributes] |
extending [2016/09/28 23:05] (current) 93.204.170.83 ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 42: | Line 42: | ||
=== Choose a class name === | === Choose a class name === | ||
- | As name for this example, I use '' | + | As name for this example, I use '' |
=== Choose the superclass === | === Choose the superclass === | ||
Line 147: | Line 147: | ||
=== The type: pragma === | === The type: pragma === | ||
- | Mandatory is the ''< | + | Mandatory is the ''< |
=== The documentation pragma === | === The documentation pragma === | ||
Line 188: | Line 188: | ||
===== Customize an object type ===== | ===== Customize an object type ===== | ||
- | docs, icon, string, attributes | + | Now, the PDF type is sufficiently defined to be usefully displayed in the PDFExplorer. But more can be done by defining some of the following methods. |
+ | |||
+ | ==== Optional customization methods ==== | ||
+ | |||
+ | === Display name === | ||
+ | |||
+ | The method '' | ||
+ | |||
+ | === Icon === | ||
+ | |||
+ | The method '' | ||
+ | |||
+ | === Excluding | ||
+ | |||
+ | Some attributes clutter the treeview on the left side of the PDFExplorer. For example, every '' | ||
+ | |||
+ | By defining the method '' | ||
+ | |||
+ | <code smalltalk> | ||
+ | displayKeysToOmit | ||
+ | ^super displayKeysToOmit | ||
+ | </ |