1259: Enhancement to workspace item history

Task-Url: https://support.d4science.org/issues/1259

Updated history according to ticket

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@120259 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-11-10 14:49:00 +00:00
parent 54ddccb427
commit 48768f9749
3 changed files with 40 additions and 15 deletions

View File

@ -8,9 +8,6 @@
<dependent-module archiveName="workspace-tree-widget-6.10.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-TRUNK/workspace-tree-widget-TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="workspace-uploader-1.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-uploader-1.0.0-SNAPSHOT-TRUNK/workspace-uploader-1.0.0-SNAPSHOT-TRUNK">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
<property name="context-root" value="workspace"/>

View File

@ -1,12 +1,19 @@
<ReleaseNotes>
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-10-0"
date="2015-10-30">
<Change></Change>
</Changeset>
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-9-0"
date="2015-10-30">
<Change>[Bug #718] Fixed breadcrumb path</Change>
<Change>[Bug #546] Fixed bug</Change>
<Change>[Bug #531] Fixed issue on create folder</Change>
<Change>[Feature #429] Realized. Integrated with workspace-uploader</Change>
<Change>[Bug #1270] Fixed. Workspace improvements: many rpc calls after an delete multiple</Change>
<Change>[Feature #1280] Workspace GUI: quote and available feature improvements</Change>
<Change>[Feature #429] Realized. Integrated with workspace-uploader
</Change>
<Change>[Bug #1270] Fixed. Workspace improvements: many rpc calls
after an delete multiple</Change>
<Change>[Feature #1280] Workspace GUI: quote and available feature
improvements</Change>
</Changeset>
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-8-0"
date="2015-07-06">

View File

@ -19,10 +19,11 @@ import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.google.gwt.user.client.Random;
/**
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* The Class GxtBorderLayoutPanel.
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Nov 10, 2015
*/
public class GxtBorderLayoutPanel extends ContentPanel {
private ContentPanel north = new ContentPanel();
@ -37,6 +38,15 @@ public class GxtBorderLayoutPanel extends ContentPanel {
private MultipleDNDUpload dnd;
/**
* Instantiates a new gxt border layout panel.
*
* @param searchAndFilterContainer2 the search and filter container2
* @param explorerPanel the explorer panel
* @param gxtCardLayoutResultPanel the gxt card layout result panel
* @param detailsContainer2 the details container2
* @param dnd the dnd
*/
public GxtBorderLayoutPanel(
GxtSeachAndFilterPanel searchAndFilterContainer2,
ExplorerPanel explorerPanel,
@ -53,10 +63,12 @@ public class GxtBorderLayoutPanel extends ContentPanel {
this.createLayouts();
}
/**
* Inits the layout.
*/
private void initLayout(){
north.setId("NorthPanel");
// north.setStyleAttribute("background-color", "#d0def0");
north.setLayout(new FitLayout());
west.setId("WestPanel");
@ -71,17 +83,17 @@ public class GxtBorderLayoutPanel extends ContentPanel {
north.setHeaderVisible(false);
west.setHeaderVisible(false);
south.setHeading(ConstantsPortlet.DETAILS);
south.setHeaderVisible(false);
south.setLayout(new FitLayout());
east.setVisible(false);
// south.setVisible(false);
// this.createLayouts();
}
/**
* Creates the layouts.
*/
private void createLayouts(){
final BorderLayout borderLayout = new BorderLayout();
@ -189,16 +201,25 @@ public class GxtBorderLayoutPanel extends ContentPanel {
// add(south, southData);
}
/**
* Update size card.
*/
private void updateSizeCard(){
gxtCardLayoutResultPanel.setSize(center.getWidth()-2, center.getHeight());
}
/**
* Update size grid.
*/
private void updateSizeGrid(){
gxtCardLayoutResultPanel.getGridGroupViewContainer().refreshSize((center.getWidth()-5)+"px", (center.getHeight()-75)+"px");
}
/**
* Update parent id.
*
* @param parentId the parent id
*/
public void updateParentId(String parentId){
dnd.setParameters(parentId, UPLOAD_TYPE.File);
}