Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Pivot/SWT

FWIW, a port of Pivot's skin classes to SWT would be an opportunity to create a new L&F that is more consistent with the existing cross-platform SWT elements (in other words, we're not married to the current L&F, and plan to update it for Pivot 2.0 anyways).
Greg


On Feb 18, 2010, at 11:50 AM, Greg Brown wrote:

Pivot isn't actually based on Swing, so that project probably wouldn't offer much help. We define our own component hierarchy, and each component has an associated skin that is rendered using AWT's graphics primitives. That's why a port to SWT is feasible.

Basically, what we'd be looking to do is run Pivot on top of SWT rather than Java2D (i.e. draw all of our components using org.eclipse.swt.graphics.GC rather than java.awt.Graphics2D).

G

On Feb 18, 2010, at 11:39 AM, Ivan Ooi wrote:

I think http://swingwt.sourceforge.net/ might able to speed things but the development stop in 2007...

On Fri, Feb 19, 2010 at 12:26 AM, Greg Brown <gkbrown@xxxxxxx> wrote:
Hi Silenio,

I had a quick look at your demos. Nice work!

Thanks!

We would be interested in the port from a diffrent view: it would be a great test for SWT graphics. Please let us know of any issues you may find. The browser integration is indeed very challenging. You might be able to use the SWT_AWT bridge for this.

In the scenario I am envisioning, we would swap out AWT and replace it with SWT for all rendering, thus eliminating any dependency on AWT and making it much easier to build and integrate Pivot applications within the Eclipse framework. This is certainly doable, and I could probably put together a proof of concept with a few components fairly quickly. However, porting all of our component skins to SWT will obviously take longer.

I guess what I am asking is - do you think there would be any interest in the Eclipse community in building Eclipse plugins or RCP apps using Pivot? I recognize that, though they are both UI toolkits, Pivot and SWT have slightly different objectives: SWT focuses on providing a fast, efficient Java binding to the native platform UI, and Pivot defines a cross-platform L&F that is the same across all operating systems and devices. 

This could be viewed as a simple difference in philosophy, or it could be seen as an opportunity to collaborate - these approaches, while distinct, are not mutually exclusive, and may actually complement each other.

What do you think?  :-)

Greg


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top