Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Drag and Drop to reorder Parts does not work
Drag and Drop to reorder Parts does not work [message #1714314] Wed, 11 November 2015 16:50 Go to next message
Kai Pervoelz is currently offline Kai PervoelzFriend
Messages: 14
Registered: August 2015
Junior Member
In my application, the Drag and Drop feature for parts does not work.

I created a sample application with 2 PartStacks and several Parts, similar to this efxclipse Release 1.0 Blog Post:

tomsondev.bestsolution.at/2014/08/09/efxclipse-1-0-new-features-drag-and-drop-for-e4javafx-applications/
(sorry, no link since I have less than 5 posts which restricts me to link only to eclipse.org based pages)

When stating the application I can grab the tabs of the parts and I also get the Feedback/Preview where the part will be dropped (except the split feedback which doesn't show up) but when releasing the mouse button, the part will stay in its old position.

Do I have to add/enable some options to the Parts/PartStacks?

Target Platform is the efxclipse runtime-release 2.0


Regards
Kai
Re: Drag and Drop to reorder Parts does not work [message #1714325 is a reply to message #1714314] Wed, 11 November 2015 18:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

Well you need to add 2 addons:
*
bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.DnDAddon
*
bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.CleanUpAddon

So that you see DnD without those bundles in place is a bug ;-)

Tom

On 11.11.15 17:51, Kai Pervoelz wrote:
> In my application, the Drag and Drop feature for parts does not work.
> I created a sample application with 2 PartStacks and several Parts,
> similar to this efxclipse Release 1.0 Blog Post:
> tomsondev.bestsolution.at/2014/08/09/efxclipse-1-0-new-features-drag-and-drop-for-e4javafx-applications/
> (sorry, no link since I have less than 5 posts which restricts me to
> link only to eclipse.org based pages)
>
> When stating the application I can grab the tabs of the parts and I also
> get the Feedback/Preview where the part will be dropped (except the
> split feedback which doesn't show up) but when releasing the mouse
> button, the part will stay in its old position.
> Do I have to add/enable some options to the Parts/PartStacks?
> Target Platform is the efxclipse runtime-release 2.0
>
>
> Regards Kai
Re: Drag and Drop to reorder Parts does not work [message #1714326 is a reply to message #1714325] Wed, 11 November 2015 19:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Tracked and fixed as https://bugs.eclipse.org/bugs/show_bug.cgi?id=481954

Tom

On 11.11.15 19:49, Tom Schindl wrote:
> Hi,
>
> Well you need to add 2 addons:
> *
> bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.DnDAddon
> *
> bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.CleanUpAddon
>
> So that you see DnD without those bundles in place is a bug ;-)
>
> Tom
>
> On 11.11.15 17:51, Kai Pervoelz wrote:
>> In my application, the Drag and Drop feature for parts does not work.
>> I created a sample application with 2 PartStacks and several Parts,
>> similar to this efxclipse Release 1.0 Blog Post:
>> tomsondev.bestsolution.at/2014/08/09/efxclipse-1-0-new-features-drag-and-drop-for-e4javafx-applications/
>> (sorry, no link since I have less than 5 posts which restricts me to
>> link only to eclipse.org based pages)
>>
>> When stating the application I can grab the tabs of the parts and I also
>> get the Feedback/Preview where the part will be dropped (except the
>> split feedback which doesn't show up) but when releasing the mouse
>> button, the part will stay in its old position.
>> Do I have to add/enable some options to the Parts/PartStacks?
>> Target Platform is the efxclipse runtime-release 2.0
>>
>>
>> Regards Kai
>
Re: Drag and Drop to reorder Parts does not work [message #1714364 is a reply to message #1714326] Thu, 12 November 2015 08:44 Go to previous message
Kai Pervoelz is currently offline Kai PervoelzFriend
Messages: 14
Registered: August 2015
Junior Member
Hey Tom,

adding the addons works perfectly.
Thanks a lot.


Regards Kai
Previous Topic:Update toE(fx)clipse 2.1 fails
Next Topic: minimize/maximize of parts and stacks
Goto Forum:
  


Current Time: Fri Apr 19 13:48:46 GMT 2024

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

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

Back to the top