Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

public static void main(String args[]) {
    System.out.println("Hello world");

Where keywords of the languages are typeset in bold, and references to static members are typeset in italics (for example, Java static methods).

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>exec-maven-plugin</artifactId>
  <version>1.4.0</version>
  <executions>
 <execution>
 <!-- new execution for generating EMF classes -->
      <id>mwe2GenerateEMFClasses</id>

Any command-line input or output is written as follows:

mvn org.eclipse.tycho:tycho-versions-plugin:set-version
 -DnewVersion=1.1.0-SNAPSHOT -Dtycho.mode=maven

Bibliographic references are of the form "Author" "year" when there is a single author, or "First author" et al. "year" when there is more than one author. Bibliographic references are used for books, printed articles or articles published on the web. The Bibliography can be found at the end of the book.

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Clicking the Next button moves you to the next screen." When the user is requested to select submenus, we separate each menu with a pipe, like this: "To create a new project, navigate to File | New | Project...".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.