enhancements on "Edit Administrators"
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@100134 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fb62ee2ad0
commit
fc82b9bfce
|
@ -8,7 +8,7 @@
|
||||||
<dependent-module archiveName="workspace-tree-widget-6.6.7-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WorkspaceTree/WorkspaceTree">
|
<dependent-module archiveName="workspace-tree-widget-6.6.7-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WorkspaceTree/WorkspaceTree">
|
||||||
<dependency-type>uses</dependency-type>
|
<dependency-type>uses</dependency-type>
|
||||||
</dependent-module>
|
</dependent-module>
|
||||||
<dependent-module archiveName="workspace-sharing-widget-1.2.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-sharing-widget/workspace-sharing-widget">
|
<dependent-module archiveName="workspace-sharing-widget-1.3.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-sharing-widget/workspace-sharing-widget">
|
||||||
<dependency-type>uses</dependency-type>
|
<dependency-type>uses</dependency-type>
|
||||||
</dependent-module>
|
</dependent-module>
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceACL;
|
||||||
import org.gcube.portlets.user.workspace.shared.WorkspaceACL.USER_TYPE;
|
import org.gcube.portlets.user.workspace.shared.WorkspaceACL.USER_TYPE;
|
||||||
import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
|
import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
|
||||||
|
|
||||||
|
import com.extjs.gxt.ui.client.Style.ButtonScale;
|
||||||
import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
|
import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
|
||||||
import com.extjs.gxt.ui.client.event.BaseEvent;
|
import com.extjs.gxt.ui.client.event.BaseEvent;
|
||||||
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
||||||
|
@ -47,7 +48,7 @@ public class GxtBottomToolBarItem extends ToolBar{
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
protected static final String HISTORY = "History";
|
protected static final String HISTORY = "History";
|
||||||
private static final String ADD_ADMINISTRATOR = "Add Admnistrator/s";
|
private static final String EDIT_ADMINISTRATOR = "Edit Admnistrator/s";
|
||||||
|
|
||||||
private TextField<String> txfName = new TextField<String>();
|
private TextField<String> txfName = new TextField<String>();
|
||||||
private Text txtOwner = new Text("Empty");
|
private Text txtOwner = new Text("Empty");
|
||||||
|
@ -121,8 +122,9 @@ public class GxtBottomToolBarItem extends ToolBar{
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
btnAddAdmin = new Button(ADD_ADMINISTRATOR);
|
btnAddAdmin = new Button(EDIT_ADMINISTRATOR);
|
||||||
btnAddAdmin.setIcon(Resources.getIconAddAdministrator());
|
btnAddAdmin.setIcon(Resources.getIconManageAdministrator());
|
||||||
|
btnAddAdmin.setScale(ButtonScale.MEDIUM);
|
||||||
btnAddAdmin.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
btnAddAdmin.addSelectionListener(new SelectionListener<ButtonEvent>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue