Rob Stryker commented on Enhancement JBIDE-12071

When I attempted this, I was not receiving the dialog when dragging a project into the view. I discovered that this was because only "user-initiated" actions were being passed a proper adaptable to identify the caller, and though dragging onto the server really is user initiated, the adaptable wtp passes in is only for shell, not for string 'user' here.

I've updated our code to also respond to the Shell adaptable, but this is only possible because our openshift core / ui is in the same plugin. Because of this I've also filed a wtp bug as well: https://bugs.eclipse.org/bugs/show_bug.cgi?id=383094

I will attach a patch momentarily.

One other thing this seems to change is that incremental publishes initiated by the user now also "do something", whereas in the past they were simply ignored. I feel this more accurately reflects what the users want, since I imagine they never want to click an icon and have nothing happen.

The attached patch also updates the removed module scenario.

The attached patch does NOT change at all the "add / remove from server" use case, and in fact cannot. Add / remove from server only modifies the list of modules on the server, and does not initiate a publish at ALL. This is 100% by design, for cases where a user may want to add something to the server but not publish it immediately.

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