Skip navigation links
Eclipse Platform
Oxygen (4.7)

Package org.eclipse.jface.resource

Provides support for managing resources such as SWT fonts and images.

See: Description

Package org.eclipse.jface.resource Description

Provides support for managing resources such as SWT fonts and images.

Package Specification

This package contains support for managing resources, including: The JFace resources module is an independent JFace module requiring a basic knowledge of SWT and the JFace property change event mechanism. Familiarity with other JFace modules is not required.

Image descriptors are objects that knows how to create an image on demand. They serve as a lightweight representation of images in situations where no SWT display exists yet, and are used mainly in conjunction with image registries. This package contains the image descriptor framework, which is a simple hierarchy rooted at the abstract class ImageDescriptor. The framework includes abstract subclasses for composing images (CompositeImageDescriptor) as well as a ready-made concrete subclass for loading images from files (FileImageDescriptor).

The class JFaceResources maintains global state on behalf of JFace itself consisting of JFace's own image registry, font registry, resource bundle, and preference store.
 

Skip navigation links
Eclipse Platform
Oxygen (4.7)


Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.