[jbosstools-issues] [JBoss JIRA] (JBIDE-15499) Support drag'n'drop of links to "connectors" similar to marketplace to central for auto install

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Fri Nov 22 08:18:06 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-15499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926066#comment-12926066 ] 

Snjezana Peco commented on JBIDE-15499:
---------------------------------------

The issue happens because SWT GTK 32-bit defines TransferData.type as int, but SWT GTK 64-bit defines it as long.
Tycho build uses SWT Cocoa 32-bit that defines TransferData.type as int. Because of that, the issue doesn't happen on Linux GTK 32-bit. 
In any of these cases, the issue can't be reproduced when using Eclipse PDE.

The PRs fix the issue using Java reflection.
Dropping a URL from the Chrome to the empty editor area (JBIDE-15838) didn't work either on Linux 32-bit or on Linux 64-bit which is also fixed within these PRs.

The PRs:

https://github.com/jbosstools/jbosstools-central/pull/185 - master
https://github.com/jbosstools/jbosstools-central/pull/187 - jbosstools-4.1.x
https://github.com/jbosstools/jbosstools-central/pull/188 - jbosstools-4.1.1.x

I have tested the following environments:
OS: Windows 64-bit, Linux 32-bit and 64-bit
Browser: Chrome and Firefox on Linux and Windows as well as Internet Explorer on Windows
Area: the JBoss Central editor, empty editor area, Eclipse toolbar/menu/header 

BTW
 When compiling artifacts, tycho uses the SWT plugin from the first environment specified in the resolver plugin (Mac Cocoa 32-bit in our case). In my opinion, it would be good to set Linux GTK 64-bit as the first environment because our builds (at least, the most of them) run on Linux 64-bit.
                
> Support drag'n'drop of links to "connectors" similar to marketplace to central for auto install
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15499
>                 URL: https://issues.jboss.org/browse/JBIDE-15499
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: central
>            Reporter: Max Rydahl Andersen
>            Assignee: Snjezana Peco
>            Priority: Blocker
>             Fix For: 4.1.1.CR1
>
>         Attachments: JBIDE15499-JBDS710beta1b-areas-in-green-and-red.png
>
>
> usecase is that you can have a link to a connector, such as JBDS-IS could be installed by drag'n'drop to jboss tools or jbds.
> Similar to eclipse marketplace for marketplace urls something like:
> * https://devstudio.jboss.com/central/install?connector=com.jbds.integration-stack.bpel,org.eclipse.m2e or 
> * http://download.jboss.org/jbosstools/central/install?CID=com.jbds.integration-stack.bpel,org.eclipse.m2e
> would install the two connectors named "com.jbds.integration-stack.bpel" and "org.eclipse.m2e"
> This would allow drag'n'drop install from html docs.
> Consider also supporting this from any clipboard object (eg., dragged from an Acrobat Reader PDF or Microsoft Office doc). Would need to ensure we do lots of platform testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list