[
https://issues.jboss.org/browse/JBIDE-15499?page=com.atlassian.jira.plugi...
]
Snjezana Peco commented on JBIDE-15499:
---------------------------------------
{quote}
"if some other client adds other operations, DND won't work" ...do you mean
if a third client does it will break or if just we do it ?
{quote}
If the third client does it, our DND can break.
{quote}
could we just override mpc and if mpc is installed delegate to its install mechanism ?
(but this is definitely starting to be a "dirty" hack :/ )
{quote}
I think that isn't possible to do it without patching MPC/Eclipse.
DropTraget can be registered only once on one control.
{code}
target = new DropTarget(Control control, int style)
{code}
If some plugin registers DropTarget, we can't change or remove it.
We can check if a control contains a drop target, add a transfer object(s) and a drop
listener (using the API described in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215388).
However, the MPC plugin (or some other plugin) doesn't check that.
Also, nobody can check if a drop target contains valid operations.
We would be able to use MPC's drop target if it used our drop target. Since that
isn't the case, MPC DND will fail if our drop target is registered before MPC's
target.
Can be fixed within the MPC plugin.
Currently, it isn't possible (without patching Eclipse) to fix the issue that happens
when a drop target is registered with invalid operations. We could ignore it. In the worst
case, our DND would work only in the JBoss Central editor.
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.Beta1
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.integratio...
or
*
http://download.jboss.org/jbosstools/central/install?CID=com.jbds.integra...
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