Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » DRAG AND DROP in Trees
DRAG AND DROP in Trees [message #1745672] Fri, 14 October 2016 09:38 Go to next message
Jim 20100 is currently offline Jim 20100Friend
Messages: 69
Registered: June 2016
Member
Hello,

I am trying to do a drag and drop in my RCP.

It seems the 2 elements are selected correctly in the 2 trees, so I suppose the case is correctly configured:

I used
MOUSE_BUTTON:1
MODIFIER_KEYS: none
DELAYS_BEFORE_DROP: 3000

but there is no drag and drop done? Why?

Re: DRAG AND DROP in Trees [message #1745676 is a reply to message #1745672] Fri, 14 October 2016 11:22 Go to previous messageGo to next message
Elena Pister is currently offline Elena PisterFriend
Messages: 12
Registered: October 2016
Junior Member
Dear Jim,

could you please give me some more information to understand better your issue:

- in the picture it looks like you have a tree-table (RCP-SWT) is this correct
- which unbound modul do you use for the drag and drop
- could you please show us exactly the action you do and all parameters

Regards

Elena
Re: DRAG AND DROP in Trees [message #1745748 is a reply to message #1745676] Mon, 17 October 2016 07:24 Go to previous messageGo to next message
Jim 20100 is currently offline Jim 20100Friend
Messages: 69
Registered: June 2016
Member
Hello,

In the picture I use 2 EMF models. The trees are TreeViewer included in the generated EMF Editor.

I tried 2 unbound modules: ub_tre_dragAndDrop_byTextpath and ub_tre_dragAndDrop_byTextpath_allParams
The 2 modules failed.

Here are the parameters for ub_tre_dragAndDrop_byTextpath_allParams:
MOUSE_BUTTON: 1
MODIFIER_KEYS: none
SOURCE_PATH_TYPE: absolute
SOURCE_PRE_ASCEND: 0
SOURCE_TEXTPATH: =LEVEL
SOURCE_OPERATOR: matches
TARGET_PATH_TYPE: absolute
TARGET_PRE_ASCEND: 0
TARGET_TEXTPATH: =LEVEL_PARENT
TARGET_OPERATOR: matches
DELAY_BEFORE_DROP: 3

So as I said it seems the right tree nodes are correctly selected but there is no real drag and drop as I do manually.

Regards
Re: DRAG AND DROP in Trees [message #1745835 is a reply to message #1745748] Tue, 18 October 2016 07:59 Go to previous message
Elena Pister is currently offline Elena PisterFriend
Messages: 12
Registered: October 2016
Junior Member
Dear Jim,

thanks for the information. May I ask you if the tree is allready expanded when the drag and drop action is performed. If not, could you please first select the nodes, so that the tree is expanded and than performe the drag and drop.

Regards

Elena
Previous Topic:VARIABLE IN VARIABLE NAME
Next Topic:Event Handler result
Goto Forum:
  


Current Time: Sun Nov 18 09:55:12 GMT 2018

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

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

Back to the top