You are previewing Instant Eclipse 4 RCP Development How-to.
O'Reilly logo
Instant Eclipse 4 RCP Development How-to

Book Description

Over 10 practical recipes for creating rich client applications using Eclipse 4

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results

  • Produce rich client standalone applications using Eclipse 4

  • Create an application user interface using an application model

  • Customize and package your applications for multiple target platforms

In Detail

Standalone desktop applications are important in this era of web and mobile applications. Eclipse provides a rich set of APIs and tools, not just to create IDEs but also to create cross-platform standalone applications. Eclipse 4 has introduced many new concepts and APIs that make creating rich client application a lot easier.

Instant Eclipse 4 RCP Development How-to is a practical and hands-on guide to developing standalone applications. It also describes concepts and APIs used to perform specific tasks. The tasks identified in this book are most commonly performed in developing standalone applications of various levels of complexity.

Instant Eclipse 4 RCP Development How-to takes the approach of learning new features of Eclipse 4 by breaking them into specific tasks and progressively building a sample application using new features.

The book covers end-to-end workflow from setting up the development environment, creating the user interface, event handling, and displaying and saving data, to customizing and packaging the application. It provides code snippets for each task and explains the Eclipse 4 APIs and concepts used in them.The code will be easy to follow, making up part of the process of creating the entire sample application.

Table of Contents

  1. Instant Eclipse 4 RCP Development How-to
    1. Instant Eclipse 4 RCP Development How-to
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant Eclipse 4 RCP Development How-to
      1. Setting up a development environment (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Eclipse concepts
      2. Creating a skeleton E4 application (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
      3. Adding menu and toolbar items (Intermediate)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Using direct menu items
          2. Compiler warnings for E4 APIs
      4. Adding views (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Setting container data of parts
          2. Setting layout data
      5. Injecting your own objects (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      6. Creating a pop-up menu (Intermediate)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Adding mouse listener to the TableViewer class
          2. Creating core expression
          3. Setting the core expression for Menu Item
      7. Creating custom events and handlers (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Handling selection change events in the TableViewer class
          2. Saving snippet data
      8. Adding a keyboard shortcut (Simple)
        1. How to do it...
        2. How it works...
      9. Creating custom objects using DI (Intermediate)
        1. How to do it...
        2. How it works...
        3. There's moreā€¦
          1. Set initial size of SearchDialog
          2. Perform a search operation on OK
          3. Implement getter methods for SearchDialog members
      10. Creating views dynamically (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Displaying search results
      11. Styling an application using CSS (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Finishing the application
      12. Customizing and exporting the application (Simple)
        1. How to do it...
        2. How it works...