Nebula project is an aggregator where different Eclipse projects and independent contributors collaborate on building Custom SWT widgets and reusable UI-Components useable in UI-Applications built using SWT, JFace and RAP.

main references:

Get the Code and Setup Git

Git clone URI

Git push URI

See

Import Projects

see: https://wiki.eclipse.org/Nebula/New_Contributions#Import_Projects

Any E4 Application is based on the application model, which is generated starting from an EMF Model.

This model is available in the project org.eclipse.e4.ui.model.workbench, hosted in the eclipse.platform.ui repository.

Open model>UIElements.ecore to see the EMF Model

The basic elements, like Part, CompositePart, InputPart, etc.. are defined under the basic package-node

If you open the UIElements.genmodel, you’ll see the actual genmodel for the Elements

You can generate the model starting from the EMF Metamodel.

After the generation, the generated classes and interfaces will be visible under the src folder.

As example, the interface MPart is under org.eclipse.ui.model.application.ui.basic, and the implementation PartImpl, is in the package org.eclipse.ui.model.application.ui.basic.impl

 

See also

 

 

references:

 

 

ref:

POJO: simple java object with getters and setters

Bean: (spec.) like above, with empty constructor and event mechanism. In this case is:

 

Complex databinding example

Using window builder

StringDateToLongDateConverter it converts the value

StringDateValidator

LongDateToStringDateConverter

LongDateValidator

reference

prepare dev environment: java 7 or 8 + javafx libs.

JavaFX not visible to OSGi classpath: According reference some check is required to ensure a proper JVM is installed and JavaFx library is accessible

install e(fx)clipse JavaFX-PDE_Integration and additional features, from Kepler, Luna, Mars Nightly or Mars Milestones update sites.

Install CDO Version Management Tool from the CDO integration update site.

Install the Maven Integration (m2e) to run GEF/GEF4 builds

Get source code with EGit, using the ssh:// protocol for committers and the git:// protocol for contributors. As example, for contributors it will be:

  • gef: git://git.eclipse.org/gitroot/gef/org.eclipse.gef.git
  • gef4: git://git.eclipse.org/gitroot/gef/org.eclipse.gef4.git

After cloning from remote repositories to local, checkout the projects

Since BIRT charting is complex, here are some tips to understand this better.

Source code for BIRT examples

The most effective way to develop applications using BIRT charting API is to get the source code for org.eclipse.birt.chart.examples on your workspace; run the chart examples and then write your own code.

To do this:

  1. Get the clone url for the project, ie https://github.com/eclipse/birt.git
  2. clone the project to local repository, ie: C:\Users\me\git\birt
  3. import the project org.eclipse.chart.examples from git local repo to workspace
  4. search for main() methods to run available examples

As example, the SwingChartVieverSelector class runs the application to display the following chart

 

Read FAQs

First of all: read BIRT Charts 2.2 faqs

To Generate a chart