Skip to main content
  • Log in
  • Manage Cookies
Eclipse Foundation
Download
  • Projects
  • Working Groups
  • Members
  • Community
    • Marketplace
    • Events
    • Planet Eclipse
    • Newsletter
    • Videos
    • Blogs
  • Participate
    • Report a Bug
    • Forums
    • Mailing Lists
    • Wiki
    • IRC
    • Research
  • Eclipse IDE
    • Download
    • Learn More
    • Documentation
    • Getting Started / Support
    • How to Contribute
    • IDE and Tools
    • Newcomer Forum
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Blogs
  3. Wayne Beaton's blog
  4. Eclipse Forms Article

Eclipse Forms Article

Monday, January 16, 2006 - 10:58 by Wayne Beaton

Earlier today, I posted an article on Eclipse Forms by Dejan Glozic onto the Eclipse Corner Articles site. It’s pretty powerful stuff; using the Forms API, you can build user interface components that look and feel “browser-like”. As the article suggests, forms are probably best suited for views and editors (not dialogue boxes), but you can use them anywhere it makes sense for you. The PDE makes extensive use of it and is a good demonstration of the power provided.

While editing this article, I made use of the advice it gives in my EBay sample RCP application. I created an editor that uses the Forms API to display some information about the selected item.


I especially like the collapsible sections and the form text control for the description. Using form text was a little problematic: the documentation for form text explicitly states that it is not intended as a replacement for a browser, but it does support a lot of HTML markup. Unfortunately, EBay descriptions tend to contain a huge amount of arbitrary markup, so I had to write a little code to sanitize the HTML and parse out all the weirdness (tables, divisions, etc.) It’s not perfect yet, but is getting very close to what I want.

In any case, Dejan’s article was very helpful.

Tags: 
Uncategorized
Source: 
https://waynebeaton.wordpress.com/2006/01/16/eclipse-forms-article/
  • Wayne Beaton's blog
  • Sign in to post comments.

Eclipse Foundation Blogs

  • Ian Skerrett (857 posts)
  • Wayne Beaton (796 posts)
  • Mike Milinkovich (290 posts)
  • Benjamin Cabé (131 posts)
  • Ivar Grimstad (104 posts)
  • Tanja Obradovic (39 posts)
  • Thabang Mashologu (32 posts)
  • Christopher Guindon (15 posts)
  • Roxanne Joncas (14 posts)
  • Paul Buck (11 posts)
  • Frédéric Desbiens (11 posts)
  • Brian King (9 posts)
  • Mikaël Barbero (9 posts)
  • Jameka Woodberry (9 posts)
  • Hudson Kelly (8 posts)
  • Denis Roy (5 posts)
  • Gabriela Motroc (4 posts)
  • Shabnam Mayel (3 posts)
  • Gael Blondelle (3 posts)
  • Shanda Giacomoni (2 posts)
  • Sharon Corbett (1 posts)
  • Paul White (1 posts)
  • Jacob Harris (1 posts)
  • Stephanie Swart (1 posts)
  • Michael Plagge (1 posts)

Recent blog posts

  • Share Your News with an Eclipse Foundation Press Release
  • Eclipse Theia Blueprint Now Available for Download
  • Hashtag Jakarta EE #67
  • Three Good Reasons to Complete the Jakarta EE Developer Survey
  • Hashtag Jakarta EE #66
  • Why Java Developers Continue to Rely on Jakarta EE
  • Open VSX: A Vendor-Neutral Home for VS Code Extensions
  • Hashtag Jakarta EE #65
  • Introducing New Che Workspaces on OpenShift
  • Eclipse Jetty 11 Supports the Big Bang
More

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top