Skip to main content



      Home
Home » Archived » Jubula » DRAG AND DROP in Trees
DRAG AND DROP in Trees [message #1745672] Fri, 14 October 2016 05:38 Go to next message
Eclipse UserFriend
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 07:22 Go to previous messageGo to next message
Eclipse UserFriend
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 03:24 Go to previous messageGo to next message
Eclipse UserFriend
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 03:59 Go to previous message
Eclipse UserFriend
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: Mon Jun 23 12:32:27 EDT 2025

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

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

Back to the top