Nebula provides reusable SWT-based controls for Java desktop applications, including grids, charts, galleries, formatted input and the Opal widget family. Start with the widget catalogue to choose a component, then its snippet and implementation/test bundles. Nebula builds on SWT's display, native platform and resource lifecycle; it does not replace those contracts.
Widget map · Concepts · Quickstart · Android and iOS preview · Example · Development guide
The current mobile consumer is the
RoundedCheckbox application,
using the original Nebula RoundedCheckbox with SWT's own mobile Display,
Shell, Canvas, Scale, ProgressBar, List, native-editor Text and Combo
owners.
The shared Java UI and SWT event loop are reused by its Android and iOS
entrypoints.
- Android build and native test guide: build the current SWT Android JAR, then the Gradle application and instrumentation APKs. Android 15 / API 35 is the current minimum.
- Shared application source: ordinary SWT controls and original Nebula widget interaction.
- iOS entrypoint and SWT Apple build/runtime requirements: an actual iOS Java runtime and application link are still required.
Use the SWT revision selected by the mobile acceptance workflow. The application now requires the original SWT List, Text and Combo implementation; the initial mobile backend alone is insufficient. APK assembly, Java/native compilation and actual device execution are distinct gates. This bounded preview does not qualify the full Nebula Grid, XViewer or complete widget catalogue, full IME/accessibility parity, or an iOS application runtime.
| Goal | Start here |
|---|---|
| Choose an existing control | Widget catalogue |
| Explore widget implementations | widgets/ and Opal |
| Reproduce a Grid interaction | Grid snippets |
| Change Grid behavior | Grid bundle and Grid tests |
| Understand build membership/targets | Parent reactor |
| Understand fork qualification/tooling | Development guide and M3 guide |
- Widget / viewer: a control exposes interaction and state; a JFace-style viewer adapts application model elements and labels onto it.
- Grid item / column: hierarchical row data and column presentation. Tree structure, selection and screen position are distinct concepts.
- Bundle / feature / p2 site: implementation unit, installable grouping and published update repository.
- Incubating widget: an explicitly marked component whose API may change between releases; consult the catalogue and release metadata before adoption.
- Snippet / regression test: a small demonstration versus an automated assertion. A working example does not establish every widget contract.
- Receiver binding: an exact SWT source/artifact identity used by the fork's qualification lane; a stock or moving SWT build is not equivalent evidence.
This is the downstream hsoliwal fork of Eclipse Nebula.
The release contract for this optimized fork is a backward-compatible superset of upstream Eclipse Nebula: upstream APIs and supported behavior remain the preserved subset. Existing applications must continue to compile and run with their widget identity, event ordering, selection, accessibility, resource ownership and platform contracts intact. Additive capabilities and internal optimizations must preserve both that upstream subset and previously admitted fork behavior. Qualify the exact source and native revisions before claiming a release satisfies this contract.
The checkout contains ordinary widgets, fork-specific Grid/state work, recipe tooling, and a bound SWT/Grid screen-validation workflow. Those are inspectable implementations and configured checks, not a blanket claim of accepted optimization, passing native tests or measured resource budgets. Keep the normal Tycho build, tooling qualification and native/pixel/resource gates separate. Original widget licenses and notices remain authoritative.
The inspected parent POM sets Java 21, and the Maven workflow uses Temurin 21 and Maven 3.9.11. Prepare network access for Maven/p2 targets and an SWT/native display environment. Linux CI uses GTK and Xvfb.
git clone https://github.com/hsoliwal/nebula.git
cd nebula
git rev-parse HEAD
java -version
mvn -version
mvn -V -B clean verify -Dtycho.localArtifacts=ignoreThis is the ordinary widget build entry point. Reproducing the current Grid qualification lane additionally requires the workflow's pinned SWT checkout, native build, receiver p2 preparation, target override and screenshot validator. The short command does not perform or certify all of those stages.
# Normal widget verification on a provisioned Linux/Xvfb host.
xvfb-run -a mvn -V -B clean verify -Dtycho.localArtifacts=ignore
# Find the minimal hierarchical Grid demonstration.
git grep -n 'class GridSnippet1' -- examples
# Inspect reports after the actual selected reactor has run.
find . -path '*/target/surefire-reports/*.xml' -print- Unresolved bundle: record the target and repository; do not silently replace exact receiver artifacts with an arbitrary local build.
- UI harness failure: inspect native GTK/display setup before widget logic.
- Missing images: a completed artifact upload is not proof of valid screenshots.
- Visual change: use the existing automated capture, pixel and resource gates; missing, blank or stale frames are not a pass.
Build a hierarchical Grid from the existing minimal snippet. Open GridSnippet1.java in the configured PDE workspace.
- The snippet creates a display, a shell with
FillLayoutand a scrolling Grid. - It creates a visible header and a column with
setTree(true), selecting where the hierarchy is presented. - Follow each
GridItemconstructor's parent to distinguish root and child rows. - Run the snippet and exercise expansion, collapse, scroll and close. When investigating a bug, record both model/selection state and displayed pixels.
- Put an automated regression in the Grid test bundle. A reproduction snippet alone does not establish native resource or cross-platform coverage.
These are source-derived instructions; this homepage update ran no build or UI tests. Continue with the development guide, widget catalogue, M3 scope and contributor requirements. The original project download links, fork notes and licensing text follow.
Source tour checked at
170cb3e9d64c. Commands describe that revision; recheck build configuration when changing revisions. Build/UI/performance verification was not run for this README update.
Rich widgets expose the cost of repeated layout, search, rendering and retained state.
Note
This is an experimental downstream fork of the upstream Eclipse Nebula project. M3 String, regex, precompute and collection integration are engineering directions, not verified deployment, performance, compatibility or upstream-endorsement claims. Preserve original licensing, copyright, API behavior and native/UI contracts.
| Surface | What to investigate | Non-negotiable contract |
|---|---|---|
| Rich widgets | Baseline large-table, grid, chart and complex-widget interactions | SWT widget API and rendering behavior |
| Repeated text and search | Investigate reuse candidates in filtering, labels and model lookups | Ordering, Unicode and model semantics |
| Lifecycle stress | Measure allocation and retained UI resources across create/dispose cycles | No widget/resource leaks and stable interaction |
Approach: inventory first; copy/derive only with license and provenance; qualify reusable recipes in Synexia; port into the appropriate runtime/product owner; then test with representative desktop projects and publish CPU, allocation, retained-memory, startup and responsiveness numbers, including regressions. No Synexia runtime dependency.
Java, JNI, SWT, workbenches, widgets, real code: open the repositories. Bring a failing case, a performance counterexample, a profiler trace or a better algorithm. Challenge the design on the merits of source, tests and evidence—not slogans or a résumé.
Explore the family: M3JDK21 · SWT · Eclipse Platform · Platform UI · Nebula · GEF Classic.
Contribute here: issues · pull requests · M3 compatibility and benchmark contract.
The remainder of this README retains the existing M3 fork notes and the original upstream Eclipse Nebula documentation. Nothing in this introduction rebrands upstream work as M3-authored code.
M3 is based on the idea that shared immutable structure and indexed metadata can provide a basis for reusable computation. The programme starts with M3 String, regex, and precompute in M3JDK21, then collections and SWT/Eclipse integration.
This Nebula fork is a target for exploring qualified runtime and collection improvements in rich SWT widgets and representative desktop workloads.
Explore the idea: M3 technical design paper · Programme goals and roadmap. The paper explains the proposed architecture, cost tradeoffs, and evaluation plan. Readers are invited to examine the work and contribute representative workloads.
This section describes the direction of the hsoliwal fork. Upstream documentation follows below; upstream authorship, licenses, and project identity remain intact.
Welcome to the Eclipse Nebula project.
This repository contains a large set of UI elements that can be used in applications based on Java and SWT. See Nebula Widgets for information about the available widgets.
Downloads are available at the following location:
These sites provide both mature, stable widgets as well as incubating widgets; the latter are clearly marked as incubating and may break API from release to release.
Refer to the general document for details about the update site structure.
We can accept your patches if you have properly set up an account.
For every patch we require a corresponding GitHub issue. See the recommended workflow for guidelines.
Please use the following automated setup to configure a development environment pull requests:
After admin approval, pull requests get built by this job:
git clone https://github.com/EclipseNebula/nebula.git
cd nebula
mvn verify
More info can be found on Nebula's Build Server.
Before you decide to contribute your code to Eclipse, keep in mind that your code must follow the EPL, Eclipse's Public License.
This means that committers and contributors need to follow some rules.
A good overview of what this entails and how this affects you can be read here
There are a number of ways you can contribute.
- A new project inside Nebula.
- New widgets in the Nebula project.
- Maintain existing widgets.
If you choose any of these options, just open an issue.
If you want to contribute a widget, just open an issue and state your intention. We will then guide you through the process.
Nebula product source remains governed by the Eclipse Public License 2.0 and its existing file-level notices. Independently authored, separable M3/Synexia tooling, receipts and documentation are Apache-2.0 only where explicitly marked. See M3-SYNEXIA-NOTICE.md, M3-SYNEXIA-AUTHORS.md, and LICENSE-M3-APACHE-2.0.txt.
These additions do not relicense Eclipse/Nebula product code, OpenJDK, OpenRewrite or donor material. Their original licenses and attribution remain authoritative.
See the development guide for source layout, reproducible build and test lanes, fork-specific boundaries and review handover.
See the source reference for the complete pinned project/module and Java-namespace inventory, selected API lifecycle guides, examples/test links, and an explicit semantic-coverage ledger. Inventory accounting is complete for the listed manifests and checked-in Java declarations; exhaustive package/API review and build/native verification remain open.