Skip to main content
  • 105 Accesses

Abstract

As chapter 11 explains, the StyledText widget receives a disproportionate amount of attention from SWT’s developers, because it forms the core of Eclipse. As the raison d’être of Eclipse, it enjoys the preferential treatment usually reserved for star athletes, rock stars, or supermodels. Such a VIP could never be left to languish with only the raw widget interface that StyledText provides. Instead, JFace wraps StyledText with such an extensive MVC implementation that all the other widgets chafe with resentment. Sprawling across eight distinct packages, all of whose names begin with org. eclipse. jface. text, and all of which teem with both classes and interfaces, the text-editing framework in JFace would require tomes for complete coverage. To explore it fully would mean describing how to build an award-winning programmer’s editor, which stretches far beyond the scope of this book. Instead, this book settles for a single chapter that covers the high points, but hits enough to prepare you to use JFace’s text editing capabilities in your applications. It focuses on creating a single application—a simple Perl editor—but explains the various technologies it uses to create the program.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Rob Warner with Robert Harris

About this chapter

Cite this chapter

Warner, R., Harris, R. (2004). Editing Text. In: The Definitive Guide to SWT and JFace. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0686-6_18

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0686-6_18

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-325-7

  • Online ISBN: 978-1-4302-0686-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics