[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5042) Enhance DnD support in VPE
Yahor Radtsevich (JIRA)
jira-events at lists.jboss.org
Wed Apr 28 05:25:12 EDT 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527866#action_12527866 ]
Yahor Radtsevich commented on JBIDE-5042:
-----------------------------------------
> It is worked in 3.1.0.GA for images at least and I've just verified that.
For me it does not work (see old-dnd-in-tools-3.1.0.swf ). And it should not work according to the source code, where DRAGGESTUREEVENT is just ignored [1].
> Would be good to have a list of "certain problems", wouldn't it? Are they listed somewhere?
Not bad idea. We will create a page in the Wiki for them.
> What about DnD for selected text?
It is not supported now. I have just created a feature request for it: JBIDE-6229 .
> What cases are supported for marking drop location?
There are 4 cases (drop targets) for marking an element:
- at the BEGINNING of the element;
- at the END of the element;
- BEFORE the element;
- AFTER the element.
The method VpeTemplate.canInnerDrop is used to know if a drop target is available. If the element under cursor does not support any of these targets, then its closest ancestor that supports them is marked.
1. http://fisheye.jboss.org/browse/JBossTools/tags/jbosstools-3.1.0.GA/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java?r=20399#l158
> Enhance DnD support in VPE
> --------------------------
>
> Key: JBIDE-5042
> URL: https://jira.jboss.org/jira/browse/JBIDE-5042
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Visual Page Editor core
> Affects Versions: 3.1.0.M3
> Reporter: Yahor Radtsevich
> Assignee: Jiri Peterka
> Fix For: 3.2.next
>
> Attachments: curState_01.png, curState_02_20091207.png, JBIDE-5042-DnD-wink-demo.html, JBIDE-5042-DnD-wink-demo.swf, jbide5042_20091112.patch, jbide5042_20091207.patch, old-dnd-in-tools-3.1.0.swf
>
>
> Now the DnD support in the VPE is a very basic and hard to use. It have to be enhanced.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list