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: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@181353 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-07-29 17:11:31 +00:00
parent 274248bc9b
commit 9f057b31fe
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ public class DialogMultiDragContactAdmin extends Dialog {
private static final int HEIGHT_DIALOG = 542;
private static final int WIDTH_DIALOG = 620;
private String txtHelp = "Drag one or more contacts from the left (All Contacts) to the right (Share with) to add users in your sharing list.";
private String txtHelp = "Select a VRE and after drag one or more contacts from the left (All Contacts) to the right (Administrators) to add users in the administrators list.";
private String titleHelp = "Group dragging action";
// private boolean hideOnPressOkButton=false;

View File

@ -68,7 +68,7 @@ public class PanelMultiDragContactAdmin extends ContentPanel {
private HashMap<UserVRE, List<InfoContactModel>> contactsMap;
//
private static final String ALL_CONTACTS = "All Contacts";
private static final String SHARE_WITH = "Share with...";
private static final String ADMINISTRATORS = "Administrators";
//
//private static final String LOADINGSTYLE = "x-mask-loading";
@ -331,7 +331,7 @@ public class PanelMultiDragContactAdmin extends ContentPanel {
final VerticalPanel vpShareWith = new VerticalPanel();
vpShareWith.setHorizontalAlign(HorizontalAlignment.CENTER);
labelShareWith = new Label(SHARE_WITH);
labelShareWith = new Label(ADMINISTRATORS);
vpShareWith.add(labelShareWith);
gridShareWith = new Grid<InfoContactModel>(storeTarget, createColumnModel());
@ -666,7 +666,7 @@ public class PanelMultiDragContactAdmin extends ContentPanel {
public void setRightListContactsTitle(String rightListContactsTitle) {
if (rightListContactsTitle == null)
labelShareWith.setText(SHARE_WITH);
labelShareWith.setText(ADMINISTRATORS);
else
labelShareWith.setText(rightListContactsTitle);
}