Copyright © IBM Corp., 2008. All rights reserved. Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, and more Benjamin Pasero.

Slides:



Advertisements
Similar presentations
Ganymede Simultaneous Release Review © 2008 by Borland Software Corp., made available under the EPL v1.0 MDT UML2Tools 0.8 Ganymede Simultaneous Release.
Advertisements

© 2009 IBM Corporation iEA16 Defining and Aligning Requirements using System Architect and DOORs Paul W. Johnson CEO / President Pragmatica Innovations.
SpreadsheetML Advanced
SpreadsheetML Basics.
Copyright © IBM Corp., All rights reserved. The presentation is licensed under Creative Commons Att. Nc Nd 2.5 license. RESTful Service Oriented.
Copyright © IBM Corp., Introducing the new Web Tools JavaScript™ Features Phil Berkland IBM Software Group 9/26/2007.
KELLER WILLIAMS REALTY Google Early Adopters: Customize Account Settings We will begin at 11:00 AM (Central Time)
RTC Agile Planning Component
V0.1 Inclusive and Accessible Application Design June 21, 2012.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
A Move Toward Agile APM: Application Performance Management Frank Ober, Performance Engineer June 2012.
© Copyright 2008 IBM Corp. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license Using Commands and Menu Contributions.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
® IBM Software Group © 2013 IBM Corporation Innovation for a smarter planet Timeboxes in a New Paradigm of Behavior Modeling Barclay Brown, ESEP IBM
Creating a Blogger Account. Blogger This tutorial will show you how to create a Blogger account and how to publish your first blog post.  Set up the.
Click to add text © 2012 IBM Corporation 1 Streams Toolkit Landscape InfoSphere Streams Version 3.0 Mike Branson Toolkits.
Kimberley Peter. Copyright © IBM Corp., All rights reserved. Source code in this presentation is made available under the EPL, v1.0, remainder of.
Copyright © IBM Corp., All rights reserved; made available under the EPL v1.0 | March 20, 2008 | Short Talk Standards based systems management: An.
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Introduction to Eclipse and Eclipse RCP Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 13, 2006 Argonne National Laboratory, Argonne,
Intel® Education Learning in Context: Concept Mapping Intel Solutions Summit 2015, Dallas, TX.
Copyright © IBM Corp., All rights reserved. The presentation is licensed under Creative Commons Att. Nc Nd 2.5 license. Linking the Physical.
Introduction to Eclipse Plug-in Development. Who am I? Scott Kellicker Java, C++, JNI, Eclipse.
Copyright © IBM Corp., All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license. OpenDocument Format.
© 2009 IBM Corporation ® IBM Lotus Notes and Domino Product Roadmap April 2009.
Copyright © IBM Corp., All rights reserved; made available under the EPL v1.0 | March 19, 2008 | Short Talk Extending TPTP for TTCN-3 Paul Slauenwhite.
Copyright © IBM Corp., The Eclipse™ Babel Project Translation Server Kit Lo IBM™ Corporation.
Copyright © IBM Corp., All rights reserved. From SWT to RCP: Experiences implementing RSSOwl 2.0 with RCP Benjamin Pasero.
© 2008 by Matt Flaherty & Mary Ruddy; made available under the EPL v1.0 Security & Identity : From present to future Matt Flaherty, IBM Mary Ruddy, Meristic.
ABC of Platform Workspace | Copyright © IBM Corp., ABC of Platform Workspace Szymon Brandys Tomasz Zarna IBM Krakow Software Lab.
Click to add text © 2012 IBM Corporation 1 Visualization of View Data Susan L. Cline SWS Visualization.
 2006 Pearson Education, Inc. All rights reserved Introduction to the Visual C# 2005 Express Edition IDE.
Copyright © IBM Corp., | March | Creating Robust Scalable DSLs with UML Tutorial (172) James Bruck, Christian Damus IBM Rational Software.
Copyright © IBM Corp., Introduction to the Eclipse™ Babel Project Kit Lo IBM™ Corporation.
Copyright © IBM Corp., All rights reserved; made available under the EPL v1.0 | March 18, 2008 | Nitin Dahyabhai What can the WTP Snippets View do.
IBM Software Group ® Process Sequence to call ProcessAdminService from browser Thomas.
Functional Testing with Eclipse TPTP | Copyright © IBM Corp., All rights reserved. Source code in this presentation is made available under.
© 2012 IBM Corporation Introducing IBM Cognos Insight.
© 2015 IBM Corporation Big Data Journey. © 2015 IBM Corporation 2.
Click to add text © 2012 IBM Corporation 1 InfoSphere Streams Streams Console Applications InfoSphere Streams Version 3.0 Warren Acker InfoSphere Streams.
A POWERPOINT PRESENTATION HOW TO CREATE…. WHY YOU USE POWERPOINT Well PowerPoint is a vary useful tool when you need to create a presentation. By using.
© 2006 by IBM; made available under the EPL v1.0 | March 20, 2006 | Jeffrey Liu Release Lead IBM Rational Managing APIs with Eclipse API Scanner.
Introduction 1 Lars Vogel 4/22/2009.  Who am I?  Eclipse as a platform  What is Eclipse RCP?  Extension Points / Extensions  Equinox  SWT & JFace.
Connect with the Experts Managing Tealeaf CX with TMS (Tealeaf Management Server) Ron Sires – Tealeaf Support Engineer January 21 st, 2016 This session.
Domino iSeries Multi-Versioning © 2002 IBM Corporation | Lotus software © 2002 IBM Corporation Domino Multi-Versioning Mike Gordon – IBM Global Services.
Click to add text © 2012 IBM Corporation Session # INV305 Getting beyond “good enough” with Microsoft Sharepoint Louis Richardson Worldwide Social Business.
© 2013 IBM Corporation IBM UrbanCode Deploy v6.0.1 Support Enablement Training Source Configuration and Database Upgrades Michael Malinowski
© 2007 by IBM; made available under the EPL v1.0 | Jan 9 th, 2007 Darin Wright IBM Rational Software Debug Platform 3.3.
IBM Innovate 2012 Title Presenter’s Name Presenter’s Title, Organization Presenter’s Address Session Track Number (if applicable)
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
Comparison between EPF Composer and Rational Method Composer
© 2013 IBM Corporation IBM UrbanCode Deploy v6.0 Support Enablement Training Jenkins plug-in 1 November 2013.
© 2009 IBM Corporation 1 Commands in Eclipse 4: Understanding who does what Paul Webster – IBM Rational Canada Remy Suen – IBM Rational Canada 23 March.
Work smarter, keep connected with Lotus Software Jon Crouch | Senior Technical Specialist, Lotus Software Matt Newton | Senior Technical Specialist, Lotus.
Chapter 2 Starting a Project
Deploy Plugins Developer 29 October 2013
Building beautiful and interactive apps with HTML5 & CSS3
Integrating Data With Cognos
Introduction to mobile app development Module 2 – Getting started with apps and App Studio Lance McCarthy.
Microsoft Build /22/2018 4:06 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Reaching more customers with accessible Metro style apps using HTML5
Themes Name Title Company. Themes Name Title Company.
Implementing Listening Producers in IBM Sterling Filegateway
Citation Map Visualizing citation data in the Web of Science
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Learn how to make SharePoint Accessible and Inclusive
Object Constraint Language (MDT OCL) 1
Presentation transcript:

