Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » DnD support?
DnD support? [message #1090803] Tue, 20 August 2013 17:04 Go to next message
Yarden Livnat is currently offline Yarden LivnatFriend
Messages: 8
Registered: August 2013
Junior Member
Does efx support DnD of parts? I noticed there is a bug ticket regarding support for min/max. Does this mean that efx can not currently be used for an rcp with dynamic management of the parts? If so than is such a support planed in the near future?

As a side question, is there a development plan for the next version? Is there a list of missing functionalities?

I've noticed that EMenuService is implemented as PopupMenuService. Are there other such differences between the SWT and FX implementations and is there any documentation about them?

Thanks,

Yarden
Re: DnD support? [message #1090893 is a reply to message #1090803] Tue, 20 August 2013 20:01 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
On 20.08.13 19:04, Yarden Livnat wrote:
> Does efx support DnD of parts? I noticed there is a bug ticket
> regarding support for min/max. Does this mean that efx can not currently
> be used for an rcp with dynamic management of the parts? If so than is

The biggest problem is not the implementation in EAP but that JavaFX
tabs do not allow reordering via DnD so we problem need a hacky solution
for FX2/FX8 - I had planned to contribute this feature upstream but
missed the feature freeze deadline.

https://javafx-jira.kenai.com/browse/RT-31574

> such a support planed in the near future?

We are currently working on a release 0.9.0 which hopefully happens in
the days to come.

>
> As a side question, is there a development plan for the next version? Is

Not yet a we'll make the release and then but together a plan. If you
have wishes file bug reports/feature requests.

> there a list of missing functionalities?

Not a complete one.

OTOH:
- DnD
- Min/Max
- View-Toolbar / Menus are working but would maybe need some love

> I've noticed that EMenuService is implemented as PopupMenuService. Are

The problem is that EMenuService is in a bundle with SWT-Dependencies
there's no good reason for that but because of this we had to invent our
own one.

> there other such differences between the SWT and FX implementations and
> is there any documentation about them?
>

We'll we have special tags which we documented at
http://wiki.eclipse.org/Efxclipse/Runtime/e4 and yet undocumented new
feature to attach lifecycle to things like MPart/MPerspective/MWindow

Documenting things like EMenuService vs PopupMenuService might something
we should add to the above wiki-page feel free to contribute.

Our playground where all possible functionality is implemented is
http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/testcases/org.eclipse.fx.testcases.e4
- it's not a nice app but contains tests for all feature we implement
and will implement in future.

Tom
Re: DnD support? [message #1742001 is a reply to message #1090803] Tue, 20 August 2013 20:01 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
On 20.08.13 19:04, Yarden Livnat wrote:
> Does efx support DnD of parts? I noticed there is a bug ticket
> regarding support for min/max. Does this mean that efx can not currently
> be used for an rcp with dynamic management of the parts? If so than is

The biggest problem is not the implementation in EAP but that JavaFX
tabs do not allow reordering via DnD so we problem need a hacky solution
for FX2/FX8 - I had planned to contribute this feature upstream but
missed the feature freeze deadline.

https://javafx-jira.kenai.com/browse/RT-31574

> such a support planed in the near future?

We are currently working on a release 0.9.0 which hopefully happens in
the days to come.

>
> As a side question, is there a development plan for the next version? Is

Not yet a we'll make the release and then but together a plan. If you
have wishes file bug reports/feature requests.

> there a list of missing functionalities?

Not a complete one.

OTOH:
- DnD
- Min/Max
- View-Toolbar / Menus are working but would maybe need some love

> I've noticed that EMenuService is implemented as PopupMenuService. Are

The problem is that EMenuService is in a bundle with SWT-Dependencies
there's no good reason for that but because of this we had to invent our
own one.

> there other such differences between the SWT and FX implementations and
> is there any documentation about them?
>

We'll we have special tags which we documented at
http://wiki.eclipse.org/Efxclipse/Runtime/e4 and yet undocumented new
feature to attach lifecycle to things like MPart/MPerspective/MWindow

Documenting things like EMenuService vs PopupMenuService might something
we should add to the above wiki-page feel free to contribute.

Our playground where all possible functionality is implemented is
http://git.eclipse.org/c/efxclipse/org.eclipse.efxclipse.git/tree/testcases/org.eclipse.fx.testcases.e4
- it's not a nice app but contains tests for all feature we implement
and will implement in future.

Tom
Re: DnD support? [message #1755537 is a reply to message #1090893] Sun, 05 March 2017 10:27 Go to previous messageGo to next message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
Hi @Thomas Schindi,
Follow up about the DnD. Is docking of parts now supported in e(fx)clipse like it is in e4 swt?
Re: DnD support? [message #1755576 is a reply to message #1755537] Sun, 05 March 2017 22:34 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Yes Docking and detaching is fully supported since 2.5.0 release! Das
Re: DnD support? [message #1755578 is a reply to message #1755576] Mon, 06 March 2017 00:49 Go to previous messageGo to next message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
Really cool!
May I ask how to I activate that feature? I know that for swt e4 app I have to add the DnD addon to the Application.e4xmi.
Re: DnD support? [message #1755581 is a reply to message #1755578] Mon, 06 March 2017 05:36 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Dnd:
bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.DnDAddon

Cleanup:
bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.CleanUpAddon
Re: DnD support? [message #1755590 is a reply to message #1755581] Mon, 06 March 2017 07:05 Go to previous messageGo to next message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
Ok got it, thank you for the quick answers!
Re: DnD support? [message #1755641 is a reply to message #1755581] Mon, 06 March 2017 13:30 Go to previous messageGo to next message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
The rendering is slightly off while dragging, otherwise it's working great.
index.php/fa/28670/0/

I tried adding the MinMaxAddon (bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.MinMaxAddon) but I didn't notice any difference.

Also does the DnDAddon support floating part?
Re: DnD support? [message #1755682 is a reply to message #1755641] Mon, 06 March 2017 19:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Not sure what you mean. If it is the black area around "Another View" this really looks strange. File a ticket at https://github.com/eclipse/efxclipse-rt and describe the problem you see.
Re: DnD support? [message #1755683 is a reply to message #1755682] Mon, 06 March 2017 19:20 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
a) MinMaxAddon should maximize the view when you double click the on the TabItem
b) Detaching works if you run with "-Ddetachdrag.enabled" in your vm-properties => please note that then you are NOT using native DnD anymore but an emulation
Re: DnD support? [message #1755698 is a reply to message #1755683] Mon, 06 March 2017 20:53 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Should be -Ddetachdrag.enabled=true of course
Re: DnD support? [message #1755704 is a reply to message #1755698] Tue, 07 March 2017 04:54 Go to previous messageGo to next message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
Ok I'll file a ticket for it, I tried on Mac (I was using Linux) it doesn't have the rendering problem with the dragged tab, although when I drag and drop a part all the parts disappear (I guess there must me something wrong with the CleanUpAddon).
For min/max I thought it will handle having the minimized views' icons in a side trimbar where it can be clicked to be maximized again.
Re: DnD support? [message #1755742 is a reply to message #1755704] Tue, 07 March 2017 11:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No we don't support the trimbar minification story
Re: DnD support? [message #1755753 is a reply to message #1755742] Tue, 07 March 2017 13:52 Go to previous message
Vivien Jovet is currently offline Vivien JovetFriend
Messages: 11
Registered: February 2017
Junior Member
Ok, it's not very hard to implement anyway.
Previous Topic:ClassLoaderHook
Next Topic:Problems with installing e(fx)clipse to Eclipse Kepler
Goto Forum:
  


Current Time: Fri Apr 19 03:56:51 GMT 2024

Powered by FUDForum. Page generated in 0.03178 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top