Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

The Eclipse Graphical Editing Framework (GEF)

The Eclipse Graphical Editing Framework (GEF)

5.0 3
by Dan Rubel

See All Formats & Editions

As Eclipse-based applications become increasingly popular, users are demanding more sophisticated graphical interfaces. When standard widgets aren’t enough, graphics built with GEF are often the best solution. The Eclipse Graphical Editing Framework (GEF) covers everything Java tool developers need to create tomorrow’s richest, most visual


As Eclipse-based applications become increasingly popular, users are demanding more sophisticated graphical interfaces. When standard widgets aren’t enough, graphics built with GEF are often the best solution. The Eclipse Graphical Editing Framework (GEF) covers everything Java tool developers need to create tomorrow’s richest, most visual interfaces.


This practical, hands-on guide begins by introducing GEF, Draw2D, and Zest, and demonstrating what can be achieved with them. Next, the authors walk through building a simple Draw2D example, helping new GEF developers understand the core capabilities available to them. Building on this foundation, they progressively introduce more of the Draw2D frameworks, including Figures, Layout Managers, Connections, Layers, and Viewports. They present a chapter-length graph visualization project based on Zest, followed by detailed coverage of non-Draw2D portions of GEF.


The book’s final section walks step by step through developing a complete GEF editor. Each chapter focuses on a different aspect of the problem, and includes challenges, solutions, diagrams, screenshots, cookbook-style code examples, and more.


This book is organized to help developers solve immediate problems quickly, while also gaining in-depth knowledge for building advanced solutions. Relevant APIs are included in several chapters, making this an even more useful standalone reference.


This book

  • Introduces GEF application components such as shapes, flow, logic, and text
  • Explains Draw2D architecture, drawing features, and event processing
  • Shows how to create and customize figures, use painting and borders, and work with each Draw2D Layout Manager
  • Thoroughly explains GEF models, including domain and presentation information, populating diagrams, and more
  • Shows how to use Zest’s content providers, filters, and layout algorithms
  • Covers EditParts, EditPolicies, Tools, Commands, Actions, and much more


The Eclipse Graphical Editing Framework (GEF)

is the best resource for all Java tool developers who want to construct sophisticated graphical editing products that integrate with Eclipse, for experienced Eclipse users who want to start creating their own graphical tools, and for anyone who wants to see what makes GEF tick.

Product Details

Pearson Education
Publication date:
Eclipse Series
Sold by:
Barnes & Noble
File size:
6 MB

Related Subjects

Meet the Author

Dan Rubel, Senior Software Engineer at Google, is an entrepreneur and an expert in the design and application of object technologies. He has architected and managed several successful commercial products, and was cofounder and CTO of Instantiations, which was acquired by Google.


Jaime Wren, a software engineer at Google, has extensive experience developing commercial Eclipse-based tools. At Instantiations, he made significant contributions to the CodePro and WindowBuilder product lines. He continues to work on WindowBuilder as a member of the Google Web Toolkit (GWT) team.


Eric Clayberg, Software Engineering Manager for Google, is a seasoned software technologist, product developer, entrepreneur, and manager, with extensive Java and Eclipse experience. The primary author and architect of more than a dozen commercial Java and Smalltalk add-on products, he cofounded both ObjectShare and Instantiations.

Customer Reviews

Average Review:

Post to your social network


Most Helpful Customer Reviews

See all customer reviews

The Eclipse Graphical Editing Framework (GEF) 5 out of 5 based on 0 ratings. 3 reviews.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Apperently she is not here
Anonymous More than 1 year ago
Enders Chapter 3 For a moment, everyone stares in awe at the yawning hole that shows a clear, starry sky beyond. Then they pump their fists and scream delightedly. "Woooooo-hoo!" Someone hollers, and the explosion is forgotten. "Oh my God, did you see that?" I ask Jonah. "Yeah. Just a lights show." He replies dismissively. "No way! The bang, the smoke..." I look warily at the ceiling. "I don't see any debris raining down or hear any gunshots. Do you?" He folds his arms. I stare at him disbelievingly. "A chunk of ceiling just blew up!" I protest. "That was planned." "Yeah, for the party. They probably opened a panel in the ceiling and shot off some fireworks to add excitement. No problem." Jonah shrugs. "I guess... it was so perfect, though. So... exact." I frown at the gap again. "Whatever. No one's hurt, no one's dead. Everything's cool. Don't turn this into some big thing." I nod and look away from the damaged roof. Jonah puts a hand om my shoulder. "Hey," he says. I turn to him, no longer in a carefree mood. "It's okay." He studies my face, then grasps my hand. "Let's get some fresh air." He leads me outside. On the dark sidewalk, we stand side by side in silence. Street lights cast eerie beams on the asphalt, and the moon glows silver. Every glittering star is visible. "Something's wrong." I say softly. "Yeah." He agrees. I realize that he's still gripping my hand, and I'm thankful for the support. "Why would that happen? It's pretty strange that something like that would happen on the night the Enders get back." Dread creeps into my mind. I scan the dark street and take a step closer to Jonah. I feel someone watching me. I glance over and catch Jonah's eyes on me. But no, that's not it... even when he turns away, I get the chilling feeling that someone's in the shadows of an alley, waiting to strike. * * * Jonah walked me home. I had insisted that he stay, for fear that whoever I had felt earlier would... well, I just can't let him go alone. He's my friend. I pull him inside and shut the door quietly. I catch the gleam of big green eyes in the dark house, and a small figure moves toward me. Jonah stiffens. "Hi, Pear." My nine-year-old sister, Lucy, whispers. "Hey, Lucy." I reply, also in a whisper. "Grandma's asleep. Who's that?" She shoots a curious look at Jonah. "A friend. It... it's not safe outside tonight." Her eyes widen in shock. "What happened?" "Nothing. I just have a feeling that something's up." Lucy nods, understanding. My sister and I have a connection of some sort. "I'll show your friend the guest room." She offers. Jonah follows her across the front room and into the guest room. A moment later, Lucy returns, and closes the door behind her. "You go to sleep." I tell her gently. I ruffle her blond curls and hug her before heading to my room. I immediately grab my phone and switch it on. August and my friends Reagan, Melissa, and Jesse had all texted me. I set down my phone and hop into bed. Surely they can wait until tommorow...