Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JFace"

(Using JFace outside the Eclipse platform)
Line 10: Line 10:
  
 
==Using JFace outside the Eclipse platform==
 
==Using JFace outside the Eclipse platform==
JFace can be used in standalone [[SWT]]+JFace apps, without requiring the Eclipse Runtime or other parts of the Eclipse Platform.  This has been made easier to do in 3.2, with the only prerequisites for JFace being reduced to [[SWT]], the new <strong>org.eclipse.equinox.common</strong> plug-in, and '''org.eclipse.core.commands''' plug-in.
+
JFace can be used in standalone [[SWT]]+JFace apps, without requiring the Eclipse Runtime or other parts of the Eclipse Platform.  This was made easier to do in 3.2, with the only prerequisites for JFace being reduced to [[SWT]], the new <strong>org.eclipse.equinox.common</strong> plug-in, and '''org.eclipse.core.commands''' plug-in.
  
 
For more details, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=49497#c55 Bug 49497].
 
For more details, see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=49497#c55 Bug 49497].
 +
 +
In 3.3 an optional dependency on the  '''org.osgi.framework''' package was added which is defined in the '''org.eclipse.osgi'''. If this plug-in is absent JFace will continue to function but without the benefit of internationalization support for it's images.
  
 
[[Category:Eclipse Project]]
 
[[Category:Eclipse Project]]

Revision as of 14:59, 15 May 2007

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.

New in Eclipse 3.2 is the JFace data binding framework. Data binding allows linking UI elements and models so that users can edit or view the data in the model. The framework makes it easy to connect data sources to widgets such as text fields, combos, tables and trees, for viewing and editing. Using it relieves developers from writing and registering listeners with widgets and model objects.

More information

Using JFace outside the Eclipse platform

JFace can be used in standalone SWT+JFace apps, without requiring the Eclipse Runtime or other parts of the Eclipse Platform. This was made easier to do in 3.2, with the only prerequisites for JFace being reduced to SWT, the new org.eclipse.equinox.common plug-in, and org.eclipse.core.commands plug-in.

For more details, see Bug 49497.

In 3.3 an optional dependency on the org.osgi.framework package was added which is defined in the org.eclipse.osgi. If this plug-in is absent JFace will continue to function but without the benefit of internationalization support for it's images.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.