e4 on JavaFX – Drag and Drop between Stacks (=JavaFX TabPanes)

Developers switching from e4 on SWT over to e4 on JavaFX have been missing the feature to reorder the tabs inside their window.

One of the main targets of 1.0.0 is to close the gap between the SWT and JavaFX implementation so I’ve been working on this feature lately and today I can report about initial progress.

As of now the implementation makes use of reflection to access TabPaneSkin stuff but we are working with upstream JavaFX to get in a proper API like we’ve done already before.

Things not yet implemented:

  • Detatching via DnD
  • Splitting of areas via DnD

This new support will be in the nightlies – if you find issues please attach them to Bug 434228 – [e4] Add support for DnD of Parts

8 thoughts on “e4 on JavaFX – Drag and Drop between Stacks (=JavaFX TabPanes)

  1. cora May 16, 2014 / 12:28 pm

    I finally managed to get it working in my app. The use of caspian stylesheet prevented it from working. It looks very good so far. There are some bugs but i guess you’re already aware of it, since it is work in progress.

    • Tom Schindl May 16, 2014 / 12:32 pm

      Please file bugs for things who don’t work

  2. JojoW May 18, 2014 / 10:37 pm

    Hi Tom, looks amazing! Could you share please the source codes, so we can learn?

  3. Paul Stevens May 19, 2014 / 8:03 am

    Exactly what I was after. Looking forward to seeing this in JavaFX. Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s