The following typographical conventions are used in this book:
- Plain text
Indicates menu titles, menu options, menu buttons, and keyboard accelerators
- Italic
Indicates new terms, example URLs, example email addresses, filenames, file extensions, pathnames, directories, and Unix utilities
-
Constant width
Indicates commands, options, switches, variables, types, classes, namespaces, methods, modules, properties, parameters, values, objects, events, event handlers, or XML tags
-
Constant width italic
Shows text that should be replaced with user-supplied values
Also in this book I use a number of conventions. For example, menu items are separated with an → like so: File→ New→ Project. To make them stand out, new lines of code are highlighted when they’re added, and I indicate more code yet to come with three dots. Here’s an example:
for (int loopIndex = 0; loopIndex < 10; loopIndex++) { TabItem tabItem = new TabItem(tabFolder, SWT.NULL); tabItem.setText("Tab " + loopIndex); Text text = new Text(tabFolder, SWT.BORDER); text.setText("This is page " + loopIndex); tabItem.setControl(text); . . . }
Get Eclipse Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.