URL | Description |
---|---|
A Gentle Intro to SWT and JFace | |
Actions vs. Commands | What are differences between Actions and Commands in the context of Eclipse RCP? I know that they both contribute to the menu entries, but which one is better? And why? |
Adding Custom Checkboxes to JFace TreeViewer | |
Convert Between SWT Image and AWT BufferedImage (code snip) | |
Converting Swing BufferedImage to SWT ImageData (code snip) | |
Copy/Paste image to/from Clipboard | |
Drag and Drop in SWT | Drag and drop provides a quick and easy mechanism for users to re-order and transfer data within an application and between applications. This article is an overview of how to implement Drag and Drop and Clipboard data transfers within an SWT application. |
Eclipse JFace Docs | |
Eclipse SWT Docs | |
Eclipse Workbench menus | |
How to use the JFace Tree | |
JFace | JFace is a UI toolkit with classes for handling many common UI programming tasks. JFace is window-system-independent in both its API and implementation, and is designed to work with SWT without hiding it. JFace includes the usual UI toolkit components of image and font registries, text, dialog, preference and wizard frameworks, and progress reporting for long running operations. Two of its more interesting features are actions and viewers. The action mechanism allows user commands to be defined independently from their exact whereabouts in the UI. Viewers are model based adapters for certain SWT widgets, simplifying the presentation of application data structured as lists, tables or trees. |
JFace Dialogs - Which one is right for you? | JFace framework of Eclipse provides many standard and useful dialogs and a framework to build custom dialogs and wizards. When the standard dialogs seems to be too simple for your plugin or RCP developement, one can extend the standard dialogs to suite their own needs. The aim of this article is to provide example oriented approach to dialogs and see in depth of all frequently used dialogs. I am hoping to have this article as the point of reference for many developers to get Dialogs overview. |
JFace Snippets | Lots of code examples. |
JFace Table Tutorial | Tutorial is based on Eclipse 4.3 |
JFace Table Tutorial - Advanced | Tutorial is based on Eclipse 4.3 |
Nebula NatTable | NatTable is a powerful and flexible SWT table/grid widget that is built to handle very large data sets, real-time updates, dynamic styling, and more. |
Plugin Your Images | |
SWT - Graphics Context - Quick on the Draw | |
SWT - How to Capture Keyboard Event | |
SWT Clipboard Example | |
SWT Designer Layout Managers | |
SWT FAQ | |
SWT Font Dialog Example | |
SWT Font Metrics | |
SWT JFace Mouse Listeners | |
SWT Snippets | |
SWT Widgets | Screenshots of Widgets |
SWT: The Standard Widget Toolkit | SWT is an open source widget toolkit for Java designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented. |
ScrolledComposite | Shows how to add scroll bars to a ViewPart or Composite. |
Swing-SWT integration | Swing and SWT are sometimes seen as strictly competing technologies. Some people have strong opinions on which UI toolkit to use exclusively for client applications. However, in the real world, ideological extremes are often impractical. Some valid use cases require both technologies to coexist in a single application. While mixing the two toolkits is not a simple task, it can be done, and it can be done such that the two toolkits are smoothly integrated. This article discusses the steps necessary to achieve good Swing/SWT integration. It focuses on the use case of embedding existing Swing components into an SWT-based Rich Client Platform application. |
Taking a look at SWT Images | SWT's Image class can be used to display images in a GUI. The most common source of images is to load from a standard file format such as GIF, JPEG, PNG, or BMP. Some controls, including Buttons and TreeItems, are able to display an Image directly through the setImage(Image) method, but any control's paint event allows images to be drawn through the callback's graphic context. SWT's ImageData class represents the raw data making up an SWT Image and determines the color for each pixel coordinate. This article shows the correct uses of ImageData and Image, shows how to load images from files, and how to achieve graphic effects such as transparency, alpha blending, animation, scaling, and custom cursors. |
Understanding Layouts in SWT | |
Using Images in the Eclipse UI | Managing images in a large graphical application can be a daunting task. Since modern operating systems such as Windows® only support a small number of images in memory at once, an application’s icons and background images must be carefully managed and sometimes shared between widgets. This article describes the image management facilities provided by the Eclipse Platform, along with some best practice guidelines to keep in mind when writing your own Eclipse UI plug-ins. We assume the reader already has a basic understanding of Eclipse, the UI extension points defined by the Eclipse Platform, and the Standard Widget Toolkit (SWT). |
Using SWT: A Basic Image Viewer | This article shows how to extend SWT Canvas to implement a mini image viewer plug-in using Java2D transforms. The extended image canvas can be used to scroll and zoom large images, and can also be extended to apply other transforms. The implementation is based on SWT and the non-UI portions of AWT. The plug-in has been tested on Windows, Linux GTK, and Mac OS X Carbon with Eclipse 2.1 or better. |
What is the difference between a command and an action? | |
WindowBuilder for E 4.3 | Develop Java graphical user interfaces in minutes for Swing, SWT, RCP and XWT with WindowBuilder Pro’s WYSIWYG, drag-and-drop interface. Use wizards, editors and intelligent layout assist to automatically generate clean Java code, with the visual design and source always in sync. |