ref 17169: Selection of users in the Sharing panel

https://support.d4science.org/issues/17169

Added support to workspace users discovery by VREs

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@181357 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-07-30 09:16:50 +00:00
parent 9ddfa0d94d
commit 504227ca30
1 changed files with 4 additions and 2 deletions

View File

@ -472,8 +472,10 @@ public class DialogShareFolder extends Dialog {
public void componentSelected(ButtonEvent ce) {
// initSuggestContacts();
suggestPanel.resetItemSelected();
for (InfoContactModel infoContactModel : dialogMultiDrag.getMultiDrag().getTargetListContactWithOwner()) {
if(shareOwner!=null){
suggestPanel.addRecipient(shareOwner, false);
}
for (InfoContactModel infoContactModel : dialogMultiDrag.getMultiDrag().getTargetListContact()) {
suggestPanel.addRecipient(infoContactModel, true);
}
suggestPanel.boxSetFocus();