Copyright © IBM Corp., All rights reserved. Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, and more Benjamin Pasero

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Goal for Today: Pimping the Mail Template  First Part  Custom SWT Widgets  Custom Owner Drawn using latest 3.4 API  Rich Tooltips with JFace  Second Part  Custom Presentation  Product Transformation  Custom Splash Handler

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Setup Eclipse 3.4 and the Mail Template  Make sure to use Eclipse 3.4 M5  Create a new Plug-in Project  From the Templates choose RCP Mail Template  Open the plugin.xml  Execute Launch an Eclipse application  The UI is nice, but we can do better!

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Using the PShelf Widget from Nebula  The Nebula Project:  Official source for custom SWT Widgets  Examples  Grid  Gallery  GanttChart  PShelf  CDateTime

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Writing our own Custom Widget  SWT:Two strategies  Custom Widget by extending Canvas  Custom Compound Widget by extending Composite  Goal: Simple Link Widget that supports Image and Text  Features  Looks and behaves like a real link  Listener for handling selection  Keyboard Accessibility

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Custom Owner Drawn Inbox  New JFace-API in Eclipse 3.4: SimpleStyledCellLabelProvider  Use it to have mixed styles per Table- or Treeitem  Hides complexity of custom owner drawn  Mixed fonts not yet supported  We want to draw the number of unread Mails  Using a different Color  We want to highlight Folders  Using an Underline

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Rich Tooltips using JFace  JFace makes it easy to add rich tooltips to Viewers  CellLabelProvider provides API to define the custom Tooltip  Text and Image  Foreground and Background color  We want to preview a Mail by using a rich tooltip:

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Custom Mail Presentation: Large and In Charge  Presentations allow to make our RCP app not look like Eclipse  Eclipse offers extension points to add our own Presentation  org.eclipse.ui.presentationFactories  org.eclipse.ui.themes  Goal for our Presentation  Large Round Tabs  Close Button will be a red Arc  Foundation for our Product Transformation with large Icons

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved.

Product Transforms  Presentations allow for extreme customization  but some things are beyond their reach  Themes can allow for an additional axis of customization  but they don't cover images  Time to break out the chainsaw and apply some product transforms  Remove/modify extensions from plugins outside of your control  Swap in new icon sets  Help available:

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Our Mail Transformation in a Nutshell  We register a framework extension that OSGI loads on startup  org.eclipse.equinox.transforms.hook  We register a Service for the transformation with some properties  Use the ReplaceTransformer  Use transform.csv for the replacement  We ensure early startup using a custom config.ini for  org.mailtemplate.transform  org.eclipse.equinox.transforms.replace

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Custom Splash Screen  Using the org.eclipse.ui.splashHandlers Extension Point  Getting full control of the Shell that is used for the Splash on startup  Let’s have a look at the available templates  Adding product images  Simulated session log-in  Embedded Browser (?)

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Pointers & References  Eclipse Corner Articles:  Eclipse Wiki:  Eclipse SWT  Snippets:  Examples:  Community:  The Nebula Project 

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Thanks for listening and attending!

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Legal Notices (1/2)  Copyright © IBM Corp., All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.  IBM and the IBM logo are trademarks or registered trademarks of IBM Corporation, in the United States, other countries or both.  Java and all Java-based marks, among others, are trademarks or registered trademarks of Sun Microsystems in the United States, other countries or both.  OSGi is a trademark or registered trademark of the OSGi Alliance in the United States and other countries.  Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc.  Other company, product and service names may be trademarks or service marks of others.

Plastic Surgery For Eclipse: Custom SWT Widgets, RCP Customization, And More | Copyright © IBM Corp., All rights reserved. Legal Notices (2/2)  THE INFORMATION DISCUSSED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION, IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, AND IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, SUCH INFORMATION. ANY INFORMATION CONCERNING IBM'S PRODUCT PLANS OR STRATEGY IS SUBJECT TO CHANGE BY IBM WITHOUT NOTICE